@utkarshayachit I’m seeing this casting error:
Common/Core/vtkLogger.cxx: In static member function ‘static vtkLogger* vtkLogger::New()’:
Common/Core/vtkObjectFactory.h:339:39: error: invalid static_cast from type ‘vtkObject*’ to type ‘vtkLogger*’
return static_cast<thisClass*>(ret); \
^
Common/Core/vtkObjectFactory.h:360:3: note: in expansion of macro ‘VTK_OBJECT_FACTORY_NEW_BODY’
VTK_OBJECT_FACTORY_NEW_BODY(thisClass)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
Common/Core/vtkObjectFactory.h:372:3: note: in expansion of macro ‘VTK_STANDARD_NEW_BODY’
VTK_STANDARD_NEW_BODY(thisClass) \
^~~~~~~~~~~~~~~~~~~~~
Common/Core/vtkLogger.cxx:68:1: note: in expansion of macro ‘vtkStandardNewMacro’
vtkStandardNewMacro(vtkLogger);
^~~~~~~~~~~~~~~~~~~
Regards
Andrew