Embedded Systems, Linux, Robotics
By Christopher, February 25, 2014
You must be logged in to post a comment.
I have problem running “sudo src/catkin/bin/catkin_make_isolated –install”
I got this error
==> Processing catkin package: ‘catkin’
==> cmake /home/knight/ros_catkin_ws/src/catkin -DCATKIN_DEVEL_PREFIX=/home/knight/ros_catkin_ws/devel_isolated/catkin -DCMAKE_INSTALL_PREFIX=/home/knight/ros_catkin_ws/install_isolated in ‘/home/knight/ros_catkin_ws/build_isolated/catkin’
Unhandled exception of type ‘OSError’:
Traceback (most recent call last):
File “src/catkin/bin/../python/catkin/builder.py”, line 832, in build_workspace_isolated
number=index + 1, of=len(ordered_packages)
File “src/catkin/bin/../python/catkin/builder.py”, line 585, in build_package
File “src/catkin/bin/../python/catkin/builder.py”, line 350, in build_catkin_package
run_command_colorized(cmake_cmd, build_dir, quiet, add_env=add_env)
File “src/catkin/bin/../python/catkin/builder.py”, line 170, in run_command_colorized
run_command(cmd, cwd, quiet=quiet, colorize=True, add_env=add_env)
File “src/catkin/bin/../python/catkin/builder.py”, line 188, in run_command
raise OSError(“Failed command ‘%s’: %s” % (cmd, e))
OSError: Failed command ‘[‘cmake’, ‘/home/knight/ros_catkin_ws/src/catkin’, ‘-DCATKIN_DEVEL_PREFIX=/home/knight/ros_catkin_ws/devel_isolated/catkin’, ‘-DCMAKE_INSTALL_PREFIX=/home/knight/ros_catkin_ws/install_isolated’]’: [Errno 2] No such file or directory
<== Failed to process package 'catkin':
Failed command '['cmake', '/home/knight/ros_catkin_ws/src/catkin', '-DCATKIN_DEVEL_PREFIX=/home/knight/ros_catkin_ws/devel_isolated/catkin', '-DCMAKE_INSTALL_PREFIX=/home/knight/ros_catkin_ws/install_isolated']': [Errno 2] No such file or directory
Command failed, exiting.
Thanks for the tutorial, it worked fine for me!
One remark: As a Ubuntu newbie it took me a while to find out that those commands all run in one line:
sudo src/catkin/bin/catkin_make_isolated –install
Thanks for this tutorial! The installation went fine according to your comments. However, if I try to compile any package, for example:
CMake Error at catkin/cmake/catkin_workspace.cmake:89 (message): This workspace contains non-catkin packages in it, and catkin cannot build a non-homogeneous workspace without isolation.
How am I supposed to compile packages in this workspace?
in the created catkin workspace, there is an error.
have you sourced your ROS installation before building a workspace?
I recommend placing this in your .bash.rc
I’m getting the same error as cleve.
It fails when processing catkin package:’catkin’
You have to but all this into one line
Have you done this?
If my free work and projects are helpful for your life or you just like them, feel free to support me with a donation.