Game Development Community

Map2dif build stops at linker with 1 error in VC++

by Nate "Nateholio" Watson · in Torque Game Engine · 01/21/2003 (6:17 am) · 2 replies

I have tried to build Map2dif using MS Visual Studio. I can build the Torque demo app and other things with absolutely no errors. The error is:

--------------------Configuration: map2dif - Win32 Debug--------------------
Linking...
LINK : fatal error LNK1104: cannot open file "engine_DEBUG.lib"
Error executing link.exe.

map2dif_DEBUG.exe - 1 error(s), 0 warning(s)

I did a search on the entire Torque directory for *engine*.lib, *engine_debug*, and *engine* and still didnt come up with anything with a name coming close to "engine_DEBUG.lib". Since I am new to C++, I only have one hunch as to what the problem may be but I have no idea of how to fix it. Is the problem that some source file with an unknown name needs to be compiled into a .lib before I build map2dif??

#1
01/21/2003 (8:40 am)
If you set the map2dif project as the current project (right-click it in the left-hand pane and choose the option) then hit F7, it should compile the Torque Lib first. All the tools need to link with this library (it's a subset of the engine files).
#2
01/21/2003 (6:55 pm)
Ahhhh, thanks a lot. It compiled without any problems. You da man....