[SDL] cygwin layer and OpenGL
aluaces at udc.es
Thu Nov 27 05:23:16 PST 2008
I think you are out ouf luck here, I also couldn't manage to get a "pure"
Cygwin build in the past. All of the programs compiled with SDL and Cygwin
are using "-mno-cygwin", so you loose the posix layer. Maybe you could tweak
SDL compilation system a bit in order to get it working...
El Jueves 27 Noviembre 2008ES 10:46:30 Resul Cetin escribió:
> My last mail was rejected. So here again:
> I am currently trying to compile some program under windows using cygwin.
> It uses posix functions and uses posix behaviour of functions. So it is not
> possible to compile it without cygwin layer. It also uses SDLs opengl
> initialisations and OpenGL to draw content.
> The problem is that I am not able to compile the program with -lopengl32
> (reports undefined symbols _glEnd). It compiles fine when specifying -lGL,
> but then it is not possible to render something because libGL is used for
> all calls by the program, but SDL used libopeng32 to initialise the
> program. Does anybody know how to get both worlds (cygwin and SDL) together
> in a sane way?
> Resul Cetin
More information about the SDL