[vtkusers] vtkGLUTesselator does not recognize New() method at link

Pedro Miranda Pedro.Miranda at edinfor.edp.pt
Thu Dec 19 11:26:46 EST 2002


The vtkGLUTesselatorTriangleFilter is in the Hybrid directory, but is not
used in making the Hybrid library.
I think you probably will have to include the .cxx in the project and link
with a GLU library.
No VTK library is exporting vtkGLUTesselatorTriangleFilter class, at least
my searches returned null.





"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