I've put together a package that has everything you need to download and compile svn spring on Windows. The instructions are inside. To come later will be more automation and probably an IDE.
Version 2.0:
Zip version
Self-extracting 7z
Spring SDK
Moderator: Moderators
Spring SDK
Last edited by lurker on 13 Oct 2008, 10:37, edited 8 times in total.
Re: Spring SDK
am testing it, currently compiling. Instructions.txt worked well.
the only "problem" so far:
SpringDev/trunk/AI/Global/RAI-0.553/CodeBlocks/.svn
was missing, so i had to delete
SpringDev/trunk/AI/Global/RAI-0.553/CodeBlocks
manually for the checkout to work.
nice job as it looks so far!
thank you!
the only "problem" so far:
SpringDev/trunk/AI/Global/RAI-0.553/CodeBlocks/.svn
was missing, so i had to delete
SpringDev/trunk/AI/Global/RAI-0.553/CodeBlocks
manually for the checkout to work.
nice job as it looks so far!

thank you!
Re: Spring SDK
I've seen that folder before, or something else related to codeblocks. It has symlinks or someting in it. It has the potential to completely break the ability to use a checkout between windows and linux.
Glad to work on this, thanks.
It appears I didn't save the final instructions version before zipping. Fixed the first post.
Glad to work on this, thanks.
It appears I didn't save the final instructions version before zipping. Fixed the first post.
-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Re: Spring SDK
Some thoughts on cmake:
BINDIR, LIBDIR and DATADIR can be set to ".", they will use paths which are relative to CMAKE_INSTALL_PREFIX
besides this, good tutorial, maybe add it to the wiki?
BINDIR, LIBDIR and DATADIR can be set to ".", they will use paths which are relative to CMAKE_INSTALL_PREFIX
besides this, good tutorial, maybe add it to the wiki?
Re: Spring SDK
Version Two!
Cmake now autodetects the libraries, and instructions are almost up to date.
Cmake now autodetects the libraries, and instructions are almost up to date.
Re: Spring SDK
Awesome! Worked except for the problem with having to delete the AI folder that was causing problems as said before.
Also, I was getting errors for having bad values for the -march and -mtune switches (they were set to 'native'), so I set MARCH_FLAG in cmake to 'i686' and it worked.
EDIT: Actually, I get this at about 64%:
EDIT2: fixed... found the problem...
In the link.txt file it looks like this:
I fixed it by changing CMakeLists.txt:
from
to
Dunno if that's a proper fix, but it worked.
Also, I was getting errors for having bad values for the -march and -mtune switches (they were set to 'native'), so I set MARCH_FLAG in cmake to 'i686' and it worked.
EDIT: Actually, I get this at about 64%:
Code: Select all
Linking CXX executable spring.exe
g++.exe: ilu: No such file or directory
mingw32-make.exe[2]: *** [rts/spring.exe] Error 1
mingw32-make.exe[1]: *** [rts/CMakeFiles/spring.dir/all] E
mingw32-make.exe: *** [all] Error 2
In the link.txt file it looks like this:
Code: Select all
-logg -lfreetype -ldevil ilu lib\liblua.a
from
Code: Select all
set (DEVIL_ILU_LIBRARY ilu)
set (DEVIL_LIBRARIES "devil ${DEVIL_ILU_LIBRARY}")
Code: Select all
set (DEVIL_ILU_LIBRARY ilu)
set (DEVIL_LIBRARIES "devil -l${DEVIL_ILU_LIBRARY}")
Re: Spring SDK
nice, I will be trying this in the next few days.