Game Development Community

Problem compiling LP map2dif

by SqHd · in Torque Game Engine · 07/10/2005 (8:24 am) · 3 replies

Hello,

I was hoping to take advantage of the new light map feature in Quark using the LP's map2dif, but unfortunately I receive this error when compiling:

Fatal error LNK1181: cannot open input file 'engine.lib'

I am using VC7 and I was able to compile the Lighting Pack demo without a problem.

Thanks in advance,

Kerry

#1
07/10/2005 (1:27 pm)
Make sure you are doing a build of the project: TorqueLib, before you build your game.

ToqueLib is a project containing all the core torque stuff, without a game on top of it.
This project compile the static library: engine.lib (or engine_debug.lib) which is located in /lib/vc6(or vc7).debug (or .release).

This library is needed to link map2diff, so make sure you have the path where you engine.lib will be generated added to your linker settings for the map2dif project.

-- Markus
#2
07/10/2005 (5:26 pm)
Thank you very much. I just compiled map2dif and it worked great.

Kerry
#3
07/11/2005 (10:53 am)
No problem, glad it worked.