Home » U++ Library support » U++ Library : Other (not classified elsewhere) » GLCtrl problem in Linux after switching to GTK backend
GLCtrl problem in Linux after switching to GTK backend [message #42166] |
Tue, 25 February 2014 16:05 |
Tom1
Messages: 1301 Registered: March 2007
|
Ultimate Contributor |
|
|
Hi,
Compiling and linking GLCtrl in Linux after switching to GTK backend does not work anymore.
I had to add two include directories to my GCC4.8 build method in order to compile:
/usr/include/gtkglext-1.0
/usr/lib/gtkglext-1.0/include
Additionally, I had to change the 'when' condition from 'GTK' to '(LINUX | BSD) & !NOGTK & GUI' for library dependencies for GLCtrl:
gdkglext-x11-1.0 gtkglext-x11-1.0
These were required for compiling + linking reference/GLDrawDemo or reference/OpenGL. However, the resulting executables do not work properly. A PANIC: Invalid memory access! is generated for GLDrawDemo and OpenGL simply draws trash in its window.
With X11 flag added, everything appears to work as it used to before.
Best regards,
Tom
|
|
|
Goto Forum:
Current Time: Fri Apr 25 17:49:56 CEST 2025
Total time taken to generate the page: 0.01015 seconds
|