[vtkusers] MingW + Wintel Pre-Compiled Binaries ?= success ?

Mathieu Malaterre mathieu.malaterre at kitware.com
Wed Apr 21 16:54:38 EDT 2004


Thomas,

vtkPolyDataSource is in vtkFiltering
vtkConeSource is in Grpahics
...

Does this linker support incremental linking ?

HTH,
Mathieu

Thomas Gibson wrote:
> Just curious if anyone has had success using the VTK
> libraries with Mingw.  I used pexports and dlltool to
> create import libraries but still seem to be having
> problems with name mangling in even a simple example:
> 
> g++.exe Cone.o  -o "Project1.exe" -L"C:/Program
> Files/Dev-Cpp/lib"
> ../../../../lib/vtk/vtkRendering.lib 
> 
> Cone.o(.text+0x1f):Cone.cxx: undefined reference to
> `_imp___ZN13vtkConeSource3NewEv'
> Cone.o(.text+0x7a):Cone.cxx: undefined reference to
> `_imp___ZN17vtkPolyDataMapper3NewEv'
> 
> Cone.o(.text+0x8d):Cone.cxx: undefined reference to
> `vtkPolyDataSource::GetOutput()'
> Cone.o(.text+0x99):Cone.cxx: undefined reference to
> `vtkPolyDataMapper::SetInput(vtkPolyData*)'
> Cone.o(.text+0xa1):Cone.cxx: undefined reference to
> `_imp___ZN8vtkActor3NewEv'
> Cone.o(.text+0xc5):Cone.cxx: undefined reference to
> `_imp___ZN11vtkRenderer3NewEv'
> Cone.o(.text+0x101):Cone.cxx: undefined reference to
> `_imp___ZN15vtkRenderWindow3NewEv'
> Cone.o(.text+0x17a):Cone.cxx: undefined reference to
> `vtkRenderer::GetActiveCamera()'
> Cone.o(.text+0x183):Cone.cxx: undefined reference to
> `vtkCamera::Azimuth(double)'
> Cone.o(.text$_ZN11vtkRenderer8AddActorEP7vtkProp+0x10):Cone.cxx:
> undefined reference to
> `vtkViewport::AddProp(vtkProp*)'
> 
> 
> 
> ______________________________________________________________________ 
> Post your free ad now! http://personals.yahoo.ca
> _______________________________________________
> 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://www.vtk.org/mailman/listinfo/vtkusers
> 






More information about the vtkusers mailing list