Ask Your Question

Revision history [back]

build errors when building opencv_contrib from source code

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