[vtkusers] MingW + Wintel Pre-Compiled Binaries ?= success ?
Thomas Gibson
a67582000 at yahoo.com
Wed Apr 21 15:48:32 EDT 2004
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
More information about the vtkusers
mailing list