Answer the question
In order to leave comments, you need to log in
How to compile a program under QT 5?
Hello. I'm trying to compile a program on ubuntu 16.04 QT 5.6 with openCV 3.1.0. The compiler outputs the following
/usr/bin/ld: cannot find -lopencv_contrib
/usr/bin/ld: cannot find -lopencv_legacy
/usr/bin/ld: cannot find -lopencv_nonfree
/usr/bin/ld: cannot find -lippicv
# OpenCv Configuration
INCLUDEPATH += /usr/local/include/opencv
LIBS += -L/usr/local/lib
LIBS += -lopencv_core
LIBS += -lopencv_imgproc
LIBS += -lopencv_highgui
LIBS += -lopencv_ml
LIBS += -lopencv_video
LIBS += -lopencv_features2d
LIBS += -lopencv_calib3d
LIBS += -lopencv_objdetect
LIBS += -lopencv_contrib
<b>LIBS += -lopencv_legacy
LIBS += -lopencv_flann
LIBS += -lopencv_nonfree</b>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question