Game Development Community

Compiling 1.4 code

by Andy Hawkins · in Torque Game Engine · 06/11/2005 (8:29 pm) · 5 replies

I got latest from CVS (1.4 code) and I get this error. I can't find the .lib - or maybe the lib file is not being generated properly. Any suggests on where I can look?

Linking...
LINK : fatal error LNK1181: cannot open input file "ljpeg.lib"
Error executing link.exe.

#1
06/12/2005 (12:02 am)
Make sure the ljpeg project is being compiled. You should be using the Torque SDK.sln file if you're running VC7.1.
#2
06/12/2005 (2:43 am)
I'm using VC6. I solved it by compiling each lib project separately. How would I set it up in the future so all components are compiled together?
#3
06/12/2005 (4:07 am)
There's a Batch Build option on the build menu. Just select all the projects you want to build and they will build all at once.
#4
06/13/2005 (12:39 pm)
Inside a "work space" (VC7 calls them "solutions". Lets hear it for buzzword compliance!), you can also set dependancies between various projects. With batch build, you'll just get them built in whatever order they're listed unless you define dependancies.

In VC6 it's in the "Project" menu, "Dependancies...". Similarly, in VC7, same menu, new name "Project Dependancies..."

With them all set up correctly, you'll always build everything you need when you build your output files (of whatever stripe).
#5
06/13/2005 (4:00 pm)
Excellent thanks guys - I found the option and it works properly now -- cheers!