[vtkusers] vtkBezierSurface vs VTK 7.0

João Luis joaolsvieira at gmail.com
Sat Feb 4 11:31:50 EST 2017


Hello vtkusers,



I just had downloaded a version of vtkBezierSurface
(https://github.com/daviddoria/BezierSurface)
<https://github.com/daviddoria> daviddoria/
<https://github.com/daviddoria/BezierSurface> BezierSurface. It worked
smoothly with VTK 6.1. However,  I am struggling to build the example with
VTK 7.0. The build is crashing in those macros:



vtkCxxRevisionMacro(vtkBezierSurfaceSource, "$Revision: 1.53 $");

Error     5            error C2059: syntax error : 'string'
vtkBezierSurfaceSource.cxx        53          1            BezierSource

Error     17          error C2059: syntax error : 'string'
C:\VektoreSoftware_FileStructure\VektoreSoftware\Implementation\Support\VTK\
BezierSurface-master\vtkBezierSurfaceWidget.cxx       45          1
BezierSourceWidget



 vtkTypeRevisionMacro(vtkBezierSurfaceWidget, vtk3DWidget);

Error     7            error C2259: 'vtk3DWidget' : cannot instantiate
abstract class              vtkBezierSurfaceWidget.h           51          1
BezierSourceWidget



vtkTypeRevisionMacro(vtkBezierSurfaceSource, vtkPolyDataAlgorithm);

Error     10          error C4430: missing type specifier - int assumed.
Note: C++ does not support default-int       vtkBezierSurfaceSource.h
47          1              BezierSourceWidget



Thank you very much for any help,

Joao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170204/88fde404/attachment.html>


More information about the vtkusers mailing list