Compiling engine in Windows

Compiling engine in 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
Dakara
Posts: 4
Joined: 01 Apr 2017, 00:04

Compiling engine in Windows

Post by Dakara »

So I've got round to downloading the source code :), but according to the wiki page https://springrts.com/wiki/Building_Spring_on_Windows there seems to be a number of issues when compiling with visual studio, so..

1) Is the wiki page still accurate in terms of official support for Visual Studio?
2) Is the experimental build of the code with Visual Studio limited to VS2012 (or at least only tested with this version)?
3) What are the platform(s) & compiler(s) used by currently active users?

Thanks for any replies!
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Compiling engine in Windows

Post by abma »

Dakara wrote:1) Is the wiki page still accurate in terms of official support for Visual Studio?
IMO yes: https://springrts.com/mediawiki/index.p ... on=history
there were some commits related to MSVC, so it maybe compiles.
Dakara wrote: 2) Is the experimental build of the code with Visual Studio limited to VS2012 (or at least only tested with this version)?
i guess so, yes.
Dakara wrote: 3) What are the platform(s) & compiler(s) used by currently active users?
i guess you mean developers? Mostly linux. The buildslaves currently run on linux, too. IMO debian or ubuntu should work best to compile spring. I'm currently using Debian 8.7 jessie for compiling spring, the automatic tests use ubuntu trusty: https://github.com/spring/spring/blob/d ... travis.yml
Dakara
Posts: 4
Joined: 01 Apr 2017, 00:04

Re: Compiling engine in Windows

Post by Dakara »

abma wrote: i guess you mean developers? Mostly linux. The buildslaves currently run on linux, too. IMO debian or ubuntu should work best to compile spring. I'm currently using Debian 8.7 jessie for compiling spring, the automatic tests use ubuntu trusty: https://github.com/spring/spring/blob/d ... travis.yml
Yea, just developers :).

In regards to development then, is there a preferred IDE? or is one not used?
Super Mario
Posts: 823
Joined: 21 Oct 2008, 02:54

Re: Compiling engine in Windows

Post by Super Mario »

Dakara wrote:
abma wrote: i guess you mean developers? Mostly linux. The buildslaves currently run on linux, too. IMO debian or ubuntu should work best to compile spring. I'm currently using Debian 8.7 jessie for compiling spring, the automatic tests use ubuntu trusty: https://github.com/spring/spring/blob/d ... travis.yml
Yea, just developers :).

In regards to development then, is there a preferred IDE? or is one not used?
It uses cmake to generate the build/project files.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6241
Joined: 29 Apr 2005, 01:14

Re: Compiling engine in Windows

Post by FLOZi »

I just successfully built current git head with GCC 4.9.0 and CMake 3.4.1 on Win 7, afaik this setup is still from current wiki. :-)
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: Compiling engine in Windows

Post by Silentwings »

is there a preferred IDE?
Not officially - I prefer codeblocks (with project files generated by cmake).
hokomoko
Spring Developer
Posts: 593
Joined: 02 Jun 2014, 00:46

Re: Compiling engine in Windows

Post by hokomoko »

Dakara wrote:1) Is the wiki page still accurate in terms of official support for Visual Studio?
More or less
Dakara wrote:2) Is the experimental build of the code with Visual Studio limited to VS2012 (or at least only tested with this version)?
No, MadrMan and I made spring build on VS2015. The main difference is that instead of cloning vclibs11, you clone vclibs14.

Feel free to pm me if you encounter issues.
Dakara wrote:3) What are the platform(s) & compiler(s) used by currently active users?
I'm mostly using mingw-w64 4.9.3 32-bit on Win10.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6241
Joined: 29 Apr 2005, 01:14

Re: Compiling engine in Windows

Post by FLOZi »

hokomoko wrote:
Dakara wrote:1) Is the wiki page still accurate in terms of official support for Visual Studio?
More or less
Dakara wrote:2) Is the experimental build of the code with Visual Studio limited to VS2012 (or at least only tested with this version)?
No, MadrMan and I made spring build on VS2015. The main difference is that instead of cloning vclibs11, you clone vclibs14.

Feel free to pm me if you encounter issues.
Dakara wrote:3) What are the platform(s) & compiler(s) used by currently active users?
I'm mostly using mingw-w64 4.9.3 32-bit on Win10.
https://youtu.be/QwOU3bnuU0k?t=74 :oops:
Post Reply

Return to “Engine”