[vtkusers] VTK 5.0 link errors (MinGW, shared libraries)

HIRAKI Hideaki hhiraki at lab.nig.ac.jp
Mon Feb 6 09:07:58 EST 2006


Hello Dave,

At Sun, 05 Feb 2006 09:57:13 -0800, David Akers wrote:
> I'm trying to build VTK 5.0.0 shared libraries using a MinGW/Cygwin (gcc
> 3.4.5) system. Everything proceeds just fine until I try to link
> vtkFiltering.dll. I get numerous errors (copied below, all related to
> undefined references to vtkDataArrayTemplate methods). Any ideas would
> be greatly appreciated! I have no problems with static linking - just
> creating shared libraries. I also get the same problem using Cygwin's
> compiler with the '-mno-cygwin' option.

A solution is to set '-Wl,--export-all-symbols' option.

Cheers,

Hideaki Hiraki



More information about the vtkusers mailing list