Consider the following partial application in my new Hydro installation
#include
int main(int argc, char** argv) {
//...
ros::start();
//...
}
when compiled with
g++ -I/opt/ros/hydro/include
I get the error: "undefined reference to 'ros::start()'"
There is no error about a missing include and I even included and got the same error. I can see
ROSCPP_DECL void start();
Does anybody know why I get this compile error?
↧