Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build goblin camp: Source/Task/CMakeFiles/Goblin.Task.dir/build.make:82: Source/Task/CMakeFiles/Goblin.Task.dir/Job.cpp.o #6

Open
systemdfan opened this issue Jun 4, 2022 · 3 comments

Comments

@systemdfan
Copy link

I can't build goblin camp on linux.

[ 31%] Building CXX object Source/Task/CMakeFiles/Goblin.Task.dir/Job.cpp.o
In file included from /home/anon/git/GoblinCamp/Source/Task/Job.cpp:25:
/usr/include/boost/serialization/list.hpp: In function ‘void boost::serialization::load(Archive&, std::__cxx11::list<_ValT, _Allocator>&, unsigned int)’:
/usr/include/boost/serialization/list.hpp:53:33: error: ‘library_version_type’ in namespace ‘boost::serialization’ does not name a type; did you mean ‘item_version_type’?
   53 |     const boost::serialization::library_version_type library_version(
      |                                 ^~~~~~~~~~~~~~~~~~~~
      |                                 item_version_type
/usr/include/boost/serialization/list.hpp:60:30: error: ‘library_version_type’ is not a member of ‘boost::serialization’; did you mean ‘item_version_type’?
   60 |     if(boost::serialization::library_version_type(3) < library_version){
      |                              ^~~~~~~~~~~~~~~~~~~~
      |                              item_version_type
/usr/include/boost/serialization/list.hpp:60:56: error: ‘library_version’ was not declared in this scope
   60 |     if(boost::serialization::library_version_type(3) < library_version){
      |                                                        ^~~~~~~~~~~~~~~
In file included from /home/anon/git/GoblinCamp/Include/Goblin/Entity/Entity.hpp:26,
                 from /home/anon/git/GoblinCamp/Include/Goblin/Mechanism/Construction.hpp:27,
                 from /home/anon/git/GoblinCamp/Include/Goblin/Task/Job.hpp:27,
                 from /home/anon/git/GoblinCamp/Source/Task/Job.cpp:28:
@Andres6936
Copy link
Owner

Which version of Boost do you have installed? The version needed to compile this project is Boost 55 (A bit old, I'm trying to remove this dependency).

@systemdfan
Copy link
Author

@Andres6936 I have installed libboost-all-dev 1.74.0.3. In order to build GC I have used simple way (cmake + make) without debootstrap, because debootstrap isn't working and debian jessie isn't supported anymore. Btw, I use devuan 4 (chimaera) that is associated as debian 11 bullseye.

@Andres6936
Copy link
Owner

How feasible is it for you to try to compile it with Boost version 64 - 66 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants