Forum Replies Created
-
AuthorPosts
-
gomoreParticipant
Problem solved.
It still gives me the LibEGL warning but now works. It was a little code problem. Next step would be to try to do a video streaming from an IP camera.
Thank nyou so mutch for your help.
gomoreParticipantHello again.
The only error I have in the console output is this warning:
“libEGL warning: DRI2: failed to authenticate”
I can´t fix it. I´m reading trough the net that can be a raspberry incompatibillity with OpenGL_ES??
gomoreParticipantHi.
First thanks for your answer. I tried to run the project on the Linux machine(Raspberry with raspbian), and it opens a QMessageBox propperly and then opens two OpenCV windows but all in grey, neither source image not contour image are shown in the windows. It happens the same running it on the linux machine or on Windows with XMing.
So I tried to create a simple OpenGL project, and it runs well in both XMing under windows and in the local linux machine. So, it seems that something is missing in the project? Any library or something? I have to add OpenGL libraries somewhat in the project? Or are included with the Qt or OpenCV libraries?
gomoreParticipantFinally it worked!! Thank you so mutch. But I have had to add the full paths of the libraries needed in the additional linker inputs gap, as I was cross-compiling for an embedded linux toolchain.
Again thank you so much.
gomoreParticipantThank you for the answer but I´m trying to follow this steps but still is not working. I´ll explain better what I do, so maybe you can understand me much better.
I have a “Hellow World” OpenCV project working based in one of your tutorials based in CMake. Lets think that I only need highgui.hpp, highgui.h and imgproc.hpp header files for my new Qt based project.This files are included in …/include/opencv2/highgui and …/include/opencv2/imgproc paths.
Now I create the Qt project and open the VisualGDB Project Properties. And here is where I have my doubts. I add the two paths of the include directories in the “Include directories” gap. And then I add the three files names in the “Library names” gap. But when I press Apply, I get this error from VisualGDB:
Tool arguments: -Wl,–start-group “…….\Local\Temp\/VisualGDB_ToolchainTestProgram.o” -o “………..\Local\Temp\/VisualGDB_ToolchainTestProgram” -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -IC:/sysgcc/raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/qt5/mkspecs/arm-linux-gnueabihf -I. -I=/usr/local/include/opencv2/highgui -I=/usr/local/include/opencv2/imgproc -I=/usr/share/OpenCV -IC:/sysgcc/raspberry/arm-linux-gnueabihf/sysroot/usr/include/arm-linux-gnueabihf/qt5 -IC:/sysgcc/raspberry/arm-linux-gnueabihf/sysroot/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -IC:/sysgcc/raspberry/arm-linux-gnueabihf/sysroot/usr/include/arm-linux-gnueabihf/qt5/QtGui -IC:/sysgcc/raspberry/arm-linux-gnueabihf/sysroot/usr/include/arm-linux-gnueabihf/qt5/QtCore -IDebug -IDebug -lhighgui.hpp -lhighgui.h -limgproc.hpp -Lc:/sysgcc/raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf -lQt5Widgets -lQt5Gui -lQt5Core -lGLESv2 -lpthread -pipe -Wno-psabi -ggdb -g -Wall -W -D_REENTRANT -fPIE -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -pipe -Wno-psabi -ggdb -g -Wall -W -D_REENTRANT -fPIE -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -Wl,–end-group
c:/sysgcc/raspberry/bin/../lib/gcc/arm-linux-gnueabihf/4.9/../../../../arm-linux-gnueabihf/bin/ld.exe: cannot find -lhighgui.hpp
c:/sysgcc/raspberry/bin/../lib/gcc/arm-linux-gnueabihf/4.9/../../../../arm-linux-gnueabihf/bin/ld.exe: cannot find -lhighgui.h
c:/sysgcc/raspberry/bin/../lib/gcc/arm-linux-gnueabihf/4.9/../../../../arm-linux-gnueabihf/bin/ld.exe: cannot find -limgproc.hpp
collect2.exe: error: ld returned 1 exit statusAny suggestions??? Thank you in advance.
-
AuthorPosts