GPUOpen-ProfessionalCompute-Libraries / amdovx-core

AMD OpenVX Core -- a sub-module of amdovx-modules:
https://github.com/GPUOpen-ProfessionalCompute-Libraries/amdovx-modules
MIT License
149 stars 53 forks source link

ERROR This build doesn't support CAMERA option #5

Closed xqch1983 closed 8 years ago

xqch1983 commented 8 years ago

when i run runvx.exe in command line, such as : runvx.exe file canny.gdf

results is OK: suing AMD OpenVX 0.9.1 OK enable graph scheduling in separate threads ERROR: This build does't support CAMERA option

can you share where to modify source file or setting to solve this issue?

thanks.

gshisha commented 8 years ago

It looks like the build you have does not have OpenCV included. The runvx->CMakeLists.txt tries to find the OpenCV package on your system, and has the following lines:

if (OpenCV_FOUND) target_compile_definitions(runvx PUBLIC USE_OPENCV=1) include_directories(${OpenCV_INCLUDE_DIRS}) target_link_libraries(runvx ${OpenCV_LIBRARIES}) else(OpenCV_FOUND) target_compile_definitions(runvx PUBLIC USE_OPENCV=0) endif(OpenCV_FOUND)

The OpenCV package is needed for accessing the camera and display.