build errors when building opencv_contrib from source code

asked 2016-09-27 10:34:30 -0500

xmjdh gravatar image

I download the opencv_contrib source code from the github and try to build it. I use windows 10 + visual studio 2015, My operating system is 64bit, I choose to build the win 32 solution. I also install QT, and choose WITH_QT in the CMake configure (not sure if it is related to the errors).

After I build the solution, I have the errors:

85> test_canny.cpp 91> opencv_test_rgbd_pch.cpp 44>C:\OpenCV-3.1.0\source\opencv_contrib\modules\cvv\src\stfl\stringutils.cpp(255): error C2001: newline in constant 44>C:\OpenCV-3.1.0\source\opencv_contrib\modules\cvv\src\stfl\stringutils.cpp(256): error C2143: syntax error: missing ';' before '}' 44>C:\OpenCV-3.1.0\source\opencv_contrib\modules\cvv\src\stfl\stringutils.cpp(259): error C2001: newline in constant 44>C:\OpenCV-3.1.0\source\opencv_contrib\modules\cvv\src\stfl\stringutils.cpp(260): error C2143: syntax error: missing ';' before '}' 44> image_view.cpp

Any solutions? The whole log files can be seen at https://www.dropbox.com/s/ebsanlhn351...

edit retag flag offensive close merge delete

Comments

you can disable the cvv module with: cmake -DBUILD_opencv_cvv=OFF

berak gravatar imageberak ( 2016-09-27 20:03:41 -0500 )edit