Forum index VCMI Project - Heroes 3: WoG recreated
Forum of the project aiming to recreate best turn-based strategy ever!

FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  StatisticsStatistics
RegisterRegister  Log inLog in  AlbumAlbum  DownloadDownload

Previous topic :: Next topic
Compile from source on Linux - Boost issues
Author Message
hkoehler

Joined: 11 Jul 2017
Posts: 14
Posted: 2017-07-18, 22:43   Compile from source on Linux - Boost issues

I've been trying to compile the game from source on Ubuntu 14.04. First I ran into issues with BOOST_HELP being unknown, which was introduced in boost 1.59 (and the lastest boost verstion available via Ubuntu repo is 1.58). So I manually installed boost 1.64, but now I run into different issues when trying to compile, starting with:
Code:

Linking CXX executable ../build/vcmiserver
CMakeFiles/vcmiserver.dir/CGameHandler.cpp.o: In function `sleep':
/usr/local/include/boost/thread/pthread/thread_data.hpp:278: undefined reference to `boost::this_thread::hidden::sleep_until(timespec const&)'

along with a bunch of similar boost-related errors.

Is there a particular boost version that vcmi requires? Or does this look like I stuffed up the manual boost install? Any help would be appreciated.
 
     
SXX 
VCMI programmer

Age: 25
Joined: 04 Jul 2014
Posts: 389
Posted: 2017-07-22, 13:17   

I suppose Boost should cause less issues now since automated tests using GoogleTest and all other Boost libraries we using can be much older and would still work fine. If you still have problems with Boost please join our slack and ping me about that:
https://slack.vcmi.eu/

And yeah our Travis CI builds using Boost 1.54 and it's seems to work just fine. Though it's past we had -DENABLE_TEST=0 for Travis.
 
     
Display posts from previous:   
Reply to topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Add this topic to your bookmarks
Printable version

Jump to:  

Powered by phpBB modified by Przemo © 2003 phpBB Group

Hosting provided by DigitalOcean
Page generated in 0.02 second. SQL queries: 12