[vtkusers] Linking to VTK static libraries on Windows
Gib Bogle
g.bogle at auckland.ac.nz
Thu Oct 14 23:09:43 EDT 2010
Can someone tell me if there is an example that uses vtkJPEGWriter, or one of
the other image writers? I might learn something from looking at how it is
built with static linking.
On 15/10/2010 2:11 p.m., Dave Partyka wrote:
> The USE_SYSTEM flags are meant for linking in system installed/externally built
> versions of these libraries. On Linux/Mac you can easily install 'development'
> versions of these libraries using their respective package managers and then
> configure the USE_SYSTEM flags to point to those libraries instead. On Windows
> you would have to build those libraries by hand so don't worry about the
> USE_SYSTEM options.
>
> Anyway, I am not entirely sure if link order matters but you might try putting
> vtkCommon and vtkFiltering before vtkIO as nearly everything in VTK depends on
> vtkCommon/vtkFiltering.
>
More information about the vtkusers
mailing list