Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

cannot use c++ methods of openCV

$
0
0
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 ?

Viewing all articles
Browse latest Browse all 41027

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>