Compiling HEAD with vc6
by Brian Kelley · in Torque Game Engine · 07/17/2003 (2:04 pm) · 4 replies
I succesfully compiled 1_1_2 with visual C++ 6 (vc6) and made some modifications. wOOt!, as they say.
I downloaded the cvs HEAD, but vc6 complains about the .dsp files as not being made by developer studio (the Torque SDK.dsw includes the .dsp files) and procedes to mangle them into useless slabs.
Does someone have working project files for the HEAD? Am I doing something wrong?
I'm in the process of taking the Release 1_1_2 project files and updating them for the head but this seems like unecessary effort, but I'll do it if I have to.
Um, help?
Pretty please?
I downloaded the cvs HEAD, but vc6 complains about the .dsp files as not being made by developer studio (the Torque SDK.dsw includes the .dsp files) and procedes to mangle them into useless slabs.
Does someone have working project files for the HEAD? Am I doing something wrong?
I'm in the process of taking the Release 1_1_2 project files and updating them for the head but this seems like unecessary effort, but I'll do it if I have to.
Um, help?
Pretty please?
#2
07/18/2003 (7:14 am)
I think that CVS changes the endline of the text files to the unix endline. I solved this opening these files in wordpad and resaving them.
#3
Upshot is, when doing cross platform builds, check out the build files with msdos line endings (\r\n).
Blech!
07/18/2003 (7:16 am)
Mangled indeed. I was doing a cross-platform build and it turns out that the .dsp files and .dsw files were checked out with unix line ending (\n) which, of course, Microsoft doesn't except.Upshot is, when doing cross platform builds, check out the build files with msdos line endings (\r\n).
Blech!
#4
Rich
07/18/2003 (7:28 am)
Didn't know you where doing cross-platform compiles and only doing one CVS checkout. If you don't know, there is a shell script in tools/unix called dos2unix.sh that can be used to convert the CR/LF's. I had to modify the work.sh script to add more file extensions, so you may have to do the same.Rich
Torque Owner Richard O
It sounds like the files got mangled during the CVS download phase. I would recommend that you perform another CVS checkout into a clean directory.
Rich