[SOLVED]cv_bridge cmake error (osx 10.10)

asked 2015-03-23 21:18:39 -0500

Mr. CEO gravatar image

updated 2015-03-24 10:22:48 -0500

I followed the mac guide. When I ran the command ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release this is what I eventually got.

EDIT: I uninstalled the stable version of opencv and installed the 3.0 beta build. Then it worked fine.

==> Processing catkin package: 'cv_bridge' ==> Building with env: '/Users/Matt/ros_catkin_ws/install_isolated/env.sh' ==> cmake /Users/Matt/ros_catkin_ws/src/vision_opencv/cv_bridge -DCATKIN_DEVEL_PREFIX=/Users/Matt/ros_catkin_ws/devel_isolated/cv_bridge -DCMAKE_INSTALL_PREFIX=/Users/Matt/ros_catkin_ws/install_isolated -DCMAKE_BUILD_TYPE=Release -G Unix Makefiles in '/Users/Matt/ros_catkin_ws/build_isolated/cv_bridge' -- Using CATKIN_DEVEL_PREFIX: /Users/Matt/ros_catkin_ws/devel_isolated/cv_bridge -- Using CMAKE_PREFIX_PATH: /Users/Matt/ros_catkin_ws/install_isolated -- This workspace overlays: /Users/Matt/ros_catkin_ws/install_isolated -- Using PYTHON_EXECUTABLE: /usr/local/bin/python -- Using default Python package layout -- Using empy: /Library/Python/2.7/site-packages/em.pyc -- Using CATKIN_ENABLE_TESTING: ON -- Call enable_testing() -- Using CATKIN_TEST_RESULTS_DIR: /Users/Matt/ros_catkin_ws/build_isolated/cv_bridge/test_results -- Found gtest: gtests will be built -- Using Python nosetests: /usr/local/bin/nosetests-2.7 -- catkin 0.6.11 CMake Warning (dev) at /Users/Matt/ros_catkin_ws/install_isolated/share/cpp_common/cmake/cpp_commonConfig.cmake:100 (elseif): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

Quoted variables like "include" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): /Users/Matt/ros_catkin_ws/install_isolated/share/rosconsole/cmake/rosconsoleConfig.cmake:165 (find_package) /Users/Matt/ros_catkin_ws/install_isolated/share/catkin/cmake/catkinConfig.cmake:75 (find_package) CMakeLists.txt:4 (find_package) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /Users/Matt/ros_catkin_ws/install_isolated/share/rostime/cmake/rostimeConfig.cmake:100 (elseif): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

Quoted variables like "include" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): /Users/Matt/ros_catkin_ws/install_isolated/share/rosconsole/cmake/rosconsoleConfig.cmake:165 (find_package) /Users/Matt/ros_catkin_ws/install_isolated/share/catkin/cmake/catkinConfig.cmake:75 (find_package) CMakeLists.txt:4 (find_package) This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /Users/Matt/ros_catkin_ws/install_isolated/share/sensor_msgs/cmake/sensor_msgsConfig.cmake:100 (elseif): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

Quoted variables like "include" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): /Users/Matt/ros_catkin_ws/install_isolated/share/catkin/cmake/catkinConfig.cmake:75 (find_package) CMakeLists.txt:4 (find_package) This warning is for project developers. Use ... (more)

edit retag flag offensive close merge delete