[vtkusers] vtkBezierSurface vs VTK 7.0

Andras Lasso lasso at queensu.ca
Sat Feb 4 19:00:23 EST 2017


There were a few trivial incompatibilities. See what you need to change in this pull request:
https://github.com/daviddoria/BezierSurface/pull/3/files

Andras

From: vtkusers [mailto:vtkusers-bounces at vtk.org] On Behalf Of João Luis
Sent: February 4, 2017 11:32
To: vtkusers at vtk.org
Subject: [vtkusers] vtkBezierSurface vs VTK 7.0


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/20170205/cde19e28/attachment.html>


More information about the vtkusers mailing list