In trying to get FIFE built on Win32 via SCons, I think there's some SDK mismatches in the build scripts.
I downloaded these from sourceforge:
FIFE_2008.0_r2109_win32.exe
FIFE_2008.0-r2_win32_SSDK.7z
but get these errors:
scons: Reading SConscript files ...
no custom platform-config found (searched: build\win32-config.py)
FIFE msvc project file succesfully created (E:\Source\FIFE\FIFE_2008.0\build\win32\build_environments\visual_studio_8\fife.vcproj)
FIFE code::blocks project file succesfully created (E:\Source\FIFE\FIFE_2008.0\build\win32\build_environments\code_blocks\fife_engine.cbp)
scons: done reading SConscript files.
scons: Building targets ...
g++ -o engine\core\audio\soundclip.o -c -Wall -O2 -DLOG_ENABLED -DHAVE_ZIP -DHAVE_OPENGL -Ibuild\win32\includes\mingw\libogg
-Ibuild\win32\includes\mingw\openal -Ibuild\win32\includes\mingw\sdl_image -Ibuild\win32\includes\mingw\zlib
-Ibuild\win32\includes\mingw\libguichan -Ibuild\win32\includes\mingw\boost_1_33_1 -Ibuild\win32\includes\mingw\libvorbis
-Ibuild\win32\includes\mingw\sdl_ttf -Ibuild\win32\includes\mingw\sdl -Ibuild\win32\includes\mingw\python25
-Ibuild\win32\includes\mingw\libminizip -Iengine\core -Iengine\swigwrappers engine\core\audio\soundclip.cpp
In file included from engine\core\audio\/sounddecoder.h:37,
from engine\core\audio\/soundclip.h:38,
from engine\core\audio\soundclip.cpp:35:
engine\core\audio\/fife_openal.h:36:19: AL/al.h: No such file or directory
engine\core\audio\/fife_openal.h:37:20: AL/alc.h: No such file or directory
I noticed that the SDK is including boost_1_35_0 and openal-soft, where you can see in the build command above that it's looking for boost_1_33_1 and openal (no -soft).
Tried replacing FIFE from this:
FIFE_pre-2008.1_r2282_win32.exe
Thinking that maybe the latest FIFE would have matching build commands,
but got:
scons: Reading SConscript files ...
no custom platform-config found (searched: build\win32-config.py)
scons: done reading SConscript files.
scons: Building targets ...
generate_swig_wrappers(
... )
Running swig...
Generating language specific wrappers for python
Error while running swig, stopped
scons: building terminated because of errors.
scons: *** [engine\swigwrappers\python\fife.py] Explicit exit, status 1
So, ran the delete_sdk.bat, replaced the SDK with:
FIFE_2008.0-r1_win32.SDK.exe
(which I'll mention seems odd that it's gone from r2 to r1... was it supposed to be 2008.1-r1?)
and gives the same swig error.
Now, going back to the original 2008.0 FIFE/SDK I noted first, I just did a straight renaming of the directories so that the build would find them (boost, openal), and it went fine until:
In file included from engine\core\vfs\zip\zipdata.cpp:32:
engine\core\vfs\zip\/zipdata.h:29:19: unzip.h: No such file or directory
There, it looks like it's trying to include libminizip:
-Ibuild\win32\includes\mingw\libminizip
which isn't in either SDK package. Of course, I don't know that unzip.h is actually part of libminizip, but it isn't in includes\*\zlib.
So close to building! What else should I do/try?