hsnuhayato / rtm-ros-robotics

Automatically exported from code.google.com/p/rtm-ros-robotics
0 stars 0 forks source link

catkin build problem #215

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by emijah.s on 24 Sep 2013 at 7:06

GoogleCodeExporter commented 9 years ago
After following the instructions on the catkin build page for hiro, I get the 
following error.

-- +++ processing catkin package: 'HRP2JSK_moveit_config'
-- ==> 
add_subdirectory(rtm-ros-robotics/rtmros_gazebo/moveit_configs/HRP2JSK_moveit_co
nfig)
WARNING: Package name "HRP2JSK_moveit_config" does not follow the naming 
conventions. It should start with a lower case letter and only contain lower 
case letters, digits and underscores.
-- +++ processing catkin package: 'SampleRobot_moveit_config'
-- ==> 
add_subdirectory(rtm-ros-robotics/rtmros_gazebo/moveit_configs/SampleRobot_movei
t_config)
WARNING: Package name "SampleRobot_moveit_config" does not follow the naming 
conventions. It should start with a lower case letter and only contain lower 
case letters, digits and underscores.
-- +++ processing catkin package: 'openrtm_aist'
-- ==> 
add_subdirectory(rtm-ros-robotics/openrtm_common/openrtm_aist_core/openrtm_aist)
make: Nothing to be done for `all'.
copy binary files 
copy shared files 
CMake Error at /opt/ros/groovy/share/catkin/cmake/catkin_package.cmake:335 
(message):
  catkin_package() include dir
  '/tmp/buildd/ros-groovy-openrtm-aist-1.1.0-7precise-20130823-0908/include'
  is neither an absolute directory nor exists relative to
  '/home/hajime/catkin_ws/src/rtm-ros-robotics/openrtm_common/openrtm_aist_core/openrtm_aist'
Call Stack (most recent call first):
  /opt/ros/groovy/share/catkin/cmake/catkin_package.cmake:98 (_catkin_package)
  rtm-ros-robotics/openrtm_common/openrtm_aist_core/openrtm_aist/catkin.cmake:55 (catkin_package)
  rtm-ros-robotics/openrtm_common/openrtm_aist_core/openrtm_aist/CMakeLists.txt:2 (include)

-- Configuring incomplete, errors occurred!
Invoking "cmake" failed
hajime@eskarina:~/catkin_ws$ 

Thinking of trying again after installing the binary version of OpenRTM

Original comment by emijah.s on 24 Sep 2013 at 7:12

GoogleCodeExporter commented 9 years ago
I think you need to 
source /opt/ros/groovy/setup.bash
to clean up ROS environment variables, before start catkin_make.

> Thinking of trying again after installing the binary version of OpenRTM

That's would be very bad idea, since problem is that you already installed 
binary veresion of openrtm (ros-groovy-openrtm-aist) that confuses cmake, so 
removing ros-groovy-openrtm-aist should work.

Original comment by kei.ok...@gmail.com on 24 Sep 2013 at 7:28

GoogleCodeExporter commented 9 years ago
Yes, that worked. Thank you.

Original comment by emijah.s on 24 Sep 2013 at 8:32

GoogleCodeExporter commented 9 years ago
which one? 
removing ros-groovy-openrtm-aist ? or sourcing /opt/ros/groovy/setup.bash ?

Original comment by kei.ok...@gmail.com on 24 Sep 2013 at 8:40

GoogleCodeExporter commented 9 years ago
Although I'm not clear about what's happening, one thing is the version of the 
binary being used (and available on ROS' official binary repository) is a bit 
older. 

# This is an expected delay because ROS team has been working to migrate their 
servers this month.

I added a workaround section to install newer binaries.
http://code.google.com/p/rtm-ros-robotics/wiki/hironx_ros_bridge_en?ts=138001658
7&updated=hironx_ros_bridge_en#Adjust_to_preliminary_.deb_repository_ROS

Original comment by gm130s on 24 Sep 2013 at 10:00

GoogleCodeExporter commented 9 years ago
Closing since it looks like the issue is gone with the original reporter.

Original comment by gm130s on 9 Oct 2013 at 4:28