Attention! This forum will be made read-only by Dec-20. Please migrate to https://forum.opencv.org. Most of existing active users should've received invitation by e-mail.
Ask Your Question

Revision history [back]

lsd_lines_extraction.cpp (opencv_contrib)

Hi, i compiled OpenCV and Contrib with examples. ( Windows -Visual Studio 2015 )

when i try to run lsd_lines_extraction.cpp i get "OpenCV was built without features2d module"

i modified line 44 #ifdef HAVE_OPENCV_FEATURES2D -> #if 1 and solved the problem.

the question is why i needed to modify the source ? probably i am doing something wrong in cmake or Visual Studio but maybe someone lead me to find my way.

thank you in advance

lsd_lines_extraction.cpp (opencv_contrib)

Hi, i compiled OpenCV and Contrib with examples. ( Windows -Visual Studio 2015 )

when i try to run lsd_lines_extraction.cpp i get "OpenCV was built without features2d module"

i modified line 44 #ifdef HAVE_OPENCV_FEATURES2D -> #if 1 and solved the problem.

the question is why i needed to modify the source ? probably i am doing something wrong in cmake or Visual Studio but maybe someone lead me to find my way.

thank you in advance