Robotics StackExchange | Archived questions

ROS cpp doesn't work : undefined reference to ros::init

I tried to compile Erle robotics' talker-listener package. I got an error: undefined reference to `ros::init(int&, char**, std::string const&, unsigned int)'. The error is only for c++. Python projects don't give any build errors.

Asked by lucifer98 on 2018-07-04 13:07:45 UTC

Comments

Seeing std::string in there makes me wonder if this is not a c++11 problem.

Asked by gvdhoorn on 2018-07-05 02:55:08 UTC

Did you solve it?

Asked by ipgvl on 2019-02-04 04:07:18 UTC

Answers