Apparently Santa's Computer Sucks At Compiling...
by Bill Henderson · in Torque Game Engine · 01/03/2002 (3:18 am) · 3 replies
I am having trouble compiling the latest versions of the torque engine. I have tried both the head and dev_stable releases of the engine from CVS, but i still get the same error...
The engine compiled fine on my machine on windows 2000, but i have upgraded to XP lately, and now it doesn't compile (I didnt actually do an upgrade. I formatted and did a fresh install). I am using MS VS6 SP5 Enterprise, WinXP, celeron 500, 1 gig of RAM...
The error (shortened) is this
--------------------Configuration: opengl2d3d - Win32 Debug--------------------
Linking...
LINK : warning LNK4001: no object files specified; libraries used
LINK : warning LNK4001: no object files specified; libraries used
Creating library ../lib/out.VC6.DEBUG/opengl2d3d_DEBUG.lib and object ../lib/out.VC6.DEBUG/opengl2d3d_DEBUG.exp
LINK : error LNK2001: unresolved external symbol __DllMainCRTStartup@12
opengl2d3d_DEBUG.exp : error LNK2001: unresolved external symbol _glAccum@8
~blah blah blah~
opengl2d3d_DEBUG.exp : error LNK2001: unresolved external symbol _wglSwapBuffers@4
../example/opengl2d3d_DEBUG.dll : fatal error LNK1120: 378 unresolved externals
Error executing link.exe.
torqueDemo_DEBUG.exe - 379 error(s), 13 warning(s)
the fact that is a linking error leads me to believe there is a setup problem rather than a problem in the code...but what is the error about no object files being specified?
help? please?
The engine compiled fine on my machine on windows 2000, but i have upgraded to XP lately, and now it doesn't compile (I didnt actually do an upgrade. I formatted and did a fresh install). I am using MS VS6 SP5 Enterprise, WinXP, celeron 500, 1 gig of RAM...
The error (shortened) is this
--------------------Configuration: opengl2d3d - Win32 Debug--------------------
Linking...
LINK : warning LNK4001: no object files specified; libraries used
LINK : warning LNK4001: no object files specified; libraries used
Creating library ../lib/out.VC6.DEBUG/opengl2d3d_DEBUG.lib and object ../lib/out.VC6.DEBUG/opengl2d3d_DEBUG.exp
LINK : error LNK2001: unresolved external symbol __DllMainCRTStartup@12
opengl2d3d_DEBUG.exp : error LNK2001: unresolved external symbol _glAccum@8
~blah blah blah~
opengl2d3d_DEBUG.exp : error LNK2001: unresolved external symbol _wglSwapBuffers@4
../example/opengl2d3d_DEBUG.dll : fatal error LNK1120: 378 unresolved externals
Error executing link.exe.
torqueDemo_DEBUG.exe - 379 error(s), 13 warning(s)
the fact that is a linking error leads me to believe there is a setup problem rather than a problem in the code...but what is the error about no object files being specified?
help? please?
About the author
#2
01/03/2002 (9:29 am)
The opengl2d3d is the DX wrapper DLL. Does the demo link, or is it just the DLLs that fail?
#3
Did you install the registry keys in /vc6? These add important references to .lib files to your linker.
Do you have the XP SDK? There is a new and updated platform SDK from MS with XP (NT 5) header files. You can download it here www.microsoft.com/msdownload/platformsdk/sdkupdate/
Hope that helps.
01/03/2002 (8:59 pm)
Two things to try that helped me resolve linker issues. Did you install the registry keys in /vc6? These add important references to .lib files to your linker.
Do you have the XP SDK? There is a new and updated platform SDK from MS with XP (NT 5) header files. You can download it here www.microsoft.com/msdownload/platformsdk/sdkupdate/
Hope that helps.
Torque Owner Matthew Shapiro