I’m trying to cross-compile an OpenGL program which uses Glui to a windows machine. I’m using MingW32 to do this. Now I believe I have everything setup to cross compile gl, glu and glut, however glui is failing on me.
So far I’m compiling using a regular makefile which has:
The src rpm is for manually compiling on a Linux machine. What it will do is recreate the Linux specific code so you can compile the program to run under Linux.
What I think you really want is to obtain a zip code version that can be compiled with cygwin (causes linking to windows apl) If done rightly, you should now have the modules needed to compile for that OS.
You need to remember that the windows apl and Linux apl are very different. They have different module names, different pathspecs, different access points and much more.