Compiling problems under Windows

Compiling problems under Windows

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
SDBryan
Posts: 10
Joined: 23 May 2010, 06:24

Compiling problems under Windows

Post by SDBryan »

I'm having problems compiling the code under Windows (I am using Windows 7, using both VS2008 and VS2010; which I am going to do that). The most common errors I encountered during this process are missing required header files (and library files I think) that I can handle by searching the web for relevant libraries, and the code mistakes. Has anyone encountered similar problems?
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: Compiling problems under Windows

Post by koshi »

http://springrts.com/wiki/Building_Spri ... ngwlibs.29
For getting actual help your post is way too vague.
SDBryan
Posts: 10
Joined: 23 May 2010, 06:24

Re: Compiling problems under Windows

Post by SDBryan »

I got, but I'm getting these coding mistakes (ambiguous call, etc.) anyway.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Compiling problems under Windows

Post by hoijui »

the thing is, that one of the main spring devs is using visual studio to develop spring, and there are others that use it too. in other words, it is you doing something wrong, and without giving us much better info then "there are coding problems", you will not get any further.
maybe start with how exactly you set it up locally, where did you find the visual studio project? where did you get the vclibs from, which VS version do you use? give a compile log, ...
when attaching files like logs, attach them as files, not as text or quote in the post.
always give complete logs, not just the part of the error you think matters.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Compiling problems under Windows

Post by AF »

Of note, there is no such thing as Visual Studio 2009, might want to rename the description to say 2008 instead
User avatar
Deadnight Warrior
Posts: 183
Joined: 08 Jun 2009, 17:59

Re: Compiling problems under Windows

Post by Deadnight Warrior »

The current vclibs for VS2008 are outdated, and I haven't made any new since over a year. The project files from VS9 folder are even older and if you read the Building Spring on Windows using VS2008 then you would know a bit more than you showed here.

Mostly you need the latest GLEW, OpenAL, Boost (1.39 and up), DevIL, and other things found in the vclibs libraries, then open VS8 project and upgrade it to VS9.

I've never tried using VS2010 and since some stuff is deprecated compared to VS2008 and even more to VS2005, I can't help.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Compiling problems under Windows

Post by AF »

Actually I was just referring to the fact that on github, the VC9 download has Visual Studio 2009 in the description which is incorrect, no such product was ever released. I make no claims as to the status of the contents of said download or VCLibs in general
User avatar
Deadnight Warrior
Posts: 183
Joined: 08 Jun 2009, 17:59

Re: Compiling problems under Windows

Post by Deadnight Warrior »

I didn't mean you AF but the topic protagonist SDBryan.
I'm currently working on new VCLibs for VS2008. If I manage to compile current master I'll ask someone with github access rights to upload them. Last time it was zerver and he's the one that most likely made the typo about VS2009. Since he uses VS2005, any questions related to incompatibilities among Visual Studios are best redirected to Microsoft and not him.
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Compiling problems under Windows

Post by Beherith »

I use vs2005 (vs8) and it compiles without a single error straight from github sources. You might want to look into that.
Post Reply

Return to “Engine”