Author Topic: Newbie's compiling problems  (Read 2114 times)

0 Members and 1 Guest are viewing this topic.

Newbie's compiling problems
Hi,
I'm the new guy.
I found Hard Light by surfing the Galactica Btrl-Mod Forums and I'd really love to join the FS2-Mod-community.
So far I downloaded the CVS (using the anonymous login) using this tutorial
and i installed the compilers as stated on this page.

First question: was that the right thing to do?
Second: I'm getting several compiling errors, some regarding missing includes (thoug I'm quite shure I've set the paths in my "vcvars32.bat" right, some about a Syntax-Error in the file
D:\Programme\Microsoft Platform SDK\Include\.\strmif.h(27614)
Something about a missing ';' before 'lpSurf'. I checked the file and the syntax seems fine...

Thanx for your help

hobbes



 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Re: Newbie's compiling problems
Can you give more of the compile output, it'd be helpful to see which freespace 2 file is having trouble trying to include the file and maybe the exact error itself.

Right now I'm totally lost, as it sounds like it's a compiler error in the default file (which is essentially never the case with big SDKs like this).
-C

 
Re: Newbie's compiling problems
Hi,
you can find the output here:
http://www.mi-wgnetz.de/wolf/output.txt

I hope it helps, but i doubt it, since I have a german Windows, so all of the error-messages are in german...

some translations: :)
Include-Datei kann nicht geoeffnet werden =>Include-file can not be opened
 Syntaxfehler : Fehlendes ';' vor Bezeichner 'lpSurf'  =>Syntax error: Missing ";" before identifier 'lpSurf'
 Fehlende Speicherklasse oder Typbezeichner => Missing memoryclass (?) or  typeidentifier
Bezeichner => identifier

I guess i will try compiling it with VisualStudio6...
If that doesn't work, I'll try .NET  :ick:

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Re: Newbie's compiling problems
Looks like you're missing the DirectX SDK, and the Ogg vorbis SDK in the CVS downloaded isn't part of the include path.
-C

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Newbie's compiling problems
Doesn't help that you've got your compiler on it's highest warning setting. When I did that the warnings jumped from 3 to 1100! :eek:

The current CVS is missing all the D3D8 files though. I had to place them in the D3D8 folder before I could get FS2 to compile myself.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 
Re: Newbie's compiling problems
Hi there, it's me again.
I finally found some time to try to compile again.
anyway, now the linking-process goes horribly wrong:
http://www.mi-wgnetz.de/wolf/output_2.txt
did anybody have this before?

 
Re: Newbie's compiling problems
I'm getting the EXACT same errors as you. Does anyone have a solution to this?

I downloaded everything, including the DirectX 9.0b sdk. Only thing was that I did not install runtime as I already have direct x 9.0c runtime installed. 

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Re: Newbie's compiling problems
Looks like it hasn't been updated to include new directories, libjpeg, or lua.
-C

  

Offline Backslash

  • 29
  • Bring Our Might To Bear
Re: Newbie's compiling problems
I'm running into the same problems...

I tried to update it to include the new libjpeg and lua directories, but it is still giving me unresolved external symbol errors, many mentioning lua (as far as I can tell)...
I'm using VisualStudio2003 --

--Edit:  well there's my problem, then.  :p  I took some project files (particularly Lua) from the MSVC_7 folder, added them to the MSVC_2003 folder, and it works after a couple tweaks.  I'll be glad to provide the modified solution/project files if anyone still has trouble.
« Last Edit: March 28, 2006, 11:35:56 pm by Backslash »