[vtkusers] vtkEnSightWriter

Amy Squillacote amy.squillacote at kitware.com
Mon Apr 16 15:35:56 EDT 2007


Hi Christophe,

When you compiled VTK, did you turn on the VTK_USE_PARALLEL CMake 
variable? The vtkEnSightWriter is in VTK/Parallel. This directory is 
only built if VTK_USE_PARALLEL is set to ON, and it is off by default. 
Try turning on this CMake variable and rebuilding VTK.

- Amy

Christophe Peyret wrote:
> Hello,
>
> I have compiled and installed vtk-5.03 on my MacBook (intel proc). I have
> alreay use vtk with succes to write with vtkUnstructuredGridWriter or
> display a vtkUnstructuredGrid.
>
> Now, I would like to write with vtkEnSightWriter a vtkUnstructuredGrid,
> here are the line where mesh is a vtkUnstructuredGrid :
>
>   vtkEnSightWriter * writer;
>     writer = vtkEnSightWriter::New();
> /*
>     writer->SetFileName("toto.case");
>     writer->SetInput(mesh);
>     writer->Write();
>     writer->Delete();
> */
>
> whe I compile my program, it returns me that error message:
>
> __ZN16vtkEnSightWriter3NewEv
>
> as soon as I introduce the line
>     writer = vtkEnSightWriter::New();
>
> does any one have alrady meet that message and have a solution ?
>
> Christophe
>
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>   

-- 
Amy Squillacote
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
Phone: (518) 371-3971 x106




More information about the vtkusers mailing list