[vtkusers] vtkPLYWriter and polydata

David Doria daviddoria at gmail.com
Mon Sep 17 07:28:17 EDT 2012


On Mon, Sep 17, 2012 at 4:33 AM, cerina <cerine-baratelli at hotmail.fr> wrote:

> Hi all,
> i divide my mesh to regions with the vtkOctree class, and now, i'm trying
> to
> write each region in a ply File. I tried to use the vtkPLYWriter, but i get
> 2errors:
> *error LNK1120: 1 unresolved externals*
> *error LNK2019: unresolved external symbol "__declspec(dllimport) public:
> static class vtkExtractSelection * __cdecl vtkExtractSelection::New(void)"
> (__imp_?New at vtkExtractSelection@@SAPAV1 at XZ) referenced in function
> "public:
> static class vtkSmartPointer<class vtkExtractSelection> __cdecl
> vtkSmartPointer<class vtkExtractSelection>::New(void)"
> (?New@?$vtkSmartPointer at VvtkExtractSelection@@@@SA?AV1@)*
>

That is a linker error. What does your CMakeLists.txt file look like?

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120917/b0f4792c/attachment.htm>


More information about the vtkusers mailing list