Linker errors on first compile
by Wayne Simmons · in Technical Issues · 12/29/2001 (9:27 pm) · 4 replies
Hi, I'm trying to compile Torque for the first time and I'm geting unresolved externals. I'm using MSVC++ under win2k. In the Torque Demo project I get texGen0 texGen1 and fogCoordinatePointer from the itfdump.asm file as unresolved. And if I try to complile the opengl2d3d project I get tons of _glXXXX unresolved. It seems like it isn't finding the OpenGL32.lib but it's right there in the VC98/lib directory.
Any ideas?
-NeonElf
Any ideas?
-NeonElf
#2
Also, did you try to compile using the files provided by GarageGames or did you try and do it yourself with something you put together?
Did you obtain and install NASM?
Finally, are you following the instructions for how to compile the code provide in the documentation?
12/30/2001 (1:33 pm)
Start at the beginning. What are you trying to compile? v12, the torque 1.0 download from CVS, the 1.1 download from cvs, the DEV_Stable from cvs or the HEAD from cvs?Also, did you try to compile using the files provided by GarageGames or did you try and do it yourself with something you put together?
Did you obtain and install NASM?
Finally, are you following the instructions for how to compile the code provide in the documentation?
#3
12/31/2001 (12:01 pm)
In this case, start by making sure you have added the registry entries mentioned in the docs (run the .reg files).
#4
12/31/2001 (2:13 pm)
ok I found out what it was... I think I added the registry keys but needed to reboot my computer. Now I compiled a bunch of .cc files I didn't the first time around. It all works now. Thank you all for the suggestions!
Torque Owner Ace