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.
Seeing
std::string
in there makes me wonder if this is not a c++11 problem.Did you solve it?