Huge Compiling Error
by Jonathan · in Torque Game Engine · 09/26/2004 (5:00 pm) · 8 replies
I have freshly installed MS C++ 6.0 and am trying to compile Torque Release_1_3_0 and this is what I get. Any help would be great. Thx.
--------------------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
opengl2d3d_DEBUG.exp : error LNK2001: unresolved external symbol 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), 2 warning(s)
*I have cut out most of the errors there were so it would fit the 4096 character length.*
--------------------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
opengl2d3d_DEBUG.exp : error LNK2001: unresolved external symbol 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), 2 warning(s)
*I have cut out most of the errors there were so it would fit the 4096 character length.*
#2
09/26/2004 (5:42 pm)
If you haven't installed ServicePack 6 for MSVC++ then do so, update your registry with the VC6,reg file, and then install the NT symbols. That should cure you.
#3
09/26/2004 (6:36 pm)
Thanks Gonzo. George, if you can't actually answer the question with authority, please do not post a non-answer.
#4
Sorry for being such a C newb, but I'm not even sure how to LOOK for these externs.
I personally haven't USED openGL in years...I know it USED to come with everything, but I don't think so anymore. I know a search of openGL on ATI's website results in NOTHING. Any thoughts?
10/03/2004 (5:46 pm)
I have this exact same problem. I've tried the SP6 and the symbol install, but made no difference. It's as if all references to openGL are NOT on my system.Sorry for being such a C newb, but I'm not even sure how to LOOK for these externs.
I personally haven't USED openGL in years...I know it USED to come with everything, but I don't think so anymore. I know a search of openGL on ATI's website results in NOTHING. Any thoughts?
#5
10/03/2004 (5:50 pm)
DOAH! Stupid me! I forgot to run the VC6 registry 'fix' file! Sorry!
#6
Daniel
10/10/2004 (6:21 am)
Could you explain what you mean by "install the NT symbols"? I was using tag Release_1_2_2, and everything worked fine. I just downloaded 1_3_3 and I'm getting a lot of errors. The service pack was allready installed and the registry updated too. Thanks for any help in advance.Daniel
#7
support.microsoft.com/default.aspx?scid=kb;en-us;296110
10/10/2004 (9:49 am)
"INFO: How to Install the Debug Symbols for Use with Visual Studio Products"support.microsoft.com/default.aspx?scid=kb;en-us;296110
#8
The only thing I can think of on my end is that I was overwriting a directory w/ 1.2.2 in it and for some reason some of the files didn't copy correctly. Maybe if I download to a clean directory... I don't know, but any help would as always be appreciated. I just don't understand why 1.2.2 would compile so flawlessly for me if I was doing something wrong.
-Daniel
10/10/2004 (12:41 pm)
I got the symbols installed (thanks), only that didn't have any effect on the errors I was getting when compiling. I went back to CVS and saw that it had errored while downloading (specifically terrdata.h (which is where most of my compiling errors are at, but also a few other things). Every time I try to run cvs it does the same thing and exits on code 1. I don't know if this is entirely on my end as I can download tag Release_1_2_2 from CVS without CVS or compiling errors. Everything runs fine. But 1.3 just doesn't seem to wanna take. The only thing I can think of on my end is that I was overwriting a directory w/ 1.2.2 in it and for some reason some of the files didn't copy correctly. Maybe if I download to a clean directory... I don't know, but any help would as always be appreciated. I just don't understand why 1.2.2 would compile so flawlessly for me if I was doing something wrong.
-Daniel
Torque Owner nibbuls