Page 1 of 1

Debian Wheezy 7 failed compilation (Spring 97.0)

Posted: 29 Jun 2014, 10:26
by Zelenavoda
Hello,
I tried to compile spring engine with help of http://springrts.com/wiki/Build_from_source, installed all of the dependencies, ran make spring, but I got some errors:
Scanning dependencies of target KAIK
[ 91%] Building CXX object AI/Skirmish/KAIK/CMakeFiles/KAIK.dir/PathFinder.cpp.o
c++: error: folder/spring/rts/lib/lua/include/: Folder or file doesn't exist
c++: error: folder/spring/rts/lib/lua/src/: Folder or file doesn't exist
c++: error: folder/spring/rts/lib/streflop/: Folder or file doesn't exist
make[3]: *** [AI/Skirmish/KAIK/CMakeFiles/KAIK.dir/PathFinder.cpp.o] Error 1
make[2]: *** [AI/Skirmish/KAIK/CMakeFiles/KAIK.dir/all] Error 2
make[1]: *** [rts/builds/CMakeFiles/spring.dir/rule] Error 2
make: *** [spring] Error 2
tomas@Bender:/mnt/Data/tomas/Temp. složka/spring$

though, when I look for these folders, I find them where they should be.
I use gcc 4.7.2, make 3.8.1, cmake 2.8.11

Re: Debian Wheezy 7 failed compilation (Spring 97.0)

Posted: 29 Jun 2014, 21:24
by abma
"Temp. složka" -> remove the special char/space from the folder and it should work.

http://springrts.com/mantis/view.php?id=4462

Re: Debian Wheezy 7 failed compilation (Spring 97.0)

Posted: 29 Jun 2014, 22:54
by Zelenavoda
abma wrote:"Temp. složka" -> remove the special char/space from the folder and it should work.

http://springrts.com/mantis/view.php?id=4462
Thank you, the compilation went smooth, so as installation. I downloaded NOTA, put it into ~/.spring/games/, downloaded a Rolling Hills map and chosen bug AI to test it, when the game started, map loaded and counted to zero, there was nothing on the map and some errors said something about "LUPS couldn't be loaded", as seen there http://i.imgur.com/1CjPwTF.jpg.

Re: Debian Wheezy 7 failed compilation (Spring 97.0)

Posted: 29 Jun 2014, 22:57
by abma
very likely NOTA isn't compatible to spring 97.0 (needs some older version of spring) or you've used an old version of NOTA...