Cannot compile SPRING on windows

Cannot compile SPRING on windows

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
velteyn
Posts: 40
Joined: 25 Jan 2012, 10:53

Cannot compile SPRING on windows

Post by velteyn »

Hello all,
I'm trying to compile spring on windows with MinGW. But it gave me this error.

Javac file not found : sourceFiles.txt during the Java-AllInterface step..

Can someone tell me which is the current and corect development platform ? is linux ? and if so which distro ? Thank you :regret:
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Cannot compile SPRING on windows

Post by Beherith »

I have had lots of success compiling spring with vs2005. Note that this build may not sync for online play, but you can use the prebuilt for that.
velteyn
Posts: 40
Joined: 25 Jan 2012, 10:53

Re: Cannot compile SPRING on windows

Post by velteyn »

I tried yesterday with vs2009 and nothing... file not found file not found.. etc !!! :?
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Cannot compile SPRING on windows

Post by hoijui »

the CMake generated VS project files will most likely fail, there are handcrafted project files for VS in rts/build/vcstudio/ or the like. but VS is not officially supported.
the most easy and stabel way, is to compile under linux with gcc. which distro does not matter much, but ubuntu is generally most easy (not spring specific).
that file you are missing is a generated one, so there should be some error earlier, which caused it to not be generated. most likely reason for this i could think of, is that you use a too old CMake.
velteyn
Posts: 40
Joined: 25 Jan 2012, 10:53

Re: Cannot compile SPRING on windows

Post by velteyn »

my CMake is 2.8.7 .... :shock:
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: Cannot compile SPRING on windows

Post by Licho »

Welcome to the club :)
User avatar
Rafal99
Posts: 162
Joined: 14 Jan 2006, 04:09

Re: Cannot compile SPRING on windows

Post by Rafal99 »

Yeah, I am in that club too...
(Mingw fails while linking)
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Cannot compile SPRING on windows

Post by Beherith »

Try it with vs2005. vs2008 and vs2009 have not worked in my experience, but on 2005 it is hassle free.
User avatar
very_bad_soldier
Posts: 1397
Joined: 20 Feb 2007, 01:10

Re: Cannot compile SPRING on windows

Post by very_bad_soldier »

For me it worked fine with VS2008 some time ago. I had to compile some of the depened libraries myself AFAIK though.
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: Cannot compile SPRING on windows

Post by Licho »

Too afraid to install vs2005 over my vs2010 used to do important stuff..
might try in VM later..
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Cannot compile SPRING on windows

Post by Beherith »

I have 2005, 2008 and 2009 running side-by-side with no issues.
Post Reply

Return to “Help & Bugs”