I am unable to build the catkin workspace of kinetic in mac os Mojave ?

asked 2018-11-04 01:33:23 -0600

saching12 gravatar image

updated 2018-11-04 01:44:52 -0600

gvdhoorn gravatar image

while building I am getting errors while compiling c++ files and crashes while building opencv3 files

declarationIn file included from  /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkIntArray.hspecifiers:33
:
In file included from /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAOSDataArrayTemplate.h:35:
In file included from /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArray.h:72:
static bool isnan(T x)/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h
:40~~~~~~~~~~~ ^:
    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \13
:       ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h:error165: :7:expected  member noteIn file included from name: /Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/clouds.cpp :or46
 :
      ';'In file included from expanded /Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/precomp.hpp after:from
56       :
macrodeclarationIn file included from   /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.h'isnan'specifiers:35

:
In file included from /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyDataAlgorithm.h:36:
In file included from /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyData.h:64:
In file included from static bool isnan(T x)/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkCellTypes.h
:42~~~~~~~~~~~ ^:

In file included from /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkIntArray.h:33:
In file included from     ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAOSDataArrayTemplate.h/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h
::35      ^:
165
In file included from :/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArray.h7::72 :
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.hnote:: 40:In file included from 
13/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/types.cpp      ::expanded 46 :
fromIn file included from  error/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/precomp.hppmacro: : 56'isnan':
expectedIn file included from 
 /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.h')':35In file included from 
:
/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/vtk/vtkCloudMatSource.cppIn file included from :/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyDataAlgorithm.h45::
36/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.hIn file included from :
:/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/vtk/../precomp.hppIn file included from 165:/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyData.h:56:7:
64:In file included from  :
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.hIn file included from :/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkCellTypes.h35note::
: 42    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \In file included from :
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyDataAlgorithm.h

In file ...
(more)
edit retag flag offensive close merge delete