Quickest Path to Compile

Quickest Path to Compile

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
Solidcube
Posts: 10
Joined: 22 Jun 2006, 04:33

Quickest Path to Compile

Post by Solidcube »

What's the most headache-free path to compiling Spring on Windows? In the stickied dev thread, it is unclear whether people are able to compile Spring in 2005, or if '03 is required to do so.

I currently have VS2005. That pukes, can't find SDL_Types.h. Do I need an SDL SDK installed to compile this?

I typically program on Linux, and I'm not familiar with current MS dev tools-- haven't used them much, or at all since 2000 or so. I'm just asking because oftentimes asking a question can save hours of pointless hair-tearing.

I'm much more comfortable with a GCC-like compiler. Does the current version of Spring compile successfully on MINGW?

Thanks! I'm really excited about Spring. I installed Windows last week for the sole purpose of running Spring, and now my /ingame shows 60 hours. This game is astounding. It's nothing short of amazing that you guys have made something that's so faithful to the original TA. Looks great too!

The areas I'm interested in helping with are AI and graphics. I can also do some tool development as well, for which I will use Python.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: Quickest Path to Compile

Post by Tobi »

Solidcube wrote:I typically program on Linux, and I'm not familiar with current MS dev tools-- haven't used them much, or at all since 2000 or so. I'm just asking because oftentimes asking a question can save hours of pointless hair-tearing.
You can compile spring on linux too :-)
I'm much more comfortable with a GCC-like compiler. Does the current version of Spring compile successfully on MINGW?
Yes.

Grab the spring-mingwlibs.exe mentioned in the first post of the sticky thread and follow instructions there.

Note tho that AIs developed and compiled on MinGW can't be distributed to the community because the official spring.exe is built with some version of VC, and the AI interface is C++ & STL, introducing all kinds of ABI incompatibilities between AIs compiled with different version of compiler then the one which compiled spring.exe.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Get the svn and the VCLibs package.

there's an error in the include/library paths in the VS files meanignt hey include SDL 1.2.8 but the VCLibs package has SDL 1.2.9.

That problem shouldnt exist in the release build fo the MSVS 7/2003 though
Post Reply

Return to “Engine”