Showing error while running cmake in ubuntu
I am a beginner in image processing with hadoop? While following the command as specified in the blog [link text](https://techgimmick.wordpress.com/2015/06/24/how-to-use-opencv-with-hadoop-or-hipi-hadoop-image-processing-interface/comment-page-1/#comment-62)
It shows the following error...
hduser@ubuntu:~/build$ cmake -D WITH_TBB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON -D WITH_QT=ON -D WITH_OPENGL=ON -D WITH_VTK=ON ..
CMake Error: The source directory "/home/hduser" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI.
the very last arg (currently
..
) should point to the opencv src diralso, assuming, this is meant to run as a headless java process, i would skip all of
-D BUILD_NEW_PYTHON_SUPPORT=ON -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON -D WITH_QT=ON -D WITH_OPENGL=ON -D WITH_VTK=ON
instead, you should add
-D BUILD_SHARED_LIBS=OFF
to make a statically linked opencv_java.so