[SDL] OpenGL cross-compile mingw32

Jim Tilander jt at dd.chalmers.se
Sat Jun 10 04:05:58 PDT 2000


On Thu, 8 Jun 2000, John Watson wrote:

> Hello,
> 
> I am attempting to cross-compile my SDL application from
> linux.  It seems that the libopengl32.a which comes with
> the cross compiling package does not contain the
> ARB_multitexture extension.  E.g.:
> 
> DungeonScreen.cc:161: undefined reference to `glActiveTextureARB at 4'
> DungeonScreen.cc:161: undefined reference to `glMultiTexCoord2fARB at 12'
> 
> Indeed, 'strings'-ing the libopengl32.a does not reveal any
> multitexture functions.  Does anyone know how I can go
> about creating or obtaining an opengl lib with which I
> can cross compile?  I am a bit confused about what to do.
> 
> Thanks,
> JW
> 
> 

Oh, btw if you really want to use the functions as you've written them
now without any pointer dereferencing, check out 

http://wwwmath.uni-muenster.de/cs/u/kostab/glext.h

I haven't used it myself, but it seems quite good. 

/j

-- 
Jim Tilander




More information about the SDL mailing list