Page 1 of 1
Cannot compile SPRING on windows
Posted: 25 Jan 2012, 11:11
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

Re: Cannot compile SPRING on windows
Posted: 25 Jan 2012, 13:26
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.
Re: Cannot compile SPRING on windows
Posted: 25 Jan 2012, 14:03
by velteyn
I tried yesterday with vs2009 and nothing... file not found file not found.. etc !!!

Re: Cannot compile SPRING on windows
Posted: 25 Jan 2012, 15:51
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.
Re: Cannot compile SPRING on windows
Posted: 25 Jan 2012, 17:59
by velteyn
my CMake is 2.8.7 ....

Re: Cannot compile SPRING on windows
Posted: 25 Jan 2012, 20:35
by Licho
Welcome to the club :)
Re: Cannot compile SPRING on windows
Posted: 26 Jan 2012, 15:56
by Rafal99
Yeah, I am in that club too...
(Mingw fails while linking)
Re: Cannot compile SPRING on windows
Posted: 26 Jan 2012, 16:10
by Beherith
Try it with vs2005. vs2008 and vs2009 have not worked in my experience, but on 2005 it is hassle free.
Re: Cannot compile SPRING on windows
Posted: 26 Jan 2012, 19:39
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.
Re: Cannot compile SPRING on windows
Posted: 30 Jan 2012, 00:25
by Licho
Too afraid to install vs2005 over my vs2010 used to do important stuff..
might try in VM later..
Re: Cannot compile SPRING on windows
Posted: 30 Jan 2012, 00:38
by Beherith
I have 2005, 2008 and 2009 running side-by-side with no issues.