What do I need to build spring in windows 7

What do I need to build spring in windows 7

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
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

What do I need to build spring in windows 7

Post by smoth »

I need a list of libraries and what version of visual studio I need. I am sick of some shit and want to see it fixed.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6240
Joined: 29 Apr 2005, 01:14

Re: What do I need to build spring in windows 7

Post by FLOZi »

Use mingw Image
User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Re: What do I need to build spring in windows 7

Post by SinbadEV »

I think this guy managed to do whet you are trying to do and Eclipse is a pretty good Visual Studio replacement IDE last time I poked it...

http://springrts.com/phpbb/viewtopic.ph ... 22#p521364
velteyn wrote:I had success with eclipse + Windows.

Download the official tarball
Download Cmake for windows
Download MinGW dependencies and also MinGW itself.
follow this guide http://springrts.com/wiki/Building_Spring_on_Windows

until Cmake BUT change target from MinGW to eclipse makefile
.
Turn on eclipse and import the project from filesystem.
Change into eclise buil taarget from all (not working) to install-spring.
I had also the debugger working perfectly in a free environment !!
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: What do I need to build spring in windows 7

Post by Beherith »

Visual studio 2005 is all you need.

For libs, the vclibs for vs8 is supplied from the spring github site.

One thing to note is that VS builds probably wont sync with normal builds.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: What do I need to build spring in windows 7

Post by AF »

Someone also mentioned something haywire about AIs and VS builds of spring, the only thing I can say with confidence is that VS AIs work with Mingw32 builds ( as is expected )
User avatar
Deadnight Warrior
Posts: 183
Joined: 08 Jun 2009, 17:59

Re: What do I need to build spring in windows 7

Post by Deadnight Warrior »

All the relevant info about Visual Studio is on the wiki.
If you plan using VS2008, I update the project files every ~2 weeks so they should work (and vclibs for VS2008 when necessary), for VS2005 the project files and vclibs are regularly maintained by zerver.

For VS2010 you must upgrade the project files for VS2008 and make your own vclibs (should only be related to finding boost libs for VS2010) so I can't recomend it unless you really insist using it (it was the same situation for VS2008 two years ago until I made vclibs and updated project files).

VS2008 (as does VS2010) supports OpenMP 2.0 extensions (not really relevant), which I tried and it works.
AF wrote:Someone also mentioned something haywire about AIs and VS builds of spring, the only thing I can say with confidence is that VS AIs work with Mingw32 builds ( as is expected )
I did. Any non-LUA AI I tired using on VS2008 build of Spring failed and crashed the engine along.
Beherith wrote:One thing to note is that VS builds probably wont sync with normal builds.
It won't sync for sure, tried and syncdebuged, but compilers just produce incompatible code. But for development purposes that doesn't matter at all.
User avatar
Peet
Malcontent
Posts: 4383
Joined: 27 Feb 2006, 22:04

Re: What do I need to build spring in windows 7

Post by Peet »

FLOZi wrote:Use mingw Image
There is a pretty strong note of truth to this despite it being a banana. MSYS is pretty nice.
Post Reply

Return to “Engine”