[vtkusers] Problem with linking vtkHybrid
a.wolf
a.wolf at afm-tec.de
Wed Feb 17 05:26:52 EST 2010
Hello,
i compiled vtk5.4 with msys and mingw under Win7 x64 and try some simple
examples. all of them works, but when i want to use vtkImplicitModeller
(only: vtkImplicitModeller pIM* = vtkImplicitModeller::New(); ( lib
linking vtkHybrid)) i got following errors:
gcc -Wno-deprecated -c vtk_minimal.cpp -I /C/msys/1.0/VTK/include/vtk-5.4
vtk_minimal.cpp:64:2: warning: no newline at end of file
gcc -o minimal vtk_minimal.o -L /C/msys/1.0/VTK/lib/vtk-5.4 -mwin32
-mthreads -mthreads -mwindows -lvtkRendering -lvtkGraphics -lvtkImaging
-lvtkIO -lvtkFiltering -lvtkCommon -lvtkftgl -lvtkfreetype -lopengl32
-lvtkDICOMParser -lvtkpng -lvtktiff -lvtkzlib -lvtkjpeg -lvtkexpat -lvfw32
-lvtksys -lvtkHybrid -lgdi32 -lstdc++
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text+0x1741):
undefined reference to `vtkCellLocator::New()'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text+0x2d00):
undefined reference to `vtkClipPolyData::New()'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text+0x2f8e):
undefined reference to `vtkClipPolyData::New()'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIdEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDataPidP14vtkCellLocatoriPT_[void
vtkImplicitModellerAppendExecute<double>(vtkImplicitModeller*, vtkDataSet*,
vtkImageData*, int*, double, vtkCellLocator*, int, double*)]+0x99):
undefined reference to
`vtkImageProgressIterator<double>::vtkImageProgressIterator(vtkImageData*,
int*, vtkAlgorithm*, int)'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIdEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDataPidP14vtkCellLocatoriPT_[void
vtkImplicitModellerAppendExecute<double>(vtkImplicitModeller*, vtkDataSet*,
vtkImageData*, int*, double, vtkCellLocator*, int, double*)]+0x405):
undefined reference to `vtkImageProgressIterator<double>::NextSpan()'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIfEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDataPidP14vtkCellLocatoriPT_[void
vtkImplicitModellerAppendExecute<float>(vtkImplicitModeller*, vtkDataSet*,
vtkImageData*, int*, double, vtkCellLocator*, int, float*)]+0x99): undefined
reference to
`vtkImageProgressIterator<float>::vtkImageProgressIterator(vtkImageData*,
int*, vtkAlgorithm*, int)'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIfEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDataPidP14vtkCellLocatoriPT_[void
vtkImplicitModellerAppendExecute<float>(vtkImplicitModeller*, vtkDataSet*,
vtkImageData*, int*, double, vtkCellLocator*, int, float*)]+0x405):
undefined reference to `vtkImageProgressIterator<float>::NextSpan()'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIxEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDataPidP14vtkCellLocatoriPT_[void
vtkImplicitModellerAppendExecute<long long>(vtkImplicitModeller*,
vtkDataSet*, vtkImageData*, int*, double, vtkCellLocator*, int, long
long*)]+0x99): undefined reference to `vtkImageProgressIterator<long
long>::vtkImageProgressIterator(vtkImageData*, int*, vtkAlgorithm*, int)'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIxEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDataPidP14vtkCellLocatoriPT_[void
vtkImplicitModellerAppendExecute<long long>(vtkImplicitModeller*,
vtkDataSet*, vtkImageData*, int*, double, vtkCellLocator*, int, long
long*)]+0x405): undefined reference to `vtkImageProgressIterator<long
long>::NextSpan()'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIyEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDataPidP14vtkCellLocatoriPT_[void
vtkImplicitModellerAppendExecute<unsigned long long>(vtkImplicitModeller*,
vtkDataSet*, vtkImageData*, int*, double, vtkCellLocator*, int, unsigned
long long*)]+0x99): undefined reference to
`vtkImageProgressIterator<unsigned long
long>::vtkImageProgressIterator(vtkImageData*, int*, vtkAlgorithm*, int)'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIyEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDataPidP14vtkCellLocatoriPT_[void
vtkImplicitModellerAppendExecute<unsigned long long>(vtkImplicitModeller*,
vtkDataSet*, vtkImageData*, int*, double, vtkCellLocator*, int, unsigned
long long*)]+0x437): undefined reference to
`vtkImageProgressIterator<unsigned long long>::NextSpan()'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIiEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDataPidP14vtkCellLocatoriPT_[void
vtkImplicitModellerAppendExecute<int>(vtkImplicitModeller*, vtkDataSet*,
vtkImageData*, int*, double, vtkCellLocator*, int, int*)]+0x99): undefined
reference to
`vtkImageProgressIterator<int>::vtkImageProgressIterator(vtkImageData*,
int*, vtkAlgorithm*, int)'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIiEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDataPidP14vtkCellLocatoriPT_[void
vtkImplicitModellerAppendExecute<int>(vtkImplicitModeller*, vtkDataSet*,
vtkImageData*, int*, double, vtkCellLocator*, int, int*)]+0x405): undefined
reference to `vtkImageProgressIterator<int>::NextSpan()'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIlEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDataPidP14vtkCellLocatoriPT_[void
vtkImplicitModellerAppendExecute<long>(vtkImplicitModeller*, vtkDataSet*,
vtkImageData*, int*, double, vtkCellLocator*, int, long*)]+0x99): undefined
reference to
`vtkImageProgressIterator<long>::vtkImageProgressIterator(vtkImageData*,
int*, vtkAlgorithm*, int)'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIlEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDataPidP14vtkCellLocatoriPT_[void
vtkImplicitModellerAppendExecute<long>(vtkImplicitModeller*, vtkDataSet*,
vtkImageData*, int*, double, vtkCellLocator*, int, long*)]+0x405): undefined
reference to `vtkImageProgressIterator<long>::NextSpan()'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteImEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDataPidP14vtkCellLocatoriPT_[void
vtkImplicitModellerAppendExecute<unsigned long>(vtkImplicitModeller*,
vtkDataSet*, vtkImageData*, int*, double, vtkCellLocator*, int, unsigned
long*)]+0x99): undefined reference to `vtkImageProgressIterator<unsigned
long>::vtkImageProgressIterator(vtkImageData*, int*, vtkAlgorithm*, int)'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteImEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDataPidP14vtkCellLocatoriPT_[void
vtkImplicitModellerAppendExecute<unsigned long>(vtkImplicitModeller*,
vtkDataSet*, vtkImageData*, int*, double, vtkCellLocator*, int, unsigned
long*)]+0x413): undefined reference to `vtkImageProgressIterator<unsigned
long>::NextSpan()'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIjEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDataPidP14vtkCellLocatoriPT_[void
vtkImplicitModellerAppendExecute<unsigned int>(vtkImplicitModeller*,
vtkDataSet*, vtkImageData*, int*, double, vtkCellLocator*, int, unsigned
int*)]+0x99): undefined reference to `vtkImageProgressIterator<unsigned
int>::vtkImageProgressIterator(vtkImageData*, int*, vtkAlgorithm*, int)'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIjEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDataPidP14vtkCellLocatoriPT_[void
vtkImplicitModellerAppendExecute<unsigned int>(vtkImplicitModeller*,
vtkDataSet*, vtkImageData*, int*, double, vtkCellLocator*, int, unsigned
int*)]+0x413): undefined reference to `vtkImageProgressIterator<unsigned
int>::NextSpan()'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIsEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDataPidP14vtkCellLocatoriPT_[void
vtkImplicitModellerAppendExecute<short>(vtkImplicitModeller*, vtkDataSet*,
vtkImageData*, int*, double, vtkCellLocator*, int, short*)]+0x99): undefined
reference to
`vtkImageProgressIterator<short>::vtkImageProgressIterator(vtkImageData*,
int*, vtkAlgorithm*, int)'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIsEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDataPidP14vtkCellLocatoriPT_[void
vtkImplicitModellerAppendExecute<short>(vtkImplicitModeller*, vtkDataSet*,
vtkImageData*, int*, double, vtkCellLocator*, int, short*)]+0x405):
undefined reference to `vtkImageProgressIterator<short>::NextSpan()'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteItEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDataPidP14vtkCellLocatoriPT_[void
vtkImplicitModellerAppendExecute<unsigned short>(vtkImplicitModeller*,
vtkDataSet*, vtkImageData*, int*, double, vtkCellLocator*, int, unsigned
short*)]+0x99): undefined reference to `vtkImageProgressIterator<unsigned
short>::vtkImageProgressIterator(vtkImageData*, int*, vtkAlgorithm*, int)'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteItEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDataPidP14vtkCellLocatoriPT_[void
vtkImplicitModellerAppendExecute<unsigned short>(vtkImplicitModeller*,
vtkDataSet*, vtkImageData*, int*, double, vtkCellLocator*, int, unsigned
short*)]+0x40e): undefined reference to `vtkImageProgressIterator<unsigned
short>::NextSpan()'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIcEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDataPidP14vtkCellLocatoriPT_[void
vtkImplicitModellerAppendExecute<char>(vtkImplicitModeller*, vtkDataSet*,
vtkImageData*, int*, double, vtkCellLocator*, int, char*)]+0x99): undefined
reference to
`vtkImageProgressIterator<char>::vtkImageProgressIterator(vtkImageData*,
int*, vtkAlgorithm*, int)'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIcEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDataPidP14vtkCellLocatoriPT_[void
vtkImplicitModellerAppendExecute<char>(vtkImplicitModeller*, vtkDataSet*,
vtkImageData*, int*, double, vtkCellLocator*, int, char*)]+0x40f): undefined
reference to `vtkImageProgressIterator<char>::NextSpan()'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIaEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDataPidP14vtkCellLocatoriPT_[void
vtkImplicitModellerAppendExecute<signed char>(vtkImplicitModeller*,
vtkDataSet*, vtkImageData*, int*, double, vtkCellLocator*, int, signed
char*)]+0x99): undefined reference to `vtkImageProgressIterator<signed
char>::vtkImageProgressIterator(vtkImageData*, int*, vtkAlgorithm*, int)'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIaEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDataPidP14vtkCellLocatoriPT_[void
vtkImplicitModellerAppendExecute<signed char>(vtkImplicitModeller*,
vtkDataSet*, vtkImageData*, int*, double, vtkCellLocator*, int, signed
char*)]+0x40f): undefined reference to `vtkImageProgressIterator<signed
char>::NextSpan()'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIhEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDataPidP14vtkCellLocatoriPT_[void
vtkImplicitModellerAppendExecute<unsigned char>(vtkImplicitModeller*,
vtkDataSet*, vtkImageData*, int*, double, vtkCellLocator*, int, unsigned
char*)]+0x99): undefined reference to `vtkImageProgressIterator<unsigned
char>::vtkImageProgressIterator(vtkImageData*, int*, vtkAlgorithm*, int)'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIhEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDataPidP14vtkCellLocatoriPT_[void
vtkImplicitModellerAppendExecute<unsigned char>(vtkImplicitModeller*,
vtkDataSet*, vtkImageData*, int*, double, vtkCellLocator*, int, unsigned
char*)]+0x40f): undefined reference to `vtkImageProgressIterator<unsigned
char>::NextSpan()'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIdEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDatadPT_[void
vtkImplicitModellerAppendExecute<double>(vtkImplicitModeller*, vtkDataSet*,
vtkImageData*, double, double*)]+0x351): undefined reference to
`vtkImageIterator<double>::vtkImageIterator(vtkImageData*, int*)'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIdEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDatadPT_[void
vtkImplicitModellerAppendExecute<double>(vtkImplicitModeller*, vtkDataSet*,
vtkImageData*, double, double*)]+0x516): undefined reference to
`vtkImageIterator<double>::NextSpan()'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIfEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDatadPT_[void
vtkImplicitModellerAppendExecute<float>(vtkImplicitModeller*, vtkDataSet*,
vtkImageData*, double, float*)]+0x351): undefined reference to
`vtkImageIterator<float>::vtkImageIterator(vtkImageData*, int*)'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIfEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDatadPT_[void
vtkImplicitModellerAppendExecute<float>(vtkImplicitModeller*, vtkDataSet*,
vtkImageData*, double, float*)]+0x516): undefined reference to
`vtkImageIterator<float>::NextSpan()'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIxEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDatadPT_[void
vtkImplicitModellerAppendExecute<long long>(vtkImplicitModeller*,
vtkDataSet*, vtkImageData*, double, long long*)]+0x351): undefined reference
to `vtkImageIterator<long long>::vtkImageIterator(vtkImageData*, int*)'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIxEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDatadPT_[void
vtkImplicitModellerAppendExecute<long long>(vtkImplicitModeller*,
vtkDataSet*, vtkImageData*, double, long long*)]+0x516): undefined reference
to `vtkImageIterator<long long>::NextSpan()'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIyEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDatadPT_[void
vtkImplicitModellerAppendExecute<unsigned long long>(vtkImplicitModeller*,
vtkDataSet*, vtkImageData*, double, unsigned long long*)]+0x351): undefined
reference to `vtkImageIterator<unsigned long
long>::vtkImageIterator(vtkImageData*, int*)'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIyEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDatadPT_[void
vtkImplicitModellerAppendExecute<unsigned long long>(vtkImplicitModeller*,
vtkDataSet*, vtkImageData*, double, unsigned long long*)]+0x548): undefined
reference to `vtkImageIterator<unsigned long long>::NextSpan()'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIiEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDatadPT_[void
vtkImplicitModellerAppendExecute<int>(vtkImplicitModeller*, vtkDataSet*,
vtkImageData*, double, int*)]+0x351): undefined reference to
`vtkImageIterator<int>::vtkImageIterator(vtkImageData*, int*)'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIiEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDatadPT_[void
vtkImplicitModellerAppendExecute<int>(vtkImplicitModeller*, vtkDataSet*,
vtkImageData*, double, int*)]+0x516): undefined reference to
`vtkImageIterator<int>::NextSpan()'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIlEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDatadPT_[void
vtkImplicitModellerAppendExecute<long>(vtkImplicitModeller*, vtkDataSet*,
vtkImageData*, double, long*)]+0x351): undefined reference to
`vtkImageIterator<long>::vtkImageIterator(vtkImageData*, int*)'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIlEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDatadPT_[void
vtkImplicitModellerAppendExecute<long>(vtkImplicitModeller*, vtkDataSet*,
vtkImageData*, double, long*)]+0x516): undefined reference to
`vtkImageIterator<long>::NextSpan()'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteImEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDatadPT_[void
vtkImplicitModellerAppendExecute<unsigned long>(vtkImplicitModeller*,
vtkDataSet*, vtkImageData*, double, unsigned long*)]+0x351): undefined
reference to `vtkImageIterator<unsigned
long>::vtkImageIterator(vtkImageData*, int*)'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteImEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDatadPT_[void
vtkImplicitModellerAppendExecute<unsigned long>(vtkImplicitModeller*,
vtkDataSet*, vtkImageData*, double, unsigned long*)]+0x524): undefined
reference to `vtkImageIterator<unsigned long>::NextSpan()'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIjEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDatadPT_[void
vtkImplicitModellerAppendExecute<unsigned int>(vtkImplicitModeller*,
vtkDataSet*, vtkImageData*, double, unsigned int*)]+0x351): undefined
reference to `vtkImageIterator<unsigned
int>::vtkImageIterator(vtkImageData*, int*)'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIjEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDatadPT_[void
vtkImplicitModellerAppendExecute<unsigned int>(vtkImplicitModeller*,
vtkDataSet*, vtkImageData*, double, unsigned int*)]+0x524): undefined
reference to `vtkImageIterator<unsigned int>::NextSpan()'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIsEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDatadPT_[void
vtkImplicitModellerAppendExecute<short>(vtkImplicitModeller*, vtkDataSet*,
vtkImageData*, double, short*)]+0x351): undefined reference to
`vtkImageIterator<short>::vtkImageIterator(vtkImageData*, int*)'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIsEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDatadPT_[void
vtkImplicitModellerAppendExecute<short>(vtkImplicitModeller*, vtkDataSet*,
vtkImageData*, double, short*)]+0x516): undefined reference to
`vtkImageIterator<short>::NextSpan()'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteItEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDatadPT_[void
vtkImplicitModellerAppendExecute<unsigned short>(vtkImplicitModeller*,
vtkDataSet*, vtkImageData*, double, unsigned short*)]+0x351): undefined
reference to `vtkImageIterator<unsigned
short>::vtkImageIterator(vtkImageData*, int*)'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteItEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDatadPT_[void
vtkImplicitModellerAppendExecute<unsigned short>(vtkImplicitModeller*,
vtkDataSet*, vtkImageData*, double, unsigned short*)]+0x51f): undefined
reference to `vtkImageIterator<unsigned short>::NextSpan()'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIcEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDatadPT_[void
vtkImplicitModellerAppendExecute<char>(vtkImplicitModeller*, vtkDataSet*,
vtkImageData*, double, char*)]+0x351): undefined reference to
`vtkImageIterator<char>::vtkImageIterator(vtkImageData*, int*)'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIcEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDatadPT_[void
vtkImplicitModellerAppendExecute<char>(vtkImplicitModeller*, vtkDataSet*,
vtkImageData*, double, char*)]+0x520): undefined reference to
`vtkImageIterator<char>::NextSpan()'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIaEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDatadPT_[void
vtkImplicitModellerAppendExecute<signed char>(vtkImplicitModeller*,
vtkDataSet*, vtkImageData*, double, signed char*)]+0x351): undefined
reference to `vtkImageIterator<signed char>::vtkImageIterator(vtkImageData*,
int*)'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIaEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDatadPT_[void
vtkImplicitModellerAppendExecute<signed char>(vtkImplicitModeller*,
vtkDataSet*, vtkImageData*, double, signed char*)]+0x520): undefined
reference to `vtkImageIterator<signed char>::NextSpan()'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIhEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDatadPT_[void
vtkImplicitModellerAppendExecute<unsigned char>(vtkImplicitModeller*,
vtkDataSet*, vtkImageData*, double, unsigned char*)]+0x351): undefined
reference to `vtkImageIterator<unsigned
char>::vtkImageIterator(vtkImageData*, int*)'
c:/msys/1.0/VTK/lib/vtk-5.4/libvtkHybrid.a(vtkImplicitModeller.obj):vtkImplicitModeller.cxx:(.text$_Z32vtkImplicitModellerAppendExecuteIhEvP19vtkImplicitModellerP10vtkDataSetP12vtkImageDatadPT_[void
vtkImplicitModellerAppendExecute<unsigned char>(vtkImplicitModeller*,
vtkDataSet*, vtkImageData*, double, unsigned char*)]+0x520): undefined
reference to `vtkImageIterator<unsigned char>::NextSpan()'
collect2: ld returned 1 exit status
make: *** [minimal] Error 1
The makefile is:
CC = gcc
CXXFLAGS = -Wno-deprecated
INC = -I /C/msys/1.0/VTK/include/vtk-5.4
LIB = -L /C/msys/1.0/VTK/lib/vtk-5.4 -mwin32 -mthreads -mthreads -mwindows
-lvtkRendering -lvtkGraphics -lvtkImaging -lvtkIO -lvtkFiltering -lvtkCommon
-lvtkftgl -lvtkfreetype -lopengl32 -lvtkDICOMParser -lvtkpng -lvtktiff
-lvtkzlib -lvtkjpeg -lvtkexpat -lvfw32 -lvtksys -lvtkHybrid -lgdi32 -lstdc++
minimal: vtk_minimal.cpp
gcc $(CXXFLAGS) -c vtk_minimal.cpp $(INC)
gcc -o minimal vtk_minimal.o $(LIB)
clean:
rm -f *.o minimal.exe
when i add all libs from vtk i produce only more errors :)
Any hints or suggestion ?
--
View this message in context: http://old.nabble.com/Problem-with-linking-vtkHybrid-tp27621733p27621733.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list