Ask Your Question
0

rosmak error - ivcon: Command not found

asked 2014-03-09 07:58:57 -0500

seredin gravatar image

updated 2014-03-09 07:59:37 -0500

Hello all!

I can't compiling package katana_description. I have this error:

[ rosmake ] Last 40 linestana_description: 3.5 sec ] [ 1 Active 42/43 Complete ]
{-------------------------------------------------------------------------------
  -- Using CMAKE_PREFIX_PATH: /home/max/hydro_ws/devel;/opt/ros/hydro
  -- This workspace overlays: /home/max/hydro_ws/devel;/opt/ros/hydro
  -- Using PYTHON_EXECUTABLE: /usr/bin/python
  -- Using Debian Python package layout
  -- Using CATKIN_ENABLE_TESTING: ON
  -- Skip enable_testing() for dry packages
  -- Using CATKIN_TEST_RESULTS_DIR: /home/max/hydro_ros_ws/katana_driver/katana_description/build/test_results
  -- Found gtest sources under '/usr/src/gtest': gtests will be built
  -- catkin 0.5.81
  [rosbuild] Including /opt/ros/hydro/share/roslisp/rosbuild/roslisp.cmake
  [rosbuild] Including /opt/ros/hydro/share/roscpp/rosbuild/roscpp.cmake
  [rosbuild] Including /opt/ros/hydro/share/rospy/rosbuild/rospy.cmake
  -- Configuring done
  -- Generating done
  CMake Warning:
    Manually-specified variables were not used by the project:

      CMAKE_TOOLCHAIN_FILE


  -- Build files have been written to: /home/max/hydro_ros_ws/katana_driver/katana_description/build
  cd build && make -j2 -l2
  make[1]: Entering directory `/home/max/hydro_ros_ws/katana_driver/katana_description/build'
  make[2]: Entering directory `/home/max/hydro_ros_ws/katana_driver/katana_description/build'
  make[3]: Entering directory `/home/max/hydro_ros_ws/katana_driver/katana_description/build'
  make[3]: Leaving directory `/home/max/hydro_ros_ws/katana_driver/katana_description/build'
  make[3]: Entering directory `/home/max/hydro_ros_ws/katana_driver/katana_description/build'
  [  3%] [  3%] Generating ../meshes/katana/convex/katana_motor2_lift_link.obj
  Generating ../meshes/katana/convex/katana_gripper_l_finger.obj
  make[3]: ivcon: Command not found
  make[3]: ivcon: Command not found
  make[3]: *** [../meshes/katana/convex/katana_gripper_l_finger.obj] Error 127
  make[3]: *** Waiting for unfinished jobs....
  make[3]: *** [../meshes/katana/convex/katana_motor2_lift_link.obj] Error 127
  make[3]: Leaving directory `/home/max/hydro_ros_ws/katana_driver/katana_description/build'
  make[2]: *** [CMakeFiles/media_files.dir/all] Error 2
  make[2]: Leaving directory `/home/max/hydro_ros_ws/katana_driver/katana_description/build'
  make[1]: *** [all] Error 2
  make[1]: Leaving directory `/home/max/hydro_ros_ws/katana_driver/katana_description/build'

I already install package invoc from https://github.com/ros/ivcon , but it can't halpe me. (ubuntu 12.04, hydro) How I can fix it ?

edit retag flag offensive close merge delete

3 Answers

Sort by » oldest newest most voted
1

answered 2015-02-13 04:23:27 -0500

updated 2015-02-13 04:25:01 -0500

@iandanforth's answer should work, but you don't even need to build from source. Just do:

sudo apt-get install ros-hydro-ivcon ros-hydro-convex-decomposition

After that, the necessary binaries will be located in /opt/ros/hydro/bin, so if you've sourced setup.bash, they should be on your $PATH.

edit flag offensive delete link more
0

answered 2014-03-09 21:26:27 -0500

BennyRe gravatar image

I once had the same problem while installing the katana package.

I resolved it by locating the ivcon executable and adding its directory temporarily to my PATH.

In my case after ivcon another program couldn't be found.

You only need to add them to PATH for the initial installation.

edit flag offensive delete link more

Comments

It halp, but i have new error. convex_decomposition: Command not found I am try build this packeg command catkin_make --pkg convex_decomposition and i get: Packages "convex_decomposition" not found in the workspace Can you help?

seredin gravatar imageseredin ( 2014-03-11 00:48:41 -0500 )edit
1

Why do you want to build it? Just do sudo apt-get install ros-hydro-convex-decomposition

BennyRe gravatar imageBennyRe ( 2014-03-11 01:07:20 -0500 )edit
0

answered 2015-01-01 15:59:01 -0500

iandanforth gravatar image

I was able to solve a similar error using this method

mkdir -p temp_ws/src
cd temp_ws/src
catkin_init_workspace
wstool init .

create a file temp.rosinstall with these contents

- git: {local-name: ivcon, uri: 'https://github.com/ros/ivcon.git', version: master}
- git: {local-name: convex_decomposition, uri: 'https://github.com/ros/convex_decomposition.git', version: master}

then

wstool merge temp.rosinstall
wstool update
cd ..
catkin_make
source devel/setup.bash

Now you'll have ivcon and complex_decomposition commands available, return to the package you were trying to build

cd <path to katana ws>
catkin_make

Some of these steps may be redundant / not the most efficient but they worked for me.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-03-09 07:58:57 -0500

Seen: 1,355 times

Last updated: Feb 13 '15