Debian Wheezy 7 failed compilation (Spring 97.0)

Debian Wheezy 7 failed compilation (Spring 97.0)

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

Post Reply
Zelenavoda
Posts: 2
Joined: 28 Jun 2014, 22:33

Debian Wheezy 7 failed compilation (Spring 97.0)

Post 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
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Debian Wheezy 7 failed compilation (Spring 97.0)

Post 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
Zelenavoda
Posts: 2
Joined: 28 Jun 2014, 22:33

Re: Debian Wheezy 7 failed compilation (Spring 97.0)

Post 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.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Debian Wheezy 7 failed compilation (Spring 97.0)

Post 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...
Post Reply

Return to “Linux”