[SDL] glSDL on Mac OSX

Stephane Marchesin stephane.marchesin at wanadoo.fr
Thu Sep 29 16:26:41 PDT 2005


Peter Nicolai wrote:
> Hi,
> 
> I downloaded the package here:
> http://icps.u-strasbg.fr/~marchesin/sdl/SDL12-experimental.tgz
> 
> and tried to compile it on a Mac Mini with OSX v.10.4, using
> ./autogen.sh -> ./configure->make, which produced this error output:
> SDL_QuartzGL.m: In function 'QZ_GL_GetAttribute':
> SDL_QuartzGL.m:241: error: 'fmt' undeclared (first use in this function)
> SDL_QuartzGL.m:241: error: (Each undeclared identifier is reported only once
> SDL_QuartzGL.m:241: error: for each function it appears in.)
> SDL_QuartzGL.m:241: error: parse error before 'forVirtualScreen'
> make[3]: *** [SDL_QuartzGL.lo] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1
> 
> I also tried the Xcode project and got the same error.   The
> glsdl-final.patch available from the parent URL is fairly old so it
> doesn't work with the current SDL.  Is there a newer one available
> anywhere, or does someone have a version of glSDL working on OSX they
> could point me to?
> 

Please re-download the package. There was some code that shouldn't have 
been there...

Stephane





More information about the SDL mailing list