Compiling tools with mingw?
by Chris Calef · in Technical Issues · 08/21/2003 (1:58 pm) · 0 replies
Hi, sorry if this is dumb but I'm in my first week of using the engine... I've compiled the torqueDemo application, using gcc2/mingw on a win32 system, but I'm unable to get the tools (max2dts, etc.) to compile. I don't know if they are supposed to compile with the main "make" for the whole project, but they didn't, and when I go to the tools directory and "make", I get the following:
Compiles fine through the libraries: engine.a, lpng.a, zlib.a, ljpeg.a, lungif.a
Then it gets to Linking map2dif.exe, and I get a long series of udefined references,
first one looks like:
../engine/out.GCC2.RELEASE/engine.a(winWindow.obj)(.text+0x1294):winWindow.cc: undefined reference to 'GetStockObject@4'
this is followed by fifty or sixty similar errors and then it stops trying. Does this make any sense to anyone?
thanks!
Compiles fine through the libraries: engine.a, lpng.a, zlib.a, ljpeg.a, lungif.a
Then it gets to Linking map2dif.exe, and I get a long series of udefined references,
first one looks like:
../engine/out.GCC2.RELEASE/engine.a(winWindow.obj)(.text+0x1294):winWindow.cc: undefined reference to 'GetStockObject@4'
this is followed by fifty or sixty similar errors and then it stops trying. Does this make any sense to anyone?
thanks!
About the author