Author Topic: QUESTION: How do I build CVS Builds myself?  (Read 2459 times)

0 Members and 1 Guest are viewing this topic.

QUESTION: How do I build CVS Builds myself?
Because I am inpatient.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: QUESTION: How do I build CVS Builds myself?
It's not particularly hard once you have things sorted out. What you need though is a suitable compiler. Do you have one?
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 
Re: QUESTION: How do I build CVS Builds myself?
No.
Next question: where do I get one?

Actually, I do remember we had visual studio laying somewhere around here...

 

Offline Mars

  • I have no originality
  • 211
  • Attempting unreasonable levels of reasonable
Re: QUESTION: How do I build CVS Builds myself?
I've been wondering about a good compiler for Windoze myself.

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Re: QUESTION: How do I build CVS Builds myself?
There are two sticky threads about compilers for Windows.
-C

 
Re: QUESTION: How do I build CVS Builds myself?
OK, got one (dev-C++), what do I do now?

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: QUESTION: How do I build CVS Builds myself?
Right, first thing you need to do is get hold of the code.

I highly recommend using TortoiseCVS and following the guide I posted here.

Then you need to open the project file (If there is one that Dev-C++ can understand) and compile/link it. Can't really help you there as I've never touched Dev-C++
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: QUESTION: How do I build CVS Builds myself?
If Dev-C++ doesn't work out, I'd recommend Visual Studio 2005 Express or Code::Blocks.  Both are free and can handle visual studio .proj files.  If you need links I can dig them out later but Google should lead you in the right direction.  I used to use Dev-C++, but when I realized it had not been updated for several years, I had to switch to something a little more recent.
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

 
Re: QUESTION: How do I build CVS Builds myself?
TortioseCVS!! I used to get the latest vegastrike (with the exe already compiled by the way) with SVN.

Thanks for the help people.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: QUESTION: How do I build CVS Builds myself?
Well surely that was TortoiseSVN then? :p But yeah, Tortoise is great.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 
Re: QUESTION: How do I build CVS Builds myself?
So... What Do I do now? I tried build but I get a lot of fatal error C1083's.

I use Visual C++ Expres edition
« Last Edit: March 25, 2007, 01:57:56 pm by -Joshua- »

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: QUESTION: How do I build CVS Builds myself?
What did it say apart from the number?
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 
Re: QUESTION: How do I build CVS Builds myself?
cannot open file.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: QUESTION: How do I build CVS Builds myself?
You weren't trying to build FS2 or FRED when you had a copy open already?

Cause I've seen that exact error a few times when I've built FRED2_Open while building a mission.

The rest of the time I'd expect a compiler or linker error to be much more esoteric than a simple "Cannot find file"
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 
Re: QUESTION: How do I build CVS Builds myself?
d:\downloads\games\freespace2\cores\latest\fs2_open\code\weapon\flak.cpp(70) : fatal error C1083: Cannot open include file: 'weapon/flak.h': No such file or directory
muzzleflash.cpp
d:\downloads\games\freespace2\cores\latest\fs2_open\code\weapon\muzzleflash.cpp(106) : fatal error C1083: Cannot open include file: 'globalincs/systemvars.h': No such file or directory
shockwave.cpp
d:\downloads\games\freespace2\cores\latest\fs2_open\code\weapon\shockwave.cpp(368) : fatal error C1083: Cannot open include file: 'weapon/shockwave.h': No such file or directory
swarm.cpp
d:\downloads\games\freespace2\cores\latest\fs2_open\code\weapon\swarm.cpp(135) : fatal error C1083: Cannot open include file: 'weapon/swarm.h': No such file or directory
trails.cpp

strangely, there is such file or directory
« Last Edit: March 26, 2007, 07:22:55 am by -Joshua- »

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: QUESTION: How do I build CVS Builds myself?
That is odd indeed. What happens if you open say weapon\shockwave.cpp and try to compile it?
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

  
Re: QUESTION: How do I build CVS Builds myself?
------ Build started: Project: code, Configuration: Debug Win32 ------
Compiling...
shockwave.cpp
d:\downloads\games\freespace2\cores\latest\fs2_open\code\weapon\shockwave.cpp(368) : fatal error C1083: Cannot open include file: 'weapon/shockwave.h': No such file or directory
Build log was saved at "file://d:\Downloads\Games\Freespace2\Cores\Latest\fs2_open\projects\MSVC_2005\Debug\BuildLog.htm"
code - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

including bui... FRED!!! (yeah, thats my new curse word) can't upload HTM Files!
« Last Edit: March 27, 2007, 12:15:50 pm by -Joshua- »

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Re: QUESTION: How do I build CVS Builds myself?
Does the file exist?

If it does, it sounds to me like the default include directories for MSVC2005 are messed. Try changing the "code" and "freespace2" (and probably "fred2") projects to include
Quote
../../code

Semicolons or commas are used to separate different default include directories. (I don't remember which it is)
-C