[vtkusers] vtkBezierSurface vs VTK 7.0

Luis Vieira luis.vieira at vektore.com
Wed Feb 1 16:47:03 EST 2017


Hello vtkusers,


I just had downloaded a version of vtkBezierSurface
<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'
BezierSurface-master\vtkBezierSurfaceWidget.cxx       45          1


 vtkTypeRevisionMacro(vtkBezierSurfaceWidget, vtk3DWidget);

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


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,


Luis Vieira,

Consultant, Software Engineer

Vektore Exploration Consulting Corporation


 <mailto:luis.vieira at vektore.com> luis.vieira at vektore.com

 <http://www.vektore.com/> www.vektore.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170201/62a68496/attachment.html>

More information about the vtkusers mailing list