Quote:Original post by Cherez
Trying to compile under Linux....I'll give a quick summary of changes I had to make.
hxrender.cpp
Changed gl/gl.h to GL/gl.h and gl/glu.h to GL/glu.h
Include cstdlib
In hxiNextPowerOfTwo the pow(2, i) is ambiguous, and becasue i is an integer I just changed pow(2, i) to 1 << i
hxSDL.cpp:
Changed sdl.h to SDL.h
Included cstring
hxUtility.cpp:
Changed gl/gl.h to GL/gl.h and gl/glu.h to GL/glu.h
Added cstring
hxrender.h:
Removed extra code after #endif ignored but produces a warning on GCC.
Since these are .cpp files I changed the C headers to C++ style (cmath instead of math.h etc.)
I might have forgotten a change though...
I also made a very very basic Makefile and put it in a tarball. If you want it online I'll be glad to send it to you.
It seems like a bunch of people have made ports for this. Everybody who has made a port, or significant changes to the library, email them to me as zipped attachments.
pnpbios at hotmail dot com
I will post them all on my web site, get everything compatable with the zlib license, and make it so we can vote on who want's which port.
I'm glad to see so many people excited about this.
I am going to do some more work on the wiki today, like build a function template and stuff. It looks like this one is also flexable enough to handle tutorials as well as function explinations.