Game Development Community

LINK : fatal error LNK1181: cannot open input file 'ljpeg.lib

by Mike Rowley · in Torque Game Engine · 07/26/2007 (5:08 pm) · 5 replies

For some odd reason, I keep getting this error while attempting to build the release version of 1.5.2
I'm using vs C++ 5 express version.
Does anyone know how to fix this? I can't get a release version of the demo.exe

#1
07/26/2007 (5:22 pm)
Goto Build / Configuration Manager and check the build option for the ljpeg project.
You may need to build some of the other libraries too.

Gabe
#2
07/26/2007 (5:26 pm)
Ljpeg, lpng, zlib are all checked release.
#3
07/26/2007 (6:19 pm)
I've just download the SDK for TGE 1.5.2 and managed to build all configurations without problem.

make sure that the lib is being outputted to the normal directory
the ljpeg properties under general/output directory should be:
.\../lib/out.VC8.RELEASE

All the other libs get outputted to this location so if that is the only lib missing, that may be the problem.

If that doesn't work, I don't know.

Gabriel
#4
07/26/2007 (6:40 pm)
Well, I changed it to compile the debug version, got the same result. Put it back to release, and it worked. I think it's a ms thing.
Thanks for the help. :)
#5
07/26/2007 (8:23 pm)
I've had this happen from time to time on a doing a build of a fresh copy of the SDK, so you're not alone ;)