Robotics StackExchange | Archived questions

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

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 included from :      /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkIntArray.h36      ^expanded:
:
 33In file included from from:
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyData.h In file included from :macro/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAOSDataArrayTemplate.h64 ::
'isnan'35In file included from :
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkCellTypes.h
In file included from :/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArray.hIn file included from 42:/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/vizimpl.cpp:
72:In file included from :
46/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkIntArray.h:
:/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.hIn file included from 33:/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/precomp.hpp:
40:In file included from :56/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAOSDataArrayTemplate.h13:
::In file included from 35 /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.h:
:In file included from 35/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArray.herror:
:: In file included from 72    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyDataAlgorithm.h:

:expected36/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h      ^ :
:
')'In file included from 40/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyData.h:
:6413:
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h::In file included from  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h40/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkCellTypes.h:::1651342:
::error7 In file included from : :/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkIntArray.h :33noteexpected:
:  In file included from member/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAOSDataArrayTemplate.hnote to:name : 35 match:
or In file included from 
this /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArray.h       ';':expanded72  :
'('afterfrom
 /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h      
:macrodeclaration40  :'isnan'specifiers13/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h:
: 
165:5error::  expectednote : static bool isnan(T x)')'


~~~~~~~~~~~ ^expanded
 from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.hmacro    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \: 
165'isnan'/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h::
      ^7165
:: 7: note/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h: :40note
::       13expanded:
        fromexpanded  macronotefrom :  'isnan'    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \tomacro

 match'isnan'     ^this

 '('
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h:165:5:     ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \
note:       ^

          ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \expanded
 from      ^ /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h
macro: 40'isnan':13
: noteIn file included from In file included from : /Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/vtk/vtkCloudMatSource.cpp/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/clouds.cpp::to4546 :
:
matchIn file included from In file included from /Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/vtk/../precomp.hpp /Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/precomp.hpp:this:56 56:
'(':
In file included from In file included from /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.h/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.h
::3535    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \:
:
In file included from 
In file included from /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyDataAlgorithm.h/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyDataAlgorithm.h:    ^::
3616536::
:
5In file included from In file included from :/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyData.h/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyData.h ::6464:
:
noteIn file included from In file included from : /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkCellTypes.h/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkCellTypes.h::
4242In file included from       :
:
/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/shapes.cppexpandedIn file included from In file included from : /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkIntArray.h46/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkIntArray.hfrom:
::33In file included from  33:
/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/precomp.hppmacroIn file included from :
 :In file included from 'isnan'/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAOSDataArrayTemplate.h56/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAOSDataArrayTemplate.h:
::In file included from 35
35/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.h:
:
:In file included from In file included from 35/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArray.h/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArray.h:
::In file included from 7272In file included from :
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyDataAlgorithm.h:
/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/types.cpp::/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h4636/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h:
::In file included from 4049/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/precomp.hpp:
:::In file included from 561513:
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyData.h::In file included from   :    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \64/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.h:

errorerrorIn file included from :: :     ^/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkCellTypes.h35
::
expectedIn file included from  42expected/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyDataAlgorithm.hmember:
:  In file included from 36')'name/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkIntArray.h:
:
 33In file included from or:
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyData.h In file included from :';'/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAOSDataArrayTemplate.h64/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h::
 35In file included from :after:
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkCellTypes.h
165In file included from :      /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArray.h42declaration::
 7:In file included from specifiers:72/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkIntArray.h:
:
 33/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h:
:In file included from note40/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAOSDataArrayTemplate.hIn file included from : ::/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/vizimpl.cpp13:35
  static bool isnan(T)46:
:
:
       In file included from expandedIn file included from /Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/precomp.hpp   ~~~~~~~~~~~ ^:/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArray.h56:from:
error
 72In file included from macro:
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.h : 'isnan':/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h35::
expected49 In file included from 
member/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyDataAlgorithm.h:: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h3615name::
:165In file included from  : /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyData.h7:or:64  :
errorIn file included from ';': /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkCellTypes.h note:: 42after:
expectedIn file included from 

 /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkIntArray.h            member:declaration     ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \33nameexpanded
:
  In file included from  /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAOSDataArrayTemplate.horspecifiers      ^from :
';' 35 
:
macroIn file included from after/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArray.h 
:'isnan'      72/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h:
declaration:
 40/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.hspecifiersstatic bool isnan(T x)::
13
49::~~~~~~~~~~~ ^ 15
: note: error  static bool isnan(T)to/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h
: : 165match  ~~~~~~~~~~~ ^: 
    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \expectedthis7  
'(':member        ^/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h

:name165 :or7note : /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.hIn file included from In file included from In file included from ';':/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/clouds.cpp/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/vtk/vtkCloudMatSink.cpp :/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/viz3d.cpp165after45
:
::
46:      In file included from :
5declaration /Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/vtk/../precomp.hppIn file included from       :/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/precomp.hpp 56:expanded::
specifiersIn file included from 56 :
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.hIn file included from note
: /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.h:note35: ::

:In file included from       
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyDataAlgorithm.h3546expanded  static bool isnan(T):
:
: In file included from 36In file included from /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyDataAlgorithm.h:

fromIn file included from : /Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/precomp.hpp/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyData.h36macro   ~~~~~~~~~~~ ^ :
::'isnan'
56from64In file included from       :

In file included from :
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkCellTypes.hIn file included from :expanded/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyData.hmacro165 : :from/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.h7'isnan'64 ::macro:
 35 :

In file included from 'isnan'noteIn file included from /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyDataAlgorithm.h: /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkCellTypes.h:
:36
42:
      :
In file included from :expandedIn file included from /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyData.h /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkIntArray.h42from:::
 6433In file included from macro:
:
 /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkIntArray.hIn file included from In file included from 'isnan':/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkCellTypes.h/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAOSDataArrayTemplate.h33::
:
4235In file included from :
:
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAOSDataArrayTemplate.h    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \In file included from In file included from :
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArray.h35/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkIntArray.h::
:72In file included from 33:
      ^/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArray.h:

:In file included from /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h72::
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAOSDataArrayTemplate.h49::15/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h35:::
 40In file included from :/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArray.h13:error:72: In file included from :
 /Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/shapes.cpp:expected/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h 46:error:
')': In file included from 40/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/precomp.hpp
::13expected56: :
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.hIn file included from member: /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.hname165:error :: 357or::
  In file included from ';'expected/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyDataAlgorithm.h  after:note')': 
36      :

declaration
In file included from        /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyData.hexpandedspecifiers: from64/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h
 :
:macroIn file included from 165 /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkCellTypes.h:'isnan':742:
:
 In file included from /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkIntArray.h:notestatic bool isnan(T x)33: 
:
In file included from 
~~~~~~~~~~~ ^/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAOSDataArrayTemplate.h      
:expanded35 :
fromIn file included from  /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArray.hmacro    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \:
 72'isnan'      ^/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h
:

:165/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h::7/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h40::: 4913::15 :note : error
note:       : expandedto expected frommatch   ')'    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \macrothis

 '(''isnan'      ^


/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h::165165::/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h75:::40  :13:notenote : : 

note            : expandedexpanded  fromtofrom       ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \matchmacromacro
   'isnan'this      ^'isnan'

'('

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h:165:5In file included from :/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/vtk/vtkCloudMatSink.cpp     ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \:
45:
note    ^In file included from : 
/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/vtk/../precomp.hpp:
56      :
expandedIn file included from      ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.hfrom
 :macro35      ^ :

'isnan'In file included from /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyDataAlgorithm.h
:36:
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.hIn file included from In file included from :/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyData.h/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/clouds.cpp40:::644613:
:
:In file included from In file included from  /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkCellTypes.h/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/precomp.hpp::5642note:
:
: In file included from In file included from /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.h/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkIntArray.h:to:35 33:
match    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \:
In file included from 
 In file included from /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyDataAlgorithm.hthis:/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAOSDataArrayTemplate.h    ^ 36
:'(':
35In file included from :
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyData.h
:In file included from 64/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArray.h:
:In file included from 72/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h:
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkCellTypes.h::165/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h42:::
540In file included from ::/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkIntArray.h 13::33 :
noteIn file included from : /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAOSDataArrayTemplate.herror:
35:       :
expandedIn file included from /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArray.h :expectedfrom72  :
')'macro /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h
'isnan':56
:6:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h :165:error7: In file included from :/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/viz3d.cpp :expected46 :
unqualified-idnoteIn file included from : /Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/precomp.hpp
:
56      :
expandedIn file included from bool isnan(T x) /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.h
from    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \: 
     ^macro
35 :
    ^'isnan'In file included from 
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyDataAlgorithm.h/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h
::16536:7:
:In file included from  /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyData.h:64note:
: In file included from     ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkCellTypes.h
    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \:

42expanded:
 In file included from     ^      ^from
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkIntArray.h
     ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \macro:
 33'isnan':
      ^In file included from 

/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAOSDataArrayTemplate.h:In file included from 35/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/types.cpp:
:In file included from /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h46/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArray.h::
:In file included from In file included from 7240/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/precomp.hpp/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/shapes.cpp::
::134656:/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h:
 :
In file included from :In file included from 49/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.h:note:    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \1535
: :/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/precomp.hpp:
:In file included from       ^
56/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyDataAlgorithm.hto ::
In file included from 36In file included from /Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/vtk/vtkCloudMatSource.cpp :
:match45In file included from In file included from :
 /Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/clouds.cpp/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyData.h:thiserror:46 64:
:     ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \In file included from In file included from :

'('In file included from /Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/precomp.hppexpected/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.h
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkCellTypes.h:/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/vizcore.cpp       ^::member:56
46In file included from  :
:
42In file included from In file included from 35/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/precomp.hppname/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/vtk/../precomp.hpp:
:
:/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.h:56 :56:
or:
In file included from In file included from In file included from /Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/vizimpl.cpp35/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.h/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.h:/Applications/Xcode.app/Contents/DevelIn file included from :46:35oper/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyDataAlgorithm.h:
:
:In file included from  3635/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyDataAlgorithm.h:
In file included from ::In file included from In file included from 36/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyData.h/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyDataAlgorithm.h:
165/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkIntArray.h:
In file included from ::::In file included from 64/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyData.h:
365In file included from /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyDataAlgorithm.h::33:';':
:
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkCellTypes.h:
3664::
In file included from  /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAOSDataArrayTemplate.h:
42In file included from after/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyData.h:
In file included from 
In file included from :In file included from       /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkCellTypes.h/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkIntArray.h35::::
644233In file included from :
:
declaration/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArray.h:
In file included from  In file included from :/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAOSDataArrayTemplate.hIn file included from  :/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkIntArray.hIn file included from specifiers/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyData.h/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkCellTypes.h:35/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/precomp.hpp::
:723364:
56note:
:
:
In file included from : In file included from /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h:
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkCellTypes.hIn file included from /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAOSDataArrayTemplate.h:In file included from   static bool isnan(T)4242::
:

49/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArray.h35      :In file included from   ~~~~~~~~~~~ ^:expanded
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkIntArray.h:
 15In file included from :72/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArray.h:
:
:33from :In file included from  /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h72macro/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkIntArray.h:
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h::/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h::
:33'isnan'1654949In file included from :/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAOSDataArrayTemplate.h:7::error15
: :15: :
:/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.h In file included from  :noteerror35expected: : :
35error : In file included from :

')'In file included from       expandedexpected/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyDataAlgorithm.h : /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArray.hmember36/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAOSDataArrayTemplate.hexpectedfrom:
 :: memberIn file included from 72    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \macro/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyData.h 35
:
:
 name'isnan' In file included from  

or/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArray.hname :    ^ 
';'72or/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h:
 : after';'/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h
:165:56 :      :407declaration:after:13  
6:      specifiers:declaration note  : specifiers
    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \error


:       error      ^: expanded
 expectedfrom  static bool isnan(T)  expected
membermacro   static bool isnan(T)  ')'
  ~~~~~~~~~~~ ^name'isnan'

In file included from or/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/viz3d.cpp  ~~~~~~~~~~~ ^

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.hIn file included from : :46:
165';'::In file included from /Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/vtk/vtkCloudMatSink.cpp7/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/precomp.hpp 165:::after:56 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h45      :
:
7In file included from In file included from note:/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.h/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/vtk/../precomp.hpp:: :165:56 :    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \35
:

In file included from expanded:
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyDataAlgorithm.hnote7::In file included from declaration/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.h36 64:       ^:
: 
specifiersIn file included from from/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyData.h :
35::

ma
In file included from cro64: static bool isnan(T x)In file included from /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h      
:/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyDataAlgorithm.hexpandednote49::  ~~~~~~~~~~~ ^36from:
:

In file included from macro15/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyData.h :      :'isnan'64expanded:
  In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.hfrom/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkCellTypes.h:: 16542note::

macro: 7In file included from  :/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkIntArray.h 'isnan'to: 33match
note:
 : In file included from this/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAOSDataArrayTemplate.h :
'('35      expanded:

 In file included from from/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArray.h :macro72:
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h'isnan' :/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h'isnan'/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkCellTypes.h:165    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \::49

42:5:
    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \:15In file included from       ^:/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkIntArray.h:
: In file included from 33 
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkCellTypes.h
error:
:In file included from 42: /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAOSDataArrayTemplate.hnote:: :
35    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \:
In file included from /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.hIn file included from 
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkIntArray.hexpected
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArray.h: :member      72:       ^:
33
expanded56name :
 In file included from orfrom/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAOSDataArrayTemplate.h: :    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \ :macro';'
49 In file included from  :after'isnan'/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/vizcore.cpp3515
:

:
      6:In file included from declaration: /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArray.h        ^specifiers
:error72
:
note46: : :
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.htoexpectedIn file included from :  /Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/precomp.hpp49')'  static bool isnan(T)matchIn file included from  
/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/vtk/vtkCloudMatSource.cpp
this:   ~~~~~~~~~~~ ^15:
'(':      ^ :45
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h:56165:
error/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/vtk/../precomp.hpp165:
:: ::In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h56In file included from 7:
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.hexpectedIn file included from /Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/shapes.cpp:    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \::165: 3546 ')'/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.h:
:
7In file included from In file included from 

/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/precomp.hppnote:::    ^:5635 :
:

5In file included from In file included from :/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.h: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h ::165/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyDataAlgorithm.h/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyDataAlgorithm.h:35::7
:
36note36: :      In file included from  expanded:
:
 /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyDataAlgorithm.hIn file included from In file included from 
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyData.h/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyData.hfromnote      : : expandedmacro64 In file included from : from:
/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/types.cpp64:
 In file included from :
36/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkCellTypes.h      In file included from :
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkCellTypes.hmacroexpanded'isnan'::In file included from 42 42:

 In file included from :
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkIntArray.h'isnan':fromnote:33: In file included from :
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyData.hIn file included from /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkIntArray.h46:/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAOSDataArrayTemplate.h
:      :
:3364
35:
In file included from  In file included from /Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/precomp.hpp:
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAOSDataArrayTemplate.hmacroIn file included from ::
 /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArray.h35:In file included from :
56/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkCellTypes.hIn file included from 'isnan':::
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArray.h4272::
In file included from 72
:
:
/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/vtkGenericDataArrayLookupHelper.h/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkIntArray.h35::4933    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \::
:15
40    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \:
:      ^ In file included from 
13    ^:
:expanded/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAOSDataArrayTemplate.h
errorIn file included from :    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \:  35/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyDataAlgorithm.h:
from::In file included from 
  4936      ^:
:
15In file included from expected/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyData.h/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArray.h :: :error6472: /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h:
')'::
noteIn file included from : /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkCellTypes.hexpected
49:: to1549macro:')'  'isnan'/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h match:note
 165: this:::7 42to:'('/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h:
 In file included from 15
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkIntArray.h ::: 165matchnote:33 : /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h:
7this::error
 165In file included from  :       :'('expanded5/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAOSDataArrayTemplate.h: :note fromexpected:   
macro')' note
'isnan': 


expanded35 
:
from      /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.hIn file included from  expanded:/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArray.h 165macrofrom::  727macro'isnan':
 :'isnan' 
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h
:56note:: 6    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \:

             ^expanded    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \

errorfrom:        ^macro
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h :expected'isnan'49 :unqualified-id15
:    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \ 
    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \

In file included from /Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/vtk/vtkCloudMatSink.cpp    ^note      ^
: :
45bool isnan(T x):

toIn file included from  /Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/vtk/../precomp.hpp     ^match
 :/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.hthis56 ::
'('40In file included from :/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.h13:
    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \::165
: 35/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h7:
:In file included from :165 :      ^5note:
note : : /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.hIn file included from :
note      to165expanded/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.hfatal error /Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/vizimpl.cpp: match:: 546/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyDataAlgorithm.h :fromtoothis: 36   macromany:
'(':
 :

In file included from :49      errors:In file included from   /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyData.hexpanded15:/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/precomp.hpp:emitted,:64 :
 In file included from note/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkCellTypes.h56/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.hstopping: :
::165'isnan'42  
:
nowfromIn file included from         
[-ferror-limit=]macro/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.h expanded:note'isnan':: 5In file included from 35:/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkIntArray.h:

to  In file included from  :match/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyDataAlgorithm.h from33thisnote:
  :In file included from : '('36macro/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAOSDataArrayTemplate.h ::

'isnan'35
In file included from :
    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \      In file included from /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyData.h/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h:

    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArray.h64
:      ^::

72
165:
expanded    ^:
5 :/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h from: 49:macroIn file included from 15note /Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/types.cpp:'isnan':  :46
:

    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \In file included from error
/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/precomp.hpp      : :expanded    ^56 In file included from expected
/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/vtk/vtkCloudMatSource.cppfrom:
:  macro45In file included from ')':
 /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.hIn file included from 'isnan':
35/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/vtk/../precomp.hpp
::
56In file included from :
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyDataAlgorithm.hIn file included from ::    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.h36
::
16535::
In file included from     ^7/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyData.hIn file included from ::
64/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyDataAlgorithm.h :In file included from :
36/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/viz3d.cppIn file included from :
:    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \In file included from /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkCellTypes.h46note:
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyData.h: 42:
::
In file included from 64    ^/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/precomp.hpp
:
:
In file included from In file included from       /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkIntArray.h/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkCellTypes.h56expanded:::
33In file included from 42 :
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.h:
fromIn file included from :In file included from  35/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAOSDataArrayTemplate.h/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkIntArray.h:
macro::In file included from 35 33/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyDataAlgorithm.h'isnan':
:
:In file included from In file included from 
36/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArray.h/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAOSDataArrayTemplate.h:
::In file included from 72In file included from /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyData.h:
35/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/shapes.cpp:::
64/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.hIn file included from 46:
::
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArray.hIn file included from 56:In file included from /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkCellTypes.h:/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/vizcore.cpp72In file included from :42:/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/precomp.hpp:
646:In file included from ::
    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkIntArray.h In file included from 56
::
33      ^:
In file included from /Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/precomp.hpp
In file included from error/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.h/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAOSDataArrayTemplate.h:: ::563535:
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h:
:
expected:In file included from In file included from In file included from  49/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.h/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArray:')'.h:/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyDataAlgorithm.h15:In file included from :35
72 :
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkCellTypes.h:
In file included from :/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyDataAlgorithm.h/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h42note:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h:
::In file included from : 165/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkIntArray.h56::36:337:
6:toIn file included from :
  /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAOSDataArrayTemplate.h:In file included from match: 35/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyData.h :
noteIn file included from : this/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArray.h: :error'('6472
:

expanded: :
 /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.hIn file included from from: :expected/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkCellTypes.h5636macro: 6::
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h :unqualified-id'isnan'42::
In file included from 
 165/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyData.hIn file included from 
::/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkIntArray.h645error::
: :33 bool isnan(T x):

In file included from noteIn file included from expected:      ^/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAOSDataArrayTemplate.h /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkCellTypes.h:
:unqualified-id4235

:
:
      In file included from In file included from expanded    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \ /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArray.h/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkIntArray.h
from/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h: :bool isnan(T x)macro:
72:
 :
      ^33165:

:     ^In file included from /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h
7/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h:/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAOSDataArrayTemplate.h:: /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h3549:::
:56In file included from :56/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArray.h156note::6:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h:72: ::
165  :7note: : :/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.herrorerror:  : 
:      tonoteexpectedexpandedexpected    : membermatchfrom  unqualified-idname macro 

'isnan'orthis      56 expanded 'isnan' ';'from

bool isnan(T x)'('  :
aftermacro6
 :
     ^'isnan' 
      declaration/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h
 :errorspecifiers165: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h:5:
165:: expected7 :unqualified-id     ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \note
    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \
: 
      ^note  static bool isnan(T): 

    ^

      expanded    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \

  ~~~~~~~~~~~ ^frombool isnan(T x) expanded
      ^
 macro
In file included from from /Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/viz3d.cpp 'isnan':     ^macro

 46'isnan':
In file included from 
/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/precomp.hpp:56In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h:
/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/vtk/vtkCloudMatSink.cpp:In file included from :165/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.h45:::
735In file included from ::
/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/vtk/../precomp.hpp In file included from :/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyDataAlgorithm.h56::
note36In file included from : :
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.h    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \:In file included from 

35/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyData.h:
          ^:    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \In file included from 

expanded64/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyDataAlgorithm.h:
: In file included from       ^36from
:
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkCellTypes.h In file included from :macro/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyData.h42 ::
'isnan'64In file included from :
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkIntArray.h
In file included from :In file included from /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkCellTypes.h33/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/vtk/vtkCloudMatSource.cpp::
:42In file included from 45:
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAOSDataArrayTemplate.h:
In file included from :In file included from /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkIntArray.h35:/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/vtk/../precomp.hpp:
33:In file included from :
56/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArray.hIn file included from :
:/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAOSDataArrayTemplate.hIn file included from 72:/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.h:
35::
35In file included from :
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArray.h/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.hIn file included from ::/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyDataAlgorithm.h7256    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \:
::
636/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h:
      ^::In file included from 
 56/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyData.h::646error:
:: In file included from  /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkCellTypes.h:In file included from 42expectederror/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/shapes.cpp:
: : 46In file included from ')':
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkIntArray.hIn file included from expected
/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/precomp.hpp: :33unqualified-id56:
:

In file included from In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.h/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAOSDataArrayTemplate.h:::1653535:
:
:In file included from In file included from bool isnan(T x)7/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyDataAlgorithm.h/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArray.h:
: :7236     ^:

:
noteIn file included from : /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyData.h::
5664/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h      ::
:expandedIn file included from 6165 /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkCellTypes.h:::from7  42:macro:
  In file included from error'isnan'/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkIntArray.h:: note
33: :
In file included from expected
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAOSDataArrayTemplate.h       :')'expanded35 :

fromIn file included from  /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArray.hmacro: 72/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h'isnan':
:165
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h::756::     ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \6
: note      ^: 
error
:       expanded /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.hfromexpected:  56macro')':     ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \'isnan'
6
:
       ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.hnote:: 165:toIn file included from 7 /Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/vtk/vtkCloudMatSink.cpp:match: fatal error45 : this:
 In file included from too/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/vtk/../precomp.hpp'('note :: many56
    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \ 
:

errorsIn file included from              ^/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.h/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h
expandedemitted,:: 165 35from:stopping:
 /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h5nowIn file included from  : /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyDataAlgorithm.hmacro56[-ferror-limit=]:::36 
 :
6In file included from 'isnan':/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyData.h: note64: :

In file included from note/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkCellTypes.h
: :      42expandedto:
  In file included from frommatch/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkIntArray.h  :macrothis33  :
'isnan''('In file included from /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAOSDataArrayTemplate.h

:35:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArray.h::16572    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \::

5:/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h       ^:
56:note6: : 
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h          ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \expandederror:: 
 56from:    ^expected 6
 macro:')'  'isnan'

note: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h:to165 :match7 :this  '('note
: 
      /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.hexpanded: 165from    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \: 
5macro:     ^ 'isnan'

note: 
      expanded from macro 'isnan'
    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \
      ^
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h:56:6:    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \ 
note    ^: 
to match this '('
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h:165:5: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h:note165: :7
:       expanded fromnote : macro 'isnan'

expanded from macro 'isnan'
    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \
    ^
    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \
      ^
In file included from /Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/vizcore.cpp:46:
In file included from /Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/precomp.hpp:56:
In file included from /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.h:35:
In file included from /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyDataAlgorithm.h:fatal error36: :
In file included from too/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyData.h In file included from :fatal errormany64: /Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/vizimpl.cpp :
errorsIn file included from  too:fatal error 46/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkCellTypes.hemitted,many:
: :  errorsIn file included from stopping42/Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/precomp.hpp  :
toonowemitted, In file included from :fatal error/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkIntArray.h56many :  :stopping:
In file included from  errorstoo/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.hnow33:   35 many:
[-ferror-limit=][-ferror-limit=] emitted,In file included from errors 
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyDataAlgorithm.h stopping:emitted,
 36 now:
stopping In file included from  [-ferror-limit=]/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkPolyData.hnow: 
64[-ferror-limit=]:
In file included from 
/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 /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:
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h:56:6: error: :
expectedIn 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/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h:
:165/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h::749:: 15: note: error
:       expanded expectedfrom  ')'macro 
'isnan'
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h:165:7: note: 
      expanded from macro 'isnan'
    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \
      ^
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h:56:6: note: to match    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \ 
this       ^'('

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h::16549::515::  notenote: : 
to       expandedmatch  fromthis  macro'(' 'isnan'

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h:165:5: note: 
      expanded from macro 'isnan'    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \

    ^
    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \
    ^
In file included from /Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/vizcore.cpp:46:
In file included from /Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/precomp.hpp:56:
In file included from /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.h: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 /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 /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:
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h:56:6: error: expected unqualified-id
bool isnan(T x)
     ^
fatal error: too/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h :many165 :errors7 :emitted,  stopping notenow:  [-ferror-limit=]

expanded from macro 'isnan'
    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \
      ^
In file included from /Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/vizcore.cpp:46:
In file included from /Users/saching12/ros_catkin_ws/src/opencv3/modules/viz/src/precomp.hpp:56:
In file included from /usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkAppendPolyData.h: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 /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 /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:
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h:56:6: error: expected ')'
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h:165:7: note: 
      expanded from macro 'isnan'
    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \
      ^
/usr/local/Cellar/vtk/8.1.1_2/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h:56:6: note: to match this '('
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/math.h:165:5: note: 
      expanded from macro 'isnan'
    ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \
    ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
[ 42%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/loadsave.cpp.o
**20 errors generated.
20 errors generated.
20 errors generated.
20 errors generated.
20 errors generated.
20 errors generated.
20 errors generated.
20 errors generated.**
make[2]: *** [modules/viz/CMakeFiles/opencv_viz.dir/src/types.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [modules/viz/CMakeFiles/opencv_viz.dir/src/viz3d.cpp.o] Error 1
make[2]: *** [modules/viz/CMakeFiles/opencv_viz.dir/src/vtk/vtkCloudMatSink.cpp.o] Error 1
make[2]: *** [modules/viz/CMakeFiles/opencv_viz.dir/src/vizcore.cpp.o] Error 1
make[2]: *** [modules/viz/CMakeFiles/opencv_viz.dir/src/vtk/vtkCloudMatSource.cpp.o] Error 1
make[2]: *** [modules/viz/CMakeFiles/opencv_viz.dir/src/vizimpl.cpp.o] Error 1
make[2]: *** [modules/viz/CMakeFiles/opencv_viz.dir/src/clouds.cpp.o] Error 1
make[2]: *** [modules/viz/CMakeFiles/opencv_viz.dir/src/shapes.cpp.o] Error 1
make[1]: *** [modules/viz/CMakeFiles/opencv_viz.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 42%] Building CXX object modules/video/CMakeFiles/opencv_video.dir/src/bgfg_gaussmix2.cpp.o
[ 42%] Building CXX object modules/objdetect/CMakeFiles/opencv_objdetect.dir/src/cascadedetect_convert.cpp.o
[ 42%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/calibrate.cpp.o
[ 44%] Building CXX object modules/photo/CMakeFiles/opencv_photo
**skipped some properly compiled part**
[ 46%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_pam.cpp.o
[ 47%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/seamless_cloning_impl.cpp.o
[ 47%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_png.cpp.o
[ 47%] Built target opencv_objdetect
[ 47%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_pxm.cpp.o
[ 47%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/tonemap.cpp.o
[ 47%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/opencl_kernels_photo.cpp.o
[ 48%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_sunras.cpp.o
[ 48%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_tiff.cpp.o
[ 48%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_webp.cpp.o
[ 48%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/bitstrm.cpp.o
[ 48%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/rgbe.cpp.o
[ 48%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/exif.cpp.o
[ 48%] Linking CXX shared library ../../lib/libopencv_video.dylib
[ 48%] Built target opencv_video
[ 48%] Linking CXX shared library ../../lib/libopencv_imgcodecs.dylib
[ 48%] Built target opencv_imgcodecs
[ 48%] Linking CXX shared library ../../lib/libopencv_photo.dylib
[ 48%] Built target opencv_photo
make: *** [all] Error 2
<== Failed to process package 'opencv3': 
  Command '['/Users/saching12/ros_catkin_ws/install_isolated/env.sh', 'make', '-j12', '-l12']' returned non-zero exit status 2

Reproduce this error by running:
==> cd /Users/saching12/ros_catkin_ws/build_isolated/opencv3 && /Users/saching12/ros_catkin_ws/install_isolated/env.sh make -j12 -l12

Command failed, exiting.

Asked by saching12 on 2018-11-04 02:33:23 UTC

Comments

Answers