OpenCV 2.4.13 not compiling on Suse Linux 11 SP1 64 bit [closed]
I'm trying to compile, getting the following error.
[ 52%] Generating opencl_kernels.cpp, opencl_kernels.hpp CMake Error at /root/itanyplace/opencv-2.4.13/cmake/cl2cpp.cmake:50 (string): string does not recognize sub-command MD5
make[2]: * [modules/ocl/opencl_kernels.cpp] Error 1 make[1]: [modules/ocl/CMakeFiles/opencv_ocl.dir/all] Error 2 make[1]: Waiting for unfinished jobs.... [ 52%] Built target opencv_ts [ 60%] Built target opencv_legacy make: * [all] Error 2
It is failing to recognize the MD5 command as attached.
Can you please help?
please do not post images of your error messages, but replace it with a text version.
looks like your cmake is outdated
Thank you for the answer. I got past that but I am not able to compile the java module. From the output of cmake looks like I dont have have the java module. " -- OpenCV modules: -- To be built: core flann imgproc highgui features2d calib3d ml video legacy objdetect photo gpu ocl nonfree contrib stitching superres ts videostab"
I checked, I see the following error that seems to be related: "-- Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS) (Required is exact version "2.6")"
I have Python 2.6 installed. I have set the following variables: export PYTHON_LIBRARY=/usr/lib64/python2.6 export PYTHON_INCLUDE=/usr/include/python2.6 Dont understand why am I getting the error and if that is the reason I dont see java module.
for java you need the apache ant tool installed
for python, it needs the python headers & libs (dev-packages) and numpy
OK, thank you! Installing ANT worked. Will let you know how it goes.
i'd actually be happy about a little writeup from you, how you did it, and what exactly worked in the end, this would make a perfect answer here !
OK, here we go.