[vtkusers] vtkGLUTesselator does not recognize New() method at link
Pedro Miranda
Pedro.Miranda at edinfor.edp.pt
Thu Dec 19 11:10:31 EST 2002
Don´t know if this will help but from the vtkGLUTesselatorTriangleFilter.h
file:
// This filter is a specialized version of vtkTriangleFilter. It uses
// glu code to perform the tessellation. To use this filter, you will
// have to link against a GLU library.
"sebastien MARAUX" <maraux at ondim.fr>@public.kitware.com on 12/19/2002
15:46:54
Sent by: vtkusers-admin at public.kitware.com
To: "vtkusers" <vtkusers at public.kitware.com>
cc:
Fax to:
Subject: [vtkusers] vtkGLUTesselator does not recognize New() method at
link
Hello,
I tried to link a project with vtkGLUTesselatorTriangleFilter,
but it does not find the New() method for this class
while linking.
I linked project with glu32.lib and vtkHybrid.lib, as well as rendering,
graphics, IO, filtering and common libs.
I don't understand what I did wrong. Here is VC++ error code :
xxxx.obj : error LNK2001: unresolved external symbol "__declspec(dllimport)
public: static class vtkGLUTesselatorTriangleFilter * __cdecl
vtkGLUTesselatorTriangleFilter::New(void)"
(__imp_?New at vtkGLUTesselatorTriangleFilter@@SAPAV1 at XZ)
../binaries/xxxx.exe : fatal error LNK1120: 1 unresolved externals
and my code :
vtkGLUTesselatorTriangleFilter *tesselator =
vtkGLUTesselatorTriangleFilter::New();
tesselator->SetInput(mp_PolyData);
tesselator->Update();
mp_PolyData->SetPoints(tesselator->GetOutput()->GetPoints());
mp_PolyData->DeepCopy(tesselator->GetOutput());
+ includes of vtkGLUTesselator.h
Anybody have an idea ?
Seb
_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at: <
http://public.kitware.com/cgi-bin/vtkfaq>
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list