Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 659
Registered: March 2007
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: Mon Nov 18 02:58:50 CET 2019

Total time taken to generate the page: 0.01712 seconds