I use QT creator (QT 5.5.1)+MinGW and OpenCV 2.4.11 binaries I try to link opencv libraries in qt creator by following code:
LIBS += -L$$PWD/../../OpenCV/opencv/build/x86/vc12/bin/ -lopencv_core2411 -lopencv_highgui2411 -lopencv_objdetect2411 -lopencv_imgproc2411
All OK if i use simple C funcitons, like cvLoadImageM("img.jpg"), but when i try to use C++ version of this function imread("img.jpg") i get error that it is undefined.
It seems that there is some linker error, but i don't understand how to fix it... Can you help me ?
↧