Error executing link.exe
by Stefan Lundmark · in Torque Game Engine · 03/22/2004 (6:21 am) · 9 replies
opengl2d3d.exp : error LNK2001: unresolved external symbol _glGetLightiv@12 Error executing link.exe. betatest.exe - 379 error(s), 3 warning(s)
I recently tried out XPLite and after a reboot, my project came to look like this. I won't tell you how much I dislike XPLite, as it does not really matter - but what can I do to correct this?
I have tried reinstalling VC6, VC6SP 5.
Someone said something about preprocessors, but I tried that and it wouldn't install.
About the author
#2
03/22/2004 (11:18 am)
Nope, I reinstalled with a fresh copy.LINK : warning LNK4001: no object files specified; libraries used LINK : warning LNK4001: no object files specified; libraries used Creating library ../lib/out.VC6.RELEASE/opengl2d3d.lib and object ../lib/out.VC6.RELEASE/opengl2d3d.exp LINK : error LNK2001: unresolved external symbol __DllMainCRTStartup@12
#3
sounds like you need to execute the *.reg file found in the project directory.
03/22/2004 (11:36 am)
I would imagine this is followed by more than just this error output?sounds like you need to execute the *.reg file found in the project directory.
#4
03/22/2004 (12:03 pm)
Is opengl2d3d the only thing that borks ? If it is, just forget about it : you won't be able to use Direct3D as your video driver, but since it's only a stop gap measure in TGE, you really don't need it...
#5
Could be that, I'll try it, thanks mate!
Nicolas: It gives errors, you can't just skip errors and make a binary out of it, well - not without modifying it to ignore errors, and that's never recommended as far as I know.
The strange thing about this is that when I press "Rebuild All" no object data seems to be written onto the disc, and it all builds in maybe 30 seconds.. and I'm used to wait around 5 minutes for a complete rebuild.
I'll try Badguys suggestion though and get back here.
03/22/2004 (12:28 pm)
Badguy: Of course, the error output is for 379 errors :DCould be that, I'll try it, thanks mate!
Nicolas: It gives errors, you can't just skip errors and make a binary out of it, well - not without modifying it to ignore errors, and that's never recommended as far as I know.
The strange thing about this is that when I press "Rebuild All" no object data seems to be written onto the disc, and it all builds in maybe 30 seconds.. and I'm used to wait around 5 minutes for a complete rebuild.
I'll try Badguys suggestion though and get back here.
#6
C:\torque\vc6\TorqueDemo.rc(10) : fatal error RC1015: cannot open include file 'afxres.h'.
Error executing rc.exe.
betatest.exe - 1 error(s), 1 warning(s)
-------------------------
At least that's better. Anyone have a clue?
03/22/2004 (12:34 pm)
Compiling resources...C:\torque\vc6\TorqueDemo.rc(10) : fatal error RC1015: cannot open include file 'afxres.h'.
Error executing rc.exe.
betatest.exe - 1 error(s), 1 warning(s)
-------------------------
At least that's better. Anyone have a clue?
#7
check it in your "\Microsoft Visual Studio\VC98\MFC\Include" dir.
03/22/2004 (1:06 pm)
One of your VC++ header files is missing.check it in your "\Microsoft Visual Studio\VC98\MFC\Include" dir.
#8
Thanks for the help with the .reg file though.
03/22/2004 (1:21 pm)
Problem solved! Was my system config that missed MFC libraries, really sorry for that one.Thanks for the help with the .reg file though.
#9
03/22/2004 (1:21 pm)
Thanks mgm.
Torque Owner Westy