ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2012-08-20 00:29:14 -0500 | received badge | ● Famous Question (source) |
2012-07-26 08:15:14 -0500 | received badge | ● Supporter (source) |
2012-04-29 08:18:05 -0500 | received badge | ● Notable Question (source) |
2012-01-16 22:16:38 -0500 | received badge | ● Popular Question (source) |
2011-06-23 06:12:52 -0500 | received badge | ● Scholar (source) |
2011-06-23 06:12:52 -0500 | marked best answer | using basic ros headers, linking error An undefined reference is almost always a missing library in the link step. Just shooting in the dark, I would guess you're missing a dependency on " running rosmake with: Will print the exact lines used to compile and link. You could then verify one way or another that the library was linked in. In some way or another, roslib is not being linked in. Your CMakeLists.txt is way more complicated than it probably should be. Some of the default ros stuff is probably getting undone in one of your sets. Try simplifying. |
2011-06-23 06:12:48 -0500 | commented answer | using basic ros headers, linking error thank you guys. i took your advice dornhege, finally compiles now. |
2011-06-23 03:05:07 -0500 | commented answer | using basic ros headers, linking error yes, I use #include <ros/ros.h> (compiler can't find header using #include <ros.h>) |
2011-06-22 10:12:23 -0500 | commented answer | using basic ros headers, linking error I added that to the manifest as well, still didn't help. the compilation for the tutorial gives the impression that linking with ros is a few short lines... |
2011-06-22 09:41:37 -0500 | received badge | ● Student (source) |
2011-06-22 09:30:26 -0500 | commented answer | using basic ros headers, linking error okay. roscpp looks like it's in there...I updated the question with the output |
2011-06-22 08:49:40 -0500 | commented answer | using basic ros headers, linking error unfortunately, I tried that already |
2011-06-22 08:24:17 -0500 | received badge | ● Editor (source) |
2011-06-22 08:18:28 -0500 | asked a question | using basic ros headers, linking error I am trying to set up a custom-built ogre application that requires ogre 1.7.3, and the ogre built into ros does not contain the definitions needed. So I have customized the CMakeLists.txt file of a package I am creating, and when trying to use the listener and talker functionality as mentioned in the tutorials, I get a bunch of compiling errors like this one (all 'undefined references'):
Here is the specific compilation command of running rosmake verbosely ...continued(these next lines are all one line)
Solved: I took the advice of ... (more) |