[vtkusers] Linking to VTK static libraries on Windows
Bill Lorensen
bill.lorensen at gmail.com
Fri Oct 15 00:19:40 EDT 2010
http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/JPEGWriter
On Thu, Oct 14, 2010 at 11:09 PM, Gib Bogle <g.bogle at auckland.ac.nz> wrote:
> 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.
>>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
More information about the vtkusers
mailing list