Long time no see. ^_^
Video Card: AMD 6870
I'm trying to play OpenCL with OpenCV 2.4.5. I defaultly installed AMDAPP under /opt/AMDAPP
And while I do a out-of-folder build for OpenCV, I set
I tried to let
My question is: what is OpenCL_DIR if I use a AMD video card and related packages, instead of a NVidia one? Besides AMDAPP, is there anything else that I need to install for OpenCL?
Best Regards Pei
OpenCL_DIR appear in opencv-2.4.5/<directory_of_cmake>/CMakeCache.txt I modified the file opencv-2.4.5/cmake/OpenCVDetectOpenCL.make at line 7 by removing the optional QUIET. An now I have the message:
CMake Warning at cmake/OpenCVDetectOpenCL.cmake:7 (find_package): By not providing "FindOpenCL.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "OpenCL", but CMake did not find one. Could not find a package configuration file provided by "OpenCL" with any of the following names: OpenCLConfig.cmake opencl-config.cmake Add the installation prefix of "OpenCL" to CMAKE_PREFIX_PATH or set "OpenCL_DIR" to a directory containing one of the above files. If "OpenCL" provides a separate development package or SDK, be sure it has been installed.
There no package for OpenCL of AMD. The OpenCL_DIR variable is not used for OpenCV with AMD OpenCL.
As against the required variable AMDAPPSDKROOT
Add at /etc/environement
disconnect and reconnect your user and delete old cmake compilation with make clean
let me know
Asked: 2013-04-15 03:54:51 -0600
Seen: 975 times
Last updated: Apr 27 '13