Engine Compiling
by Larry Dolyniuk · in Torque 3D Professional · 07/13/2010 (7:40 am) · 6 replies
After changing a couple of lines in Player.cpp and Player.h to test ways of overriding run animation with other animations I accidentally hit Clean Solution, I didn't think much of it and hit rebuild, now I am getting this error 790 times I know it has to do with linking somehow, but I am not very skilled with C++ coding so I am unsure of how to go about fixing it:
pretty much an error for each cpp file in my engine folder :/
1>..........EnginesourceT3DaiClient.cpp : fatal error C1033: cannot open program database 'c:torquetorque 3d 2009 pro 1.1 alphamy projectsking's reignbuildfileslinkvc2k8.release.win32king's reign dll.idb'
My debug compiles without a problem and before I hit clean solution or whatever I did, it was compiling just fine, thanks in advanced.
pretty much an error for each cpp file in my engine folder :/
1>..........EnginesourceT3DaiClient.cpp : fatal error C1033: cannot open program database 'c:torquetorque 3d 2009 pro 1.1 alphamy projectsking's reignbuildfileslinkvc2k8.release.win32king's reign dll.idb'
My debug compiles without a problem and before I hit clean solution or whatever I did, it was compiling just fine, thanks in advanced.
About the author
#2
07/13/2010 (8:15 am)
Hmm I tried closing and reopening, and even restarted my computer, and to no success, I did notice that my King's Regin DLL folder in VC2k8.Rlease.Win32 had none of the SBR Files in it, so I copied the files from my VC2k8.Debug.Win32/King's Reign DLL Folder and pasted them into my Rlease so now all of the files are inside the folder but when I hit build my C++ VS 2008 just freezes lol, I might just port my game into the beta version of t3d, I had started making it in alpha. But I am going to keep looking for a solution rather than taking the easy way, in case this happens in the future.
#3
07/13/2010 (8:17 am)
Have you tried just completely removing the VC2k8.Debug and release folders, then doing another complete build? That’s worked for me before today also...
#4
07/13/2010 (8:23 am)
Ahhh, I figured it out, my main VC++ Minimum Rebuild Dependency File (king's reign dll.ibd) had somehow gotten corrupted, I removed it from my folder and now is rebuilding my engine as we speak :)
#5
07/13/2010 (8:25 am)
Lol, I should have refreshed :P yeah it worked thank you Leon
#6
EDIT: Spending a few min looking round there are a few posts floating round on the net with similar errors, it seems to be VS will lock a file while it’s being compiled or whatever, and then doesn’t unlock it properly after (hence the “cannot open” error)
So by manually deleting it, it’s sorting the problem out, I have the latest service pack installed for VS (on x64 7) but it’s kind of random when it happens, mostly it happens if I stop a build part way through then try to re-build…
07/13/2010 (8:28 am)
If you or anyone ever figures it out, post back here and I will do the same, it’s a weird one ;)EDIT: Spending a few min looking round there are a few posts floating round on the net with similar errors, it seems to be VS will lock a file while it’s being compiled or whatever, and then doesn’t unlock it properly after (hence the “cannot open” error)
So by manually deleting it, it’s sorting the problem out, I have the latest service pack installed for VS (on x64 7) but it’s kind of random when it happens, mostly it happens if I stop a build part way through then try to re-build…
Torque 3D Owner Trigger
VW
No clue as to why this happens though…