[vtkusers] VTK 6 porting

Sean McBride sean at rogue-research.com
Fri Mar 15 13:22:03 EDT 2013


On Fri, 15 Mar 2013 16:54:59 +0100, Frédéric Speisser said:

>We want to port our application using Vtk 5.9 to Vtk 6.
>Some code working on 5.9 does not work in 6, simple example with 
>following line :
>
>vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New();
>
>returns a NULL pointer ...

I've had a similar experience.  I use CMake to build the VTK libraries, but for my own application I use my IDE (Xcode) and link against the VTK libraries.  Everything links fine, but at runtime creating some objects (as above) returns NULL pointers.  I have not found any solution yet...

Cheers,

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada





More information about the vtkusers mailing list