CMake Error catkin_install_python.cmake

asked 2016-10-26 11:35:29 -0500

AliNagaria gravatar image

updated 2016-10-27 11:17:30 -0500

joq gravatar image

Hello Community,

I am trying to run a simple Hello World cpp script on ROS indigo using Ubuntu 14.04 LTS. I followed the steps in the tutorials but when I do catkin_make the following errors appear. 'Agitr' is the name of the package I need to compile. I am really lost and other forum posts do not seem to help.

It may be clear that I am new to ROS and Linux, but I am really disappointed to see that I can not even run a hello world example, and I have lost more time setting up the environment than my project itself. (Which i could not even start). Please help me how to get a 'debuggers mindset' for ROS and Linux, and eventually develop an appreciation for this form of computing.

####
#### Running command: "make cmake_check_build_system" in "/home/ali/catkin_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/ali/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /home/ali/catkin_ws/devel;/opt/ros/indigo
-- This workspace overlays: /home/ali/catkin_ws/devel;/opt/ros/indigo
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/ali/catkin_ws/build/test_results
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.6.18
CMake Error at /opt/ros/indigo/share/catkin/cmake/catkin_install_python.cmake:42 (file):
  file Internal CMake error when trying to open file:
  /home/ali/catkin_ws/build/catkin_generated/installspace/_setup_util.py for
  writing.
Call Stack (most recent call first):
  /opt/ros/indigo/share/catkin/cmake/catkin_generate_environment.cmake:91 (catkin_install_python)
  /opt/ros/indigo/share/catkin/cmake/all.cmake:170 (catkin_generate_environment)
  /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:20 (include)
  CMakeLists.txt:52 (find_package)


-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  traversing 1 packages in topological order:
-- ~~  - agitr
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'agitr'
-- ==> add_subdirectory(agitr)
-- Configuring incomplete, errors occurred!
See also "/home/ali/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/ali/catkin_ws/build/CMakeFiles/CMakeError.log".
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
ali@ali:~/catkin_ws$ sudo catkin_make
sudo: catkin_make: command not found
edit retag flag offensive close merge delete

Comments

What tutorials did you follow?

joq gravatar image joq  ( 2016-10-27 11:19:41 -0500 )edit