[Ubuntu] Error on building from sources

[Ubuntu] Error on building from sources

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

Moderator: Moderators

Post Reply
Tokeiito
Posts: 1
Joined: 27 Jul 2009, 19:44

[Ubuntu] Error on building from sources

Post by Tokeiito »

Spring ver: 0.79.1.2
OS: Kubuntu 9.04

Error on "make".

**/spring_0.79.1.2/rts/System/FileSystem/ArchiveScanner.cpp: In member function ÔÇÿvoid CArchiveScanner::WriteCacheData(const std::string&)ÔÇÖ:
**/spring_0.79.1.2/rts/System/FileSystem/ArchiveScanner.cpp:651: warning: format ÔÇÿ%luÔÇÖ expects type ÔÇÿlong unsigned intÔÇÖ, but argument 3 has type ÔÇÿsize_tÔÇÖ

and

**/spring_0.79.1.2/rts/System/Sound/Music.cpp: In function ÔÇÿvoid music::UpdateMusicStream()ÔÇÖ:
**/spring_0.79.1.2/rts/System/Sound/Music.cpp:30: error: ÔÇÿboost::this_threadÔÇÖ has not been declared
**/spring_0.79.1.2/rts/System/Sound/Music.cpp:30: error: ÔÇÿboost::posix_timeÔÇÖ has not been declared
make[2]: *** [rts/CMakeFiles/spring.dir/System/Sound/Music.cpp.o] Error 1
make[1]: *** [rts/CMakeFiles/spring.dir/all] Error 2
make: *** [all] Error 2
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: [Ubuntu] Error on building from sources

Post by koshi »

packages (if you're not hell bent on compiling): http://springlobby.info/wiki/springlobby/Install#Ubuntu

edit: the error being you don't have all boost deps installed
umarzuki
Posts: 25
Joined: 25 Jan 2009, 03:03

Re: [Ubuntu] Error on building from sources

Post by umarzuki »

you need at least libboost1.35-dev

Code: Select all

sudo aptitude install libboost1.35-dev
YokoZar
Posts: 883
Joined: 15 Jul 2007, 22:02

Re: [Ubuntu] Error on building from sources

Post by YokoZar »

koshi wrote:packages (if you're not hell bent on compiling): http://springlobby.info/wiki/springlobby/Install#Ubuntu

edit: the error being you don't have all boost deps installed
If you want to compile on your own your best bet is sudo apt-get build-dep spring-engine (after adding the repository there)
Post Reply

Return to “Linux”