[vtkusers] vtkEnSightWriter

Christophe Peyret christophe.peyret at onera.fr
Mon Apr 23 04:18:31 EDT 2007


I've realized I didn't add the libvtkParallel.a when linking. When I  
add that library, compilation is OK.


Le 17 avr. 07 à 14:30, Amy Squillacote a écrit :

> Hi Christophe,
>
> I'm copying your response back to the VTK user's mailing list.  
> Please keep the discussion there rather than e-mailing me directly.
>
> Thanks,
> Amy
>
> Christophe Peyret wrote:
>> Hi Amy,
>> Yes, with ccmake, it seems VTK_USE_PARALLEL is set on. Anyway, I  
>> try to
>> recompile VTK.
>>
>> Christophe
>>
>> Amy Squillacote a écrit :
>>
>>> 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
>>>
>>>
>>>
>>
>>
>>
>>
>
> -- 
> Amy Squillacote
> Kitware, Inc.
> 28 Corporate Drive
> Clifton Park, NY 12065
> Phone: (518) 371-3971 x106
>
>




More information about the vtkusers mailing list