Author Topic: Project questions  (Read 2449 times)

0 Members and 1 Guest are viewing this topic.

Does the fs2_open HEAD currently build under MSVC_2005?

I'm getting build errors about missing files (I realized some files don't exist so I deleted them from the project) and headers. I've been able to resolve most of them by adding the appropriate include directories for the missing files. However, I haven't been able to find some headers. Are all dependent headers and libraries (except standard win32) included in this module?

Are there makefiles to build from the command line?

 

Offline Turey

  • Installer dude
  • 211
  • The diminutive form of Turambar.
    • FreeSpace Open Installer Homepage
I think you need the direct x SDK (which seems stupid to me, but meh.) However, I haven't gotten it to compile either. Help from more experienced coders please?
Creator of the FreeSpace Open Installer.
"Calm. The ****. Down." -Taristin
why would an SCP error be considered as news? :wtf: *smacks Cobra*It's a feature.

 
Well looking at the project files, it looks like they included all dx8 libs and headers in the module. It would be strange if they included some dx8 libs and headers and not others. Either this is the case, or i've checked out the wrong build (i've tried the head build and also f2_open_3_6_9).

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
What files did it complain about not existing?
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline Flipside

  • əp!sd!l£
  • 212
Might be the OpenAL libraries?

 
At first I had a lot of missing headers as the project wasn't configured to point to sound/lua/dx8 include paths. After resolving those, I still have the following build errors:

GrZbuffer.cpp
c1xx : fatal error C1083: Cannot open source file: '..\..\code\graphics\GrZbuffer.cpp': No such file or directory
grd3dbatch.cpp
c1xx : fatal error C1083: Cannot open source file: '..\..\code\graphics\grd3dbatch.cpp': No such file or directory
GrD3DParticle.cpp
c1xx : fatal error C1083: Cannot open source file: '..\..\code\graphics\GrD3DParticle.cpp': No such file or directory

Its also complaining about not being able to find ddraw.h, which is not included in fs2_open\dx8sdk. It seems like some Dx8 sdk files are missing. Do I need to have Dx8 SDK installed separately or are all Dx8 dependent libraries & headers included in the module?

Thanks a lot!

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Aside from the MSVC 6 project file, nothing else is really maintained.  Files that get removed or added, or when we add SDK files to the tree, we won't necessarily make those changes to any of the other project files.  You pretty much just have to figure it out for yourself, since I don't think that anyone really keeps up with how many things have changed since various project files have been updated.


EDIT (don't feel like a new post):  The SDKs for DX8, OpenAL, and Ogg Vorbis are included in the source tree.  You simply have to set the directories properly in the project setup to use them.  Other than the platform SDK, the speech SDK, and MSVC, you shouldn't need anything else other than a CVS checkout and a properly setup project file.
« Last Edit: December 06, 2006, 02:14:57 am by taylor »

 

Offline neoterran

  • 210
It's a real ***** to set up. I think i got a working build once through much trial and error and from converting the visualinterdev6 project file, but you'll definately need the windows sdk, directx sdk, and the audio sdk (openal) at the very least.

But, i'm a ruby/C# developer so this project was really pretty much beyond me and my current capabilties. I still enjoy hearing from taylor on how it's going tho :D
Official Taylor Fan Club Member.
Chief Grognard.
"How much code could a coder code if a coder could code code?"

 

Offline Turey

  • Installer dude
  • 211
  • The diminutive form of Turambar.
    • FreeSpace Open Installer Homepage
* Turey wishes someone would PM/IM/Email him a link to a download of MSVC 6.
Creator of the FreeSpace Open Installer.
"Calm. The ****. Down." -Taristin
why would an SCP error be considered as news? :wtf: *smacks Cobra*It's a feature.

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
i remember when i was messing around with compiling it under linux, i had to download alot of stuff to get it to compile. it was a real pita, and im no coder.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
* Turey wishes someone would PM/IM/Email him a link to a download of MSVC 6.

There are some free compiler alternatives in the sticky threads in this very forum.  MSVC++ Express is worth checking out.

 

Offline Turey

  • Installer dude
  • 211
  • The diminutive form of Turambar.
    • FreeSpace Open Installer Homepage
There are some free compiler alternatives in the sticky threads in this very forum.  MSVC++ Express is worth checking out.

I tried that one, but couldn't get it to work right. I got the DirectX SDK and everything.

What I really want is for it to work in Eclipse, but oddly enough, the Eclipse C/C++ editor doesn't seem to come with its own compiler, and I couldn't get any of the other compilers working right.
Creator of the FreeSpace Open Installer.
"Calm. The ****. Down." -Taristin
why would an SCP error be considered as news? :wtf: *smacks Cobra*It's a feature.

  

Offline neoterran

  • 210
I've gotten it to build by importing the MSVC6 project file (converting it to VS2005 project) and by sacrificing some virgins to the coder gods. and adding a bunch of references to various SDKs, messing around forever with the build settings, etc. But it DID build in the end.

That's one massively horrible looking project btw.
Official Taylor Fan Club Member.
Chief Grognard.
"How much code could a coder code if a coder could code code?"