Tuesday, September 30, 2014

OpenCV 2.4.8 How_to_scan_images.cpp error

If you enocunter the following error:
make[2]: *** [samples/cpp/CMakeFiles/tutorial_how_to_scan_images.dir/tutorial_code/core/how_to_scan_images/how_to_scan_images.cpp.o] Error 1make[1]: *** [samples/cpp/CMakeFiles/tutorial_how_to_scan_images.dir/all] Error 2
Edit the CMake file and remove the building of examples:
sed -i 's/BUILD_EXAMPLES:BOOL=ON/BUILD_EXAMPLES:BOOL=OFF/g' CMakeCache.txt

No comments:

Post a Comment