[Paraview] Building VTK with shared libraries in ParaView
Jérôme
jerome.velut at gmail.com
Fri Feb 18 17:36:41 EST 2011
Hi,
Maybe I missed something in your request but:
The VTK sources you can find in the ParaView source tree may be used
independently. I mean, no matter if you create a VTKBuild folder from
which you execute CMake by pointing on the VTK sources. This built may
have a totally different CMake configuration, such as STATIC instead
of SHARED. The cons is that you will have 2 built dir for VTK, one in
the ParaView built dir (the one with BUILD_SHARED_LIBS ON) and another
one in another place.
Your test application will then have to point the VTK_DIR to the right
VTK built dir in CMake.
HTH,
Jerome
2011/2/18 David Partyka <david.partyka at kitware.com>:
> Yes, all libraries that ParaView builds including VTK will also be built
> shared. Let us know if you need any more help.
>
> On Fri, Feb 18, 2011 at 4:09 PM, Alexis Chan <alexisc at stanfordalumni.org>
> wrote:
>>
>> Hi
>>
>> I set BUILD_SHARED_LIBS in CMAKE to TRUE when building ParaView. Does that
>> mean that when it's building VTK for ParaView, the VTK is built with shared
>> libraries?
>>
>>
>> I am building a test application that uses the VTK from ParaView and it
>> would only compile when I changed the setting for the test application to
>> static libraries (instead of shared libraries).
>>
>> Thanks.
>> --
>> Alexis YL Chan
>>
>> _______________________________________________
>> 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 ParaView Wiki at:
>> http://paraview.org/Wiki/ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.paraview.org/mailman/listinfo/paraview
>>
>
>
> _______________________________________________
> 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 ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
More information about the ParaView
mailing list