[SDL] Cross compiling SDL and OpenGL apps...

Sam Lantinga slouken at devolution.com
Mon Jul 15 10:46:01 PDT 2002


> I've dl'd and installed the latest cross compile environment (thanks Sam 
> and friends) and have successfully compiled SDL and installed it into 
> the environment without a hitch. Now I wish to compile a little SDL/GL 
> test app based on Lesson 10 that I've hacked to oblivion and built an 
> autoconf environment to ease building. It compiles and plays fine on 
> Linux. However, it fails to see the GL libs and include files when I try 
> to run the cross-configure on it. I notice that the cross-build script 
> installed gl.h and glu.h but didn't see any libs for gl - unless I 
> overlooked them. Is this something I need to do manually so I can use 
> cross-configure.sh to build my SDL/GL apps? I doubt I can cross-compile 
> mesa since it's targetted intrinsically for *nix, so what do I need to do?

Check out test/configure.in in the SDL source archive to see what I did.
Look for "mingw32"

See ya,
	-Sam Lantinga, Software Engineer, Blizzard Entertainment




More information about the SDL mailing list