Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 46

Do not understand reason for compile error

$
0
0
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?

Viewing all articles
Browse latest Browse all 46

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>