Page 1 of 1

[Ubuntu] Error on building from sources

Posted: 27 Jul 2009, 19:47
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

Re: [Ubuntu] Error on building from sources

Posted: 27 Jul 2009, 20:35
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

Re: [Ubuntu] Error on building from sources

Posted: 02 Aug 2009, 18:07
by umarzuki
you need at least libboost1.35-dev

Code: Select all

sudo aptitude install libboost1.35-dev

Re: [Ubuntu] Error on building from sources

Posted: 03 Aug 2009, 15:32
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)