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

catkin_make have error about boost1.74 #303

Open
Camixxx opened this issue Sep 22, 2020 · 1 comment
Open

catkin_make have error about boost1.74 #303

Camixxx opened this issue Sep 22, 2020 · 1 comment

Comments

@Camixxx
Copy link

Camixxx commented Sep 22, 2020

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&&’

@Camixxx Camixxx changed the title catkin_make have error, in ubuntu20.04:/usr/bin/ld: /home/jillian/ROS/cat/devel/lib/libecto.so.0.6.12: undefined reference to catkin_make have error about boost1.74 Sep 23, 2020
@ninafiona
Copy link

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

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