Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile LWR_hardware in ROS Hydro via Catkin #2

Open
amine-abm opened this issue Oct 7, 2014 · 1 comment
Open

Compile LWR_hardware in ROS Hydro via Catkin #2

amine-abm opened this issue Oct 7, 2014 · 1 comment

Comments

@amine-abm
Copy link

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?

@amine-abm 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
@amine-abm
Copy link
Author

@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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant