Compile problem
by James Harding · in Torque Game Engine · 04/06/2004 (8:45 am) · 8 replies
Hi
have compiler problem in linker?
--------------------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 _glActiveTextureARB@4
opengl2d3d_DEBUG.exp : error LNK2001: unresolved external symbol _glAllocateVertexBufferEXT@12
opengl2d3d_DEBUG.exp : error LNK2001: unresolved external symbol _glAlphaFunc@8
opengl2d3d_DEBUG.exp : error LNK2001: unresolved external symbol _glAreTexturesResident@12
I have configure the Option --> Directories dialog box, but the IDE don’t see the opengl2d3d_DEBUG lib or exp.
have compiler problem in linker?
--------------------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 _glActiveTextureARB@4
opengl2d3d_DEBUG.exp : error LNK2001: unresolved external symbol _glAllocateVertexBufferEXT@12
opengl2d3d_DEBUG.exp : error LNK2001: unresolved external symbol _glAlphaFunc@8
opengl2d3d_DEBUG.exp : error LNK2001: unresolved external symbol _glAreTexturesResident@12
I have configure the Option --> Directories dialog box, but the IDE don’t see the opengl2d3d_DEBUG lib or exp.
#3
04/06/2004 (5:09 pm)
Are you using MSVC? If so, make sure you've run the file VC6 .cc compiling.reg in the VC6 folder of your source download (or, use the VC7 alternative for VC7.1)
#4
Got the latest (April 1) NVIDIA drivers.
Re-downloaded the Release_1_2_1 (because I was also having Ogg Vorbis problems)
and the linker was fixed. I imagine I had a corrupt build or something, especially since I downloaded the build over a previous one.
04/06/2004 (5:21 pm)
I was getting the same errors. I don't know which step worked, but I did the following:Got the latest (April 1) NVIDIA drivers.
Re-downloaded the Release_1_2_1 (because I was also having Ogg Vorbis problems)
and the linker was fixed. I imagine I had a corrupt build or something, especially since I downloaded the build over a previous one.
#5
04/07/2004 (12:56 pm)
I am getting the same errors. The one with the 379 errors. Is this an OpenGL library problem?
#6
- or -
www.garagegames.com/mg/forums/result.forum.php?qtm=379
- or -
;)
04/07/2004 (1:13 pm)
www.garagegames.com/docs/torque.sdk/gstarted/compilers.win32.vc6.html#win32_vc6_...- or -
www.garagegames.com/mg/forums/result.forum.php?qtm=379
- or -
Quote:
Are you using MSVC? If so, make sure you've run the file VC6 .cc compiling.reg in the VC6 folder of your source download (or, use the VC7 alternative for VC7.1)
-- Josh Williams (3 posts up)
;)
#7
04/07/2004 (6:31 pm)
Thank you! ^^
#8
07/09/2004 (10:00 am)
Thanks as well. running VCVARS32.bat saved my butt from those 300+ errors!
Associate Matt Fairfax
PopCap