Compiling errors
Re: Compiling errors
Yes they are overlapping, but this is how it should be since the panel will cover the entire size of the screen..I noticed that with the wxPanel the buttons could overlap the panel without the blinking effect..is it possible to obtains something similar?
Re: Compiling errors
That's more or less coincidence.I noticed that with the wxPanel the buttons could overlap the panel without the blinking effect
With the OpenGL window, very unlikely. You could try to make the buttons children of the OpenGL window and place them completely inside it. But it's unlikely that will work.is it possible to obtains something similar?
Use the source, Luke!
Re: Compiling errors
I tested the code making the camera run during all the night and it worked: no memory leaking, no increasing slowness, no crash..it is very good!
Enabling the driver I'm occupying 50% of my CPU which is fine to me.
Just one more question: is it possible to change the initial color of the "GLBitmapPanel "? I found that there is a method called "setColour" that takes a wxString as input but I didn't find any example and I don't know what should be written in the string (or even if it is the correct method to do what I want)
Enabling the driver I'm occupying 50% of my CPU which is fine to me.
Just one more question: is it possible to change the initial color of the "GLBitmapPanel "? I found that there is a method called "setColour" that takes a wxString as input but I didn't find any example and I don't know what should be written in the string (or even if it is the correct method to do what I want)
Re: Compiling errors
Use wxWindow::SetBackgroundColor()is it possible to change the initial color of the "GLBitmapPanel "?
http://docs.wxwidgets.org/trunk/classwx ... d83b25d8a0
Use the source, Luke!
Re: Compiling errors
Perfect!
-
- Earned some good credits
- Posts: 100
- Joined: Sun Jun 27, 2010 6:18 pm
Re: Compiling errors
Hello,
could anybody advise what library is missing?
Linker flags:
Application linking fails with two errors:
could anybody advise what library is missing?
Code: Select all
sudo apt install freeglut3-dev
Code: Select all
`wx-config --libs std,gl` `pkg-config --libs gtk+-3.0 glu` -lEGL -lGLESv2
pi@raspberrypi:~/src$ make
Linking...
/usr/bin/ld: /usr/local/lib/libwx_gtk3u_gl-3.1.a(gllib_glegl.o): in function `wxGLCanvasEGL::GetDisplay()':
/home/pi/Thermal/wx/gtk-build/../src/unix/glegl.cpp:391: undefined reference to `eglGetPlatformDisplay'
/usr/bin/ld: /usr/local/lib/libwx_gtk3u_gl-3.1.a(gllib_glegl.o): in function `wxGLCanvasEGL::CreateSurface()':
/home/pi/Thermal/wx/gtk-build/../src/unix/glegl.cpp:498: undefined reference to `eglCreatePlatformWindowSurface'
/usr/bin/ld: /home/pi/Thermal/wx/gtk-build/../src/unix/glegl.cpp:464: undefined reference to `eglCreatePlatformWindowSurface'
collect2: error: ld returned 1 exit status