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

catkin_make have error about boost1.74 #303

Open Camixxx opened 3 years ago

Camixxx commented 3 years ago

ecto/samples/experimental/necto.cpp: connection_ptr new_conn(new connection(acceptor_.get_io_service()));

But acrroding to this:https://www.boost.org/doc/libs/1_74_0/doc/html/boost_asio/history.html The previously deprecated get_io_context and get_io_service member functions have now been removed.

So I modified it like this: connection_ptr new_conn(new connection(acceptor_.get_executor().context()));

Then:

error: no matching function for call to ‘ecto_X::connection::connection(boost::asio::execution_context&)’
  267 |         connection_ptr new_conn(new connection(acceptor_.get_executor().context()));
...  no known conversion for argument 1 from ‘boost::asio::execution_context’ to ‘ecto_X::connection&&’
ninafiona commented 3 years ago

Have you by any chance managed to solve the problem? I also came across errors when building with boost version 1.7+.