Game Development Community

Compiling Help

by Patrick Webber · in Torque 3D Professional · 07/25/2011 (8:42 pm) · 25 replies

I'm trying to compile a project with Visual C++ 2008. I'm down to simply creating a brand new Torque project and immediately trying to recompile it. I've searched the internet and these forums for help, but have yet to create a successful build. The errors I get when I try to compile (release version) are:

An error code from "Performing Custom Build Step"
Error BK1506 for aiClient.sbr - No such file or directory
3 fatal errors (C1083) for files -npWebGamePlugin.sbr
-npPlugin.sbr
-webCommon.sbr
all 3 say Permission denied
Fatal error (LNK1181) cannot open compile.lib
Fatal error (C1083) for atlbase.h - No such file or directory

Interestingly when I simply hit recompile, immediately after, the error list shrinks, the 3 fatal errors (C1083) for files npWebGamePlugin.sbr, npPlugin.sbr, webCommon.sbr, are gone from the list and the compile.lib error is duplicated. Not sure what's going on there.

I have the latest version of DirectX installed and have added the paths necessary to the VC++ directories. I have been messing with this thing for about a week. I have had little success, as fixing one error seems to lead to another. So I figured if I can get a new project to compile I can work from there. Any help is appreciated. Thanks.

About the author

I'm a computer science major at Stony Brook University, and have been working with the Torque Game Engine for a number of years.

Page«First 1 2 Next»
#21
07/27/2011 (4:03 pm)
Alright I have 1.1 now. I created a new project to try and compile it but my Torque didn't generate the .sln file to open in Visual C++ Express. Any ideas?
#22
07/27/2011 (4:47 pm)
C:\Torque\T3D Pro 1.1\My Projects\TestProject\buildFiles\VisualStudio 2008\TestProject.sln

This is what my folder structure looks like, if you dont have something similar then, something really really funky is going on with your PC.

You dont have any super aggressive AntiVirus or other PC checking software on your PC do you?

I'm beginning to run out of ideas if i'm being honest, you are getting errors that you shouldnt be getting under normal circumstances.

PS: you should learn to hate the toolbox and better understand your folder structure for torque
#23
07/27/2011 (5:19 pm)
Yeah I have the same folder structure except the .sln is missing. :/ I had the .sln with 1.0.1. I'm running Symantec as my antivirus.

I'm gonna give re-installation of everything a try. Hopefully I can get it working. Thanks for all your help.

EDIT: Got the .sln file to be generated. Someone else had the same problem: www.garagegames.com/community/forums/viewthread/125891
#24
07/27/2011 (6:57 pm)
Ok so I have gotten past the error Performing Custom Build step, and it compiles well until it gets to a point where the output says Linking.... Immediately after that I get 800+ errors. All of them are LNK2001. Any ideas?
#25
07/27/2011 (7:11 pm)
Got it to compile. Thanks to everyone for all your help.
Page«First 1 2 Next»