Author Topic: VCBUILD in VC++6?  (Read 2017 times)

0 Members and 1 Guest are viewing this topic.

Offline chief1983

  • Still lacks a custom title
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Ok, so while doing some research for automated building from a solution/workspace/etc, I've managed to compile a VC++2008 Solution file using VCBUILD.  Not too complicated.  Is there anything that simple for VC++6?  I can't seem to find it as easily in the docs, and since I already got it working in 2008, my drive to dig for it hasn't been that great, but if someone already knows about it, it'd be very useful to me.  I'll probably look again right now, I just don't want to if someone else here already knows.  Also, similar info for XCode would be nice, or any other info on compiling FS2 from say, a Perl script on OS X and/or Linux.  I'm assuming Linux should be the easiest since it's already set up for a command line compile.  I know nothing about compiling it on OS X though.

Edit:  Ok, it looks like the closest thing to that is using nmake.  So, I exported .mak files for each of the 5 projects I care about in the workspace, but running nmake on them fails, the code project won't compile via this method currently.  Something missing or some such.  I probably just need to tweak some stuff, but if anyone can get FS2 to compile with VC6's nmake, I'd love to know how you did it.  I'm usually just winging it through these things.
« Last Edit: September 07, 2008, 04:08:08 pm by chief1983 »
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
VC6's solution and project files aren't as complex as the later versions of MSVC. If nothing else, it might be worth it to crack them open in a text editor and come up with a script that looks at the filenames, compile flags, linker flags, and searches out any custom build steps (Currently, there's only one) and runs those. In general, I don't think the compile process has to be that complex so long as you're just building to an executable.

Any particular reason you want to build with MSVC6?
-C

 

Offline chief1983

  • Still lacks a custom title
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
VC2008 seems to have a few...quirks.  For one, it doesn't know the call stack when a debug error occurs, it just throws out addresses to the functions or whatever instead of the function names.  So you have to have MSVC to get any useful information out of it there.  Then, any MSVC 2008 builds I've made have this strange habit of throwing Invalid Drive Index errors in very specific situations.  Ones where the VC6 builds work just fine.  So, either the project file for 2008 needs tweaking, or I just need to stick with good ol' tried and true VC6.  It just seems to work the best.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

  

Offline WMCoolmon

  • Purveyor of space crack
  • 213
There is a MSVC2003 toolkit as well, but to my knowledge I'm the only one using that version of MSVC right now, so the project files are less likely to be up-to-date than MSVC6.
-C