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

asked 2018-07-04 13:07:45 -0500

lucifer98 gravatar image

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.

edit retag flag offensive close merge delete


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

gvdhoorn gravatar image gvdhoorn  ( 2018-07-05 02:55:08 -0500 )edit

Did you solve it?

ipgvl gravatar image ipgvl  ( 2019-02-04 03:07:18 -0500 )edit