plasmodic / ecto

ecto is a dynamically configurable Directed Acyclic processing Graph (DAG) framework.
http://ecto.willowgarage.com/
BSD 3-Clause "New" or "Revised" License
97 stars 37 forks source link

Boost 1.62 compile time error in tests #294

Open stonier opened 7 years ago

stonier commented 7 years ago

Reported by @drmateo who was trying to build the library tests using boost 1.62.

But I've detected the problem is situated in the TEST(SerialTest, Plasm) in the file named test/cpp/serialization.cpp . The error message of the problem throw in compilation time is:

Undefined symbols for architecture x86_64: "void ecto::plasm::load<boost::archive::binary_iarchive>
(boost::archive::binary_iarchive&, unsigned int)", referenced from: void 
boost::serialization::access::member_load<boost::archive::binary_iarchive, ecto::plasm>
(boost::archive::binary_iarchive&, ecto::plasm&, unsigned int) in serialization.cpp.o "void 
ecto::plasm::save<boost::archive::binary_oarchive>(boost::archive::binary_oarchive&, unsigned int) 
const", referenced from: void 
boost::serialization::access::member_save<boost::archive::binary_oarchive, ecto::plasm const>
(boost::archive::binary_oarchive&, ecto::plasm const&, unsigned int) in serialization.cpp.o

Some previous discussion in #293.

stonier commented 7 years ago

Note: Ubuntu Xenial is officially supporting 1.58.

drmateo commented 7 years ago

yes, that the reason because a didn't notice the problem until I tried to build it in a OSX system. Here, I'm using Hombrew has a package manager and that system provides boost 1.62