Building FxGen

Hi, I downloaded the new release (FXGen_v0_5a.zip) and can't figure out how to build it (using Ubuntu/Linux).

Regards, qubodup

PS: I only know about you, because of http://forum.freegamedev.net/index.php?t=msg&goto=2887

Alex Trujillo's picture

Agreed

I too would like to be able to use FxGen on my linux install, as I use that primarily.

For the moment, only

For the moment, only fxgenlib and the example can be builded under linux.
I will work on GUILib in order to make it cross-platform and have an editor under others platforms.

How to build

Currently there is no dedicated Makefile, but the CodeBlocks project contains unix targets. 32-bit Gnu CC 3.4 or 4 should compile a working fxgenlib as well as the test program. Current Guilib and Editor are win32-specific and they won't build. There are also some issues with wine (GL issues I think).

BTW. None of the project contains platform-specific #defines, so even a

$c++ -I../../gcccompat *.cpp ../../Examples/BMP\ Extractor/main.cpp -o test

and perhaps

$chmod +x test

issued in Src/FxgenLib directory should lead to a working executable.