TSE compile/link error
by Dave · in Torque Game Engine · 12/21/2005 (11:26 am) · 5 replies
Hi,
Just downloaded the head release from CVS and am getting a fatal link error when building
Linking...
LINK : fatal error LNK1104: cannot open file 'ljpeg_DEBUG.lib'
The file doesn't seem to exist, but at the same time I can find no reference to it in any files in the downloaded release. So I don't know why it's trying to find it.
I've tried getting the release again but CVS seems to think I have everything OK.
Any ideas would be much appreciated as I just bought TSE today but can't get the thing to compile.
Thanks a million,
Dave.
Just downloaded the head release from CVS and am getting a fatal link error when building
Linking...
LINK : fatal error LNK1104: cannot open file 'ljpeg_DEBUG.lib'
The file doesn't seem to exist, but at the same time I can find no reference to it in any files in the downloaded release. So I don't know why it's trying to find it.
I've tried getting the release again but CVS seems to think I have everything OK.
Any ideas would be much appreciated as I just bought TSE today but can't get the thing to compile.
Thanks a million,
Dave.
About the author
#2
Thanks a zillion,
Dave.
12/21/2005 (11:59 am)
Badguy, you're a Goodguy in disguise :-) My hero man. Just had to build all of the lib projects and the main build finished OK.Thanks a zillion,
Dave.
#3
12/22/2005 (2:25 am)
Just for the edification of anyone else who has this problem (blindness apparently), there are two .sln files in VC7 directory. I had only noticed the one called TorqueShaderEngine.sln. That one doesn't compile the other libs. I sorted the files by type when I was looking for something else and then noticed TSE SDK.sln. When I ran a build using that one I noticed some messages saying that the various libs were up to date. So it seems the TSE SDK.sln file is the one to use when building TSE with VC7.
#4
12/22/2005 (9:47 am)
Yup - TorqueShaderEngine.sln is just there to make life easier when you only want to build Torque.
#5
Compiled all the libraries indiviually then Torque Shader Engine last.... works perfect.
Thanks everyone for all the help!
(built with Microsoft Visual C++ 2005 Express Edition)
03/20/2006 (3:27 pm)
I followed the steps above...Compiled all the libraries indiviually then Torque Shader Engine last.... works perfect.
Thanks everyone for all the help!
(built with Microsoft Visual C++ 2005 Express Edition)
Torque Owner Badguy
look into your project workspace
locate the libjpeg project.
this needs to be compiled.
It Should be set up as a dependancy but it isnt for one reason or another.
simply make sure you have compiled it
and if you still cannot link you will need to verify that libjpeg has indeed produced the library and placed it
in an acceptable location for your current project to link to it.