[vtkusers] Static Link VTK

David Doria daviddoria at gmail.com
Sun Dec 9 14:58:41 EST 2012


On Sun, Dec 9, 2012 at 2:38 PM, Mehdi Esteghamatian <
mehdiesteghamat at gmail.com> wrote:

> Hello Everyone,
>
> I just have a question that I have been trying to find the answer on the
> net already, but could not find.
>
> I am trying to build an standalone application, a single exe file using
> VTK in such a way that I do not need to put the dlls in the same folder.
>
> Please let me know how I can compile against static libraries.
>
> I just do not know where I can get the vtk static libs in the vtk-build
> folder.
>
> Thanks in advance,
>
> Mehdi
>

You need to build VTK with BUILD_SHARED_LIBS=OFF

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20121209/eb248d82/attachment.htm>


More information about the vtkusers mailing list