Hi,
i'm trying to compile the latest Glest release (glest_source_2.0.1.zip) using Eclipse / CTD and mingw under Windows XP. After reading the VC 2003 tutorial and getting all the additional libraries, i can compile the static library (Glest shared library) but not the game. I get the follwing errors:
1. ../libmingw32.a(main.o):main.c: undefined reference to `WinMain@16'
2. GlestLib\Release/libGlestLib.a(model_renderer_gl.o):model_renderer_gl.cpp: undefined reference to `glActiveTexture@4'
3. GlestLib\Release/libGlestLib.a(model_renderer_gl.o):model_renderer_gl.cpp: undefined reference to `glDrawRangeElements@24'
4.
GlestLib\Release/libGlestLib.a(platform_util.o):platform_util.cpp: undefined reference to `glob(char const*, int, int (*)(char const*, int), glob_t*)'
5.
GlestLib\Release/libGlestLib.a(platform_util.o):platform_util.cpp: undefined reference to `globfree(glob_t*)'
6.
GlestLib\Release/libGlestLib.a(texture_gl.o):texture_gl.cpp: undefined reference to `glTexImage3D@40'
Right now, i'm using graphics/gl, plattform/sdl and sound/openal from the shared lib (i deleted the other subfolders, like posix, win32, etc) to avoid the trouble to get the directx sdk working under mingw. I link against the following libraries:
GlestLib (which i compiled myself), SDL.dll, SDLmain, opengl32, glu32, xerces-c2_8_0, OpenAL32, vorbisenc, vorbisfile, vorbis, ogg.
Any help would be greatly appreciated.
Background: We are group of twelve students at the university of Dortmund, Germany taking part in a course called "Computational Intelligence in Computer Games". We want to find out if and how CI methods (Neural Networks, Evolutionary Algorithms, etc) can be used to create better / more intelligent Computer Players. Last semester, we programmed new ghosts for a PacMan clone and this semester we want to work with Glest. But to do so, we have to be able to compile the source.
Thanks in advance,
Jan aka Nostromo