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) » [FIXED] X11 GLCtrl broken again ?
Re: X11 GLCtrl broken again ? [message #28308 is a reply to message #28306] Fri, 27 August 2010 00:14 Go to previous messageGo to previous message
mdelfede is currently offline  mdelfede
Messages: 1307
Registered: September 2007
Ultimate Contributor
A more viable workaround....

in GlCtrl.h :

#ifndef _GLCtrl_GLCtrl_h
#define _GLCtrl_GLCtrl_h

#include <CtrlLib/CtrlLib.h>

#include <GL/gl.h>
#include <GL/glu.h>

NAMESPACE_UPP

#ifdef PLATFORM_X11
	#define GLX_SUN_get_transparent_index   <----- HERE
	#include <GL/glx.h>
#endif


That one drops this part of glext.h :

#ifndef GLX_SUN_get_transparent_index
#define GLX_SUN_get_transparent_index 1
#ifdef GLX_GLXEXT_PROTOTYPES
extern Status glXGetTransparentIndexSUN (Display *, Window, Window, long *);
#endif /* GLX_GLXEXT_PROTOTYPES */
typedef Status ( * PFNGLXGETTRANSPARENTINDEXSUNPROC) (Display *dpy, Window overlay, Window underlay, long *pTransparentIndex);
#endif


I really don't know its purpose, but disabling it made GLCtrl compile again.

Mirek, it's an acceptable solution ? I didn't find a better one by now.

Ciao

Max
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How about vfw.h, alibrary for video application in windows?
Next Topic: Web CGI
Goto Forum:
  


Current Time: Wed May 29 06:08:03 CEST 2024

Total time taken to generate the page: 0.02847 seconds