[vtkusers] Compilig VTK 4.2 on WinXP with MinGW
Matthias Langer
mlangc at gmx.at
Sat Sep 17 07:37:25 EDT 2005
Martin Baumann wrote:
> Hi,
>
> I created makefiles by entering make -i.
> Then I started MSYS and run make in the VTK source directory.
>
> Compiling is started and after a while the following error occurs:
>
> vtkColorTransferFunction.o(.text$_ZN18vtkScalarsToColorsD2Ev[vtkScalarsToColors::~vtkScalarsToColors()]+0xb):vtkColorTransferFunction.cxx:
> variable 'vtable for vtkScalarsToColors' can't be auto-imported.
> Please read the documentation for ld's --enable-auto-import for details.
> Creating library file: libvtkFiltering.a
> collect2: ld returned 1 exit status
> make[1]: *** [vtkFiltering] Error 1
> make[1]: Leaving directory `/c/Programme/VTK/src/Filtering'
> make: *** [libs] Error 2
> Can anyone make a comment on this error?
> When I compiled VTK in Linux, the source could be compiled (make)
> after running cmake.
> Where do I have to look for a solution for this problem? A setting in
> the makefiles? A flag setting for the
> compiler?
>
> Thanks, Martin
>
Pass -Wl,--enable-runtime-pseudo-reloc to the linker.
Matthias
More information about the vtkusers
mailing list