Fail to process package "cpp_common"

asked 2015-02-06 09:07:59 -0500

Lewis gravatar image

updated 2015-02-06 09:15:46 -0500

BennyRe gravatar image


Does anyone know below problem?

My operating system is OS X Yosemite. There was a solution : "". But it caused another problems.

Here is error message below,

-- catkin 0.5.90
-- Configuring done
CMake Warning (dev):
  Policy CMP0042 is not set: MACOSX_RPATH is enabled by default.  Run "cmake
  --help-policy CMP0042" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

  MACOSX_RPATH is not specified for the following targets:


This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /Users/Lewis/ros_catkin_ws/build_isolated/cpp_common
==> make -j8 -l8 in '/Users/Lewis/ros_catkin_ws/build_isolated/cpp_common'
Scanning dependencies of target cpp_common
[ 50%] [100%] Building CXX object CMakeFiles/cpp_common.dir/src/header.cpp.o
Building CXX object CMakeFiles/cpp_common.dir/src/debug.cpp.o
In file included from /Users/Lewis/ros_catkin_ws/src/roscpp_core/cpp_common/src/header.cpp:35:
/Users/Lewis/ros_catkin_ws/src/roscpp_core/cpp_common/include/ros/header.h:41:10: fatal error: 'boost/shared_array.hpp'
      file not found
#include <boost/shared_array.hpp>
1 error generated.
make[2]: *** [CMakeFiles/cpp_common.dir/src/header.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/cpp_common.dir/all] Error 2
make: *** [all] Error 2
<== Failed to process package 'cpp_common': 
  Command '/Users/Lewis/ros_catkin_ws/install_isolated/ make -j8 -l8' returned non-zero exit status 2

Reproduce this error by running:
==> cd /Users/Lewis/ros_catkin_ws/build_isolated/cpp_common && /Users/Lewis/ros_catkin_ws/install_isolated/ make -j8 -l8

Command failed, exiting.


edit retag flag offensive close merge delete