mikepurvis / ros-install-osx

Installing ROS on OS X.
331 stars 114 forks source link

Build fails because of yaml-cpp versioning issue with image_common package #131

Closed connorsoohoo closed 5 years ago

connorsoohoo commented 5 years ago

I'm getting an error building image_common. It is related to the yaml-cpp dependency not being the right version. But I have the latest version of yaml-cpp (0.6.2). I got this error immediately after applying the boost-python fix. Can anyone advise?

screen shot 2019-02-05 at 5 21 03 am
connorsoohoo commented 5 years ago

Fixed it. Need to explicitly specify C++11 standards in the respective CMakeLists.txt file.

# Set minimum C++ to 2011 standards
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)