Game Development Community

Error compiling the vc6 project

by Charlie Malbaurn · in Torque Game Builder · 04/14/2005 (3:58 pm) · 19 replies

Hey all,
I'm using the original version of visual studio.net. So I have to convert the vc6 solution to work.

But when I try to compile it, I get this error
Quote:
T2D SDK error PRJ0019: A tool returned an error code: "Performing Custom Build Step"

I haven't made any changes to the engine and I am trying to compile the whole solution. So I'm stuck as to why I am getting this error.

Any ideas?

#1
04/14/2005 (5:26 pm)
I got the same
#2
04/14/2005 (8:15 pm)
Cool. I take it you didnt figure yours out either. Well, If I come across anything, I'll post it here
#3
04/15/2005 (12:03 am)
So, you're getting this error in VC7.0?

Hmm.. I dunno, nobody here has a copy of 7.0. We all hate it. ;)

T2D SDK compiles fine for me w/ VC6, and with 7.1. I believe that you can actually use the VC71 project file if you just change one little ID string in there. It's a text XML file, so you shouldn't have any problem taking a look, if you want to try that. Believe there's info on doing this out on the web too.

Anyway, sucks it's not compiling in VC70. Again, I don't have a copy here, so can anyone else figure out what's wrong here? Thanks if so!

If this is happening in VC6 itself as well, then something funky is going on here... should work fine.
#4
04/15/2005 (12:06 am)
Yeah... running VC 7.0... tried the VC 6 workspace and VC7 solution... just tried recompiling TGE and it worked fine (as it has) then T2D fails out with the same problem, it comes up with a path error... I posted the build log on the other compiling thread in here.. hmm, I'll check out the "ID string" and see if I can figure it out, lol its getting late now though so might miss it.
#5
04/15/2005 (12:16 am)
Bah ok figured out my problem... (EDIT: btw the bah is for it taking so long to figure this out lol)

for some reason I didn't have the bin folder in my root Torque 2D/SDK directory

Charlie do you have a folder called "bin" at C:\Torque 2D\SDK... if not just reinstall Torque 2D to a different directory and copy it over and it should compile !

I don't know if I accidentaly deleted it (I don't know how I'm pretty good with that sort of thing, but I make mistakes too)... though if you are missing it to then it might be an installer error

(reason I noticed this is checking the project file like you said Josh and I remember installing it on my desktop and seeing a bin folder and not remembering things looking right)
#6
04/15/2005 (2:58 am)
I'll check as soon as I get home and let you know

I will say that if the bin is not there then something is odd. Because I did the default install and changed nothing
#7
04/15/2005 (5:51 am)
Nope, the bin file is there
EDIT: Folder rather
#8
04/15/2005 (7:35 am)
Hmm ouch... means I must've been dillusional one day and deleted mine lol... gave me the same error as yours... find your buildLog.html... should be in a folder under engine (and trying to remember off the top of my head lol) VC6.out.RELEASE or something like that... post that up here
#9
04/15/2005 (9:47 am)
Does your bin folder contain the nasm.exe file
#10
04/15/2005 (2:19 pm)
Yeah it does contain that file. I haven't check my build log yet

www.vertesoft.com/buidlog.htm

Harold, I have a nasmw.exe file
#11
04/15/2005 (2:46 pm)
Hmm yours ends with

Performing Custom Build Step
nasm: more than one input file specified
type 'nasm -h' for help

coincidentally we errored on the same file but for different reasons... mine couldn't find it since I didnt have it, yours seems to specify more than one input file ? not sure... I know I compiled mine last night and it works, added the mouse collbacks to all gui controls in another thread and those work fine... hmm maybe someone who knows nasmw.exe better
#12
04/17/2005 (12:03 pm)
I just reinstalled the t2d installer again and comiling worked fine.

I find it really wierd considering that I didn't make an any changes to it. All is well though.

Now it's time to add some class
#13
04/17/2005 (12:10 pm)
Hmm... makes me wonder if the installer is a bit buggy ? Since mine was missing some files... (then again I've been rather out of it some nights so I'm not too proud to concede I might've deleted it)...

either way glad it works :) working on the design of my classes right now lol getting a headache too =/
#14
04/17/2005 (9:18 pm)
Yeah, it works fine now. Having a program named whatever it is that you decide to name it, is a wonderful thing that I never seem to get over.

The good thing too is that I've actually shut up for a little bit and started working on a game. I'll post a .plan about it in a couple of days. It will probably be done by then

Considering how I don't have an ounce of artistic ability, it's kind of funny how I got around that.
#15
04/27/2005 (10:52 am)
I still can't compile the VC6 solution from T2D 1.02; I keep getting an error regarding missing opengl files. Has anyone found a way to fix this?:)
#16
04/27/2005 (1:38 pm)
I'm getting linker complaints in VC7.1 with 1.02 (with the vc7 solution, not the vc6 one) about missing lpng.lib. Compiled from a clean install.

Also, why is it that Visual Studio doesn't know what a .cc file is?? Trying to change project properties is a real pain in the you-know-what!
#17
04/27/2005 (1:48 pm)
Quote:
Performing Custom Build Step
nasm: more than one input file specified
type 'nasm -h' for help

This error is caused by the fact that the path name has a space in it. Nasm parses on spaces so interprets C:\Torque 2D\SDK... as "C:\Torque" and "2D\SDK...". If you run up against this error just close the project, remove the space from the pathname, and then reopen and compile.
#18
04/27/2005 (1:52 pm)
Ah, I got it to compile. It was missing the lungif.lib. Weird, but anyway I built that project separately and then relinked and it worked. Dunno what happened.
#19
04/28/2005 (8:16 pm)
Hmm weird, glad its working by now at least :)