ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
The first linking error:
dev_camera1394.cpp:(.text+0xe28): undefined reference to `ros::console::initializeLogLocation(ros::console::LogLocation*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, ros::console::levels::Level)'
dev_camera1394.cpp:(.text+0xe62): undefined reference to `ros::console::setLogLocationLevel(ros::console::LogLocation*, ros::console::levels::Level)'
dev_camera1394.cpp:(.text+0xe6e): undefined reference to `ros::console::checkLogLocationEnabled(ros::console::LogLocation*)'
Occurs because the package camera1394
is not linking against rosconsole
, I think that this unlikely to be a complete error log, but instead occurred when rosconsole
could not be found by rosmake
.
The second error is because a rosbuild package's name is based on its folder name. In this case a dynamic reconfigure file is declaring its package to be camera1394
:
PACKAGE='camera1394'
import roslib; roslib.load_manifest(PACKAGE)
But cannot find it at build time:
rospkg.common.ResourceNotFound: camera1394
This is because you have the package in the folder /root/catkin_ws/src/camera1394-groovy-devel/
, making the package name camera1394-groovy-devel
rather than just camera1394
.
To resolve this, rename that folder to camera1394
and rebuild it.
Additionally, you should not be mixing catkin
and rosbuild
workspaces, their workspaces are orthogonal, instead you should have a folder structure like this:
catkin_ws/
src/
catkin_pkg1/
catkin_pkg2/
...
install/
setup.bash
...
rosbuild_ws/
setup.bash
...
rosbuild_stack1
rosbuild_stack2
Where you build the catkin_ws
with catkin_make install
, then source catkin_ws/install/setup.bash
before creating and building the rosbuild_ws
workspace.