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

Trouble Including rosbag

$
0
0
Hello, I am trying to follow this tutorial: http://wiki.ros.org/rosbag/Code%20API#cpp_api , but am running into errors with the inclusion of rosbag. When I try to run the example code, I get a jillion lines of errors all saying something like this: undefined reference to rosbag:somethingOrOther. However, I don't know what I'm doing wrong. I included rosbag/bag.h and rosbag/view.h in my C++ source file, and I believe I've linked the libraries correctly in my CMakelists file: add_executable(rosbagger src/rosbagger.cpp) target_link_libraries(rosbagger ${catkin_LIBRARIES}) Anyone know whats going wrong?

Viewing all articles
Browse latest Browse all 475

Trending Articles



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