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 » Community » U++ community news and announcements » GLCtrl in GTK
Re: GLCtrl in GTK [message #50731 is a reply to message #50604] Tue, 11 December 2018 06:09 Go to previous messageGo to previous message
ptkacz is currently offline  ptkacz
Messages: 89
Registered: March 2017
Member
Mirek,

I went and tried each of the demos and got:

reference/OpenGL: Yes
reference/GLDrawDemo: Yes
examples-bazaar/FTGL_Demo: Fail

When I attempt to compile the FTGL_Demo, I'm running into an issue with FreeType. See the attached screen shot.

In the past I've gotten this project to compile and run.

Similarly, in another project, I'm now getting errors like:

In file included from /usr/include/GL/glx.h:30:0,
                 from /home/ptkacz/upp/uppsrc/GLCtrl/GLCtrl.h:25,
                 from /home/ptkacz/project/dev/FractGenOne/ConsoleDialog.h:6,
                 from /home/ptkacz/project/dev/FractGenOne/FractGen.h:8,
                 from /home/ptkacz/project/dev/FractGenOne/main.cpp:1,
                 from /home/ptkacz/upp.out/dev/FractGenOne/GCC.Debug.Debug_Full.Gui.Main.Shared/$blitz.cpp:3:
/usr/include/X11/Xlib.h:199:9: error: reference to 'Font' is ambiguous
         Font font;         /* default text font for text operations */
         ^~~~
In file included from /usr/include/X11/Xlib.h:44:0,
                 from /usr/include/GL/glx.h:30,
                 from /home/ptkacz/upp/uppsrc/GLCtrl/GLCtrl.h:25,
                 from /home/ptkacz/project/dev/FractGenOne/ConsoleDialog.h:6,
                 from /home/ptkacz/project/dev/FractGenOne/FractGen.h:8,
                 from /home/ptkacz/project/dev/FractGenOne/main.cpp:1,
                 from /home/ptkacz/upp.out/dev/FractGenOne/GCC.Debug.Debug_Full.Gui.Main.Shared/$blitz.cpp:3:
/usr/include/X11/X.h:100:13: note: candidates are: typedef XID Font
 typedef XID Font;



Peter
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: plugin/zstd and plugin/zstd_legacy
Next Topic: Dark theme support changes
Goto Forum:
  


Current Time: Sun Jul 06 06:02:42 CEST 2025

Total time taken to generate the page: 0.03183 seconds