You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to compile Orocos and rrt in ROS hydro to run LWR packages, but i get errors :
CMake Error at /opt/ros/hydro/share/catkin/cmake/catkin_package.cmake:159 (message):
catkin_package() DEPENDS on 'rtt' which must be find_package()-ed before.
If it is a catkin package it can be declared as CATKIN_DEPENDS instead
without find_package()-ing it.
Call Stack (most recent call first):
/opt/ros/hydro/share/catkin/cmake/catkin_package.cmake:98 (_catkin_package)
lwr_packages/lwr_hardware/lwr_fri/CMakeLists.txt:9 (catkin_package)
So I modified src/lwr_packages/lwr_hardware/lwr_fri/CMakeLists.txt and remove the rtt dependancy from line 10
Then I get the following error:
/home/vision/ws/underlay/src/lwr_packages/lwr_hardware/lwr_fri/src/FRIComponent.cpp: In member function ‘void FRIComponent::doComm()’:
/home/vision/ws/underlay/src/lwr_packages/lwr_hardware/lwr_fri/src/FRIComponent.cpp:164:11: warning: ‘void tf::PoseKDLToMsg(const KDL::Frame&, geometry_msgs::Pose&)’ is deprecated (declared at /opt/ros/hydro/include/kdl_conversions/kdl_msg.h:96) [-Wdeprecated-declarations]
/home/vision/ws/underlay/src/lwr_packages/lwr_hardware/lwr_fri/src/FRIComponent.cpp:43:23: fatal error: rtdm/rtdm.h: No such file or directory
compilation terminated.
make[2]: *** [lwr_packages/lwr_hardware/lwr_fri/CMakeFiles/fricomponent.dir/src/FRIComponent.cpp.o] Error 1
make[1]: *** [lwr_packages/lwr_hardware/lwr_fri/CMakeFiles/fricomponent.dir/all] Error 2
So I commented the #ifndef HAVE_RTNET in FRIComponent.cpp file (line 33)
Is it ok to do that or I am missing other libraries or packages?
The text was updated successfully, but these errors were encountered:
amine-abm
changed the title
Compile Orocos/RTT/LWR in ROS Hydro via Catkin
Compile LWR_hardware in ROS Hydro via Catkin
Oct 8, 2014
@konradb3
The second error is resolved now, but what about the first one? Is it ok to remove rtt dependancy from line 10 of CMakeLists.txt ?
CMake Error at /opt/ros/hydro/share/catkin/cmake/catkin_package.cmake:159 (message):
catkin_package() DEPENDS on 'rtt' which must be find_package()-ed before.
If it is a catkin package it can be declared as CATKIN_DEPENDS instead
without find_package()-ing it.
Call Stack (most recent call first):
/opt/ros/hydro/share/catkin/cmake/catkin_package.cmake:98 (_catkin_package)
lwr_packages/lwr_hardware/lwr_fri/CMakeLists.txt:9 (catkin_package)
Hello,
I am trying to compile Orocos and rrt in ROS hydro to run LWR packages, but i get errors :
CMake Error at /opt/ros/hydro/share/catkin/cmake/catkin_package.cmake:159 (message):
catkin_package() DEPENDS on 'rtt' which must be find_package()-ed before.
If it is a catkin package it can be declared as CATKIN_DEPENDS instead
without find_package()-ing it.
Call Stack (most recent call first):
/opt/ros/hydro/share/catkin/cmake/catkin_package.cmake:98 (_catkin_package)
lwr_packages/lwr_hardware/lwr_fri/CMakeLists.txt:9 (catkin_package)
So I modified src/lwr_packages/lwr_hardware/lwr_fri/CMakeLists.txt and remove the rtt dependancy from line 10
Then I get the following error:
/home/vision/ws/underlay/src/lwr_packages/lwr_hardware/lwr_fri/src/FRIComponent.cpp: In member function ‘void FRIComponent::doComm()’:
/home/vision/ws/underlay/src/lwr_packages/lwr_hardware/lwr_fri/src/FRIComponent.cpp:164:11: warning: ‘void tf::PoseKDLToMsg(const KDL::Frame&, geometry_msgs::Pose&)’ is deprecated (declared at /opt/ros/hydro/include/kdl_conversions/kdl_msg.h:96) [-Wdeprecated-declarations]
/home/vision/ws/underlay/src/lwr_packages/lwr_hardware/lwr_fri/src/FRIComponent.cpp:43:23: fatal error: rtdm/rtdm.h: No such file or directory
compilation terminated.
make[2]: *** [lwr_packages/lwr_hardware/lwr_fri/CMakeFiles/fricomponent.dir/src/FRIComponent.cpp.o] Error 1
make[1]: *** [lwr_packages/lwr_hardware/lwr_fri/CMakeFiles/fricomponent.dir/all] Error 2
So I commented the #ifndef HAVE_RTNET in FRIComponent.cpp file (line 33)
Is it ok to do that or I am missing other libraries or packages?
The text was updated successfully, but these errors were encountered: