Invoke catkin_make_isolated

asked 2019-12-16 05:55:44 -0500

Zankyun gravatar image

updated 2019-12-16 06:36:16 -0500

$ ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release

Straight dump of the error message:

The packages or cmake arguments have changed, forcing cmake invocation

==> Processing catkin package: 'catkin'
==> Creating build directory: 'build_isolated/catkin'
==> cmake /Users/vision/ros_catkin_ws/src/catkin -DCATKIN_DEVEL_PREFIX=/Users/vision/ros_catkin_ws/devel_isolated/catkin -DCMAKE_INSTALL_PREFIX=/Users/vision/ros_catkin_ws/install_isolated -DCMAKE_BUILD_TYPE=Release -G Unix Makefiles in '/Users/vision/ros_catkin_ws/build_isolated/catkin'
-- The C compiler identification is AppleClang 11.0.0.11000033
-- The CXX compiler identification is AppleClang 11.0.0.11000033
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using CATKIN_DEVEL_PREFIX: /Users/vision/ros_catkin_ws/devel_isolated/catkin
-- Using CMAKE_PREFIX_PATH: 
-- Found PythonInterp: /opt/local/bin/python (found version "2.7.16") 
-- Using PYTHON_EXECUTABLE: /opt/local/bin/python
-- Using default Python package layout
-- Found PY_em: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/em  
-- Using empy: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/em
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /Users/vision/ros_catkin_ws/build_isolated/catkin/test_results
-- gtest not found, C++ tests can not be built. Please install the gtest headers globally in your system to enable gtests
-- Using Python nosetests: /opt/local/bin/nosetests-2.7
-- catkin 0.7.20
-- BUILD_SHARED_LIBS is on
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't find '__main__' module in '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/em'
CMake Error at cmake/safe_execute_process.cmake:11 (message):

  execute_process(/Users/vision/ros_catkin_ws/build_isolated/catkin/catkin_generated/env_cached.sh
  "/opt/local/bin/python"
  "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/em"
  "--raw-errors" "-F"
  "/Users/vision/ros_catkin_ws/build_isolated/catkin/catkin_generated/pkg.develspace.context.pc.py"
  "-o"
  "/Users/vision/ros_catkin_ws/devel_isolated/catkin/lib/pkgconfig/catkin.pc"
  "/Users/vision/ros_catkin_ws/src/catkin/cmake/em/pkg.pc.em") returned error
  code 1
Call Stack (most recent call first):
  cmake/em_expand.cmake:25 (safe_execute_process)
  cmake/catkin_package.cmake:327 (em_expand)
  cmake/catkin_package.cmake:102 (_catkin_package)
  CMakeLists.txt:11 (catkin_package)


-- Configuring incomplete, errors occurred!
See also "/Users/vision/ros_catkin_ws/build_isolated/catkin/CMakeFiles/CMakeOutput.log".
<== Failed to process package 'catkin': 
  Command '['cmake', '/Users/vision/ros_catkin_ws/src/catkin', '-DCATKIN_DEVEL_PREFIX=/Users/vision/ros_catkin_ws/devel_isolated/catkin', '-DCMAKE_INSTALL_PREFIX=/Users/vision/ros_catkin_ws/install_isolated', '-DCMAKE_BUILD_TYPE=Release', '-G', 'Unix Makefiles']' returned non-zero exit status 1

Reproduce this error by running:
==> cd /Users/vision/ros_catkin_ws/build_isolated/catkin && cmake /Users/vision/ros_catkin_ws/src/catkin ...
(more)
edit retag flag offensive close merge delete