Unsolved Compile problem for Raspberry Pi 3 with opencv
-
Hi and welcome to devnet,
Are you developing on the RPi3 directly ? Or are you cross-compiling ?
-
I installed Qt and Qtcreator by "apt-get install qt5-default/qtcreator". Qtcreator run successfully without opencv.
-
@SGaist Is it better if I reinstall QT by this guide: https://wiki.qt.io/Raspberry_Pi_Beginners_Guide ?
-
You didn't answer my question: are you developing directly on the RPi3 ?
-
@SGaist Yes =D sr I'm a little bit confused
-
Good then next question, did you build OpenCV yourself ? Or did you install the one from the distribution you have on your Pi ?
-
@SGaist I built OpenCV due to this guide: http://www.pyimagesearch.com/2016/04/18/install-guide-raspberry-pi-3-raspbian-jessie-opencv-3/
-
You are missing
-lopencv_imgcodecs
in your .pro file. -
@SGaist It works, thank you so much. Aw I didnt focus on this mistake.
-
You're welcome !
Since you have it working now, please mark the thread as solved using the "Topic Tools" button so that other forum users may know a solution has been found :)