[vtkusers] cygwin compile problems

Evan Berggren Daniel ebdaniel at unity.ncsu.edu
Wed Jun 16 18:59:12 EDT 2004


I'm having trouble compiling VTK under cygwin.

I'm using vtk 4.5.0, compiling with cygwin gcc version 3.3.1 on Windows
Server 2003.  I ran cmake -i, and turned on shared libraries and the
hybrid kit.  Then, when making bin/libvtkFiltering.dll, I get a lot of
link errors, starting with

Building shared library /cygdrive/g/VTK/bin/libvtkFiltering.dll...
vtkApplyFilterCommand.o(.text+0x3c):vtkApplyFilterCommand.cxx: undefined
reference to `__imp___ZN17vtkOStreamWrapperC1ERSo'
vtkApplyFilterCommand.o(.text+0x49):vtkApplyFilterCommand.cxx: undefined
reference to `__imp___ZN17vtkOStreamWrappercvRSoEv'
vtkApplyFilterCommand.o(.text+0x6d):vtkApplyFilterCommand.cxx: undefined
reference to `__imp___ZN17vtkOStreamWrapperlsEPKc'
vtkApplyFilterCommand.o(.text+0x12b):vtkApplyFilterCommand.cxx: undefined
reference to `__imp___ZN9vtkObject23GetGlobalWarningDisplayEv'

Any ideas what I'm doing wrong?

Thanks

Evan Daniel



More information about the vtkusers mailing list