U++ framework
Do not panic. Ask here before giving up.

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: 1319
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
Previous Topic: Curious code in GtkEvent.cpp
Next Topic: SERIOUS: Fatal error: invalid memory access
Goto Forum:
  


Current Time: Tue Jul 14 09:11:13 GMT+2 2026

Total time taken to generate the page: 0.00430 seconds