[vtkusers] Compilig VTK 4.2 on WinXP with MinGW

Martin Baumann mailsgetlost at web.de
Fri Sep 16 21:16:08 EDT 2005


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

  ----- Original Message ----- 
  From: Martin Baumann 
  To: VTK 
  Sent: Friday, September 16, 2005 1:27 AM
  Subject: [vtkusers] Compilig VTK 4.2 on WinXP with MinGW


  Hi,

  I searched the vtkuser archiv, but no mail could help me.

  I have the latest version of MinGW, CMake and VTK (4.2). Also I installed MSYS. I don't know if
  I really need MSYS. 

  Did anyone made it to compile VTK 4.2 with MinGW? I mean without using any
  linux. Today I read alot of compiling VTK in Linux for Windows.

  Is there a HOWTO for this problem? 

  I found this link http://www.dpinson.com/software/vtk/index.php where you can download makefiles 
  that you can copy in your VTK-source directory and it is said that all you have to do is enter 'make'. 
  In my case it doesn't work.


  Thanks, Martin


------------------------------------------------------------------------------


  _______________________________________________
  This is the private VTK discussion list. 
  Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
  Follow this link to subscribe/unsubscribe:
  http://www.vtk.org/mailman/listinfo/vtkusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20050917/615da721/attachment.htm>


More information about the vtkusers mailing list