Re: GLenum type mismatch?
Re: GLenum type mismatch?
- Subject: Re: GLenum type mismatch?
- From: Joey Mukherjee <email@hidden>
- Date: Fri, 23 Sep 2005 09:20:15 -0500
I use Panther, but when I am linking my X application, I use the
-framework OpenGL to link. I think I just use the X11 headers though
when compiling.
On Sep 20, 2005, at 9:54 PM, Jason Bellenger wrote:
I'm porting an X11 (and Motif) app to OS X 10.4.2. I'm getting the
impression that I should include and link the X11 OpenGL headers and
library, in /usr/X11R6/{include,lib} and avoid including or linking
anything from any framework.
I have a handful of link errors concerning missing gl functions,
which I think are being caused by there being several different
definitions for one or more types, such as GLenum.
Is it correct that the X11 GL library is just a front for the one in
System/.../OpenGL.framework?
The framework's gl.h defines GLenum as unsigned long and X11's gl.h
defines it as unsigned int (I think I've got that the right way
around).
Joey
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden