ROS compilation fails on Mac OS Mojave

asked 2018-11-29 11:58:38 -0500

Anelito_ gravatar image

updated 2019-01-14 01:07:27 -0500

jayess gravatar image

Hi, I tried to install ROS on Mac OS Mojave using the following tutorial http://wiki.ros.org/kinetic/Installat... however I get stuck at catkin workspace creation step
After running

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

when compiling opencv3

In file included from /usr/local/Cellar/vtk/8.1.2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h:26:
/Library/Developer/CommandLineTools/usr/include/c++/v1/cmath:313:9: error: no
      member named 'signbit' in the global namespace
using ::signbit;
      ~~^
/Library/Developer/CommandLineTools/usr/include/c++/v1/cmath:314:9: error: no
      member named 'fpclassify' in the global namespace
using ::fpclassify;
      ~~^
/Library/Developer/CommandLineTools/usr/include/c++/v1/cmath:315:9: error: no
      member named 'isfinite' in the global namespace; did you mean 'finite'?
using ::isfinite;
      ~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h:749:12: note: 
      'finite' declared here
extern int finite(double)

and a lot more of similar errors

fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [modules/viz/CMakeFiles/opencv_viz.dir/src/clouds.cpp.o] Error 1
make[1]: *** [modules/viz/CMakeFiles/opencv_viz.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 43%] Built target opencv_surface_matching
make: *** [all] Error 2
<== Failed to process package 'opencv3'

Update

Same errors, new question here https://answers.ros.org/question/309653/ros-compilation-fails-on-mac-os-mojave/

edit retag flag offensive close merge delete