[vtkusers] Static Link VTK

Mehdi Esteghamatian mehdiesteghamat at gmail.com
Sun Dec 9 15:59:34 EST 2012


Sure! I CCed the conversation.

---------- Forwarded message ----------
From: David Doria <daviddoria at gmail.com>
Date: Sun, Dec 9, 2012 at 3:55 PM
Subject: Re: [vtkusers] Static Link VTK
To: Mehdi Esteghamatian <mehdiesteghamat at gmail.com>


Perhaps, I'm not sure what to do in that case. Please keep the discussion
on the mailing list, someone there might know.

David



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

> Thanks David for the quick response.
>
> Yes I already did that but the thing is that I am using QT as well for GUI
> stuff and as I turn off BUILD_SHARED_LIBS it dose not compile QVTK.lib
> which I guess it is because the my QT was compiled dynamically.
>
> Might that be correct?
>
> Thanks
> Mehdi
>
>
> On Sun, Dec 9, 2012 at 2:58 PM, David Doria <daviddoria at gmail.com> wrote:
>
>> 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/3f974fa7/attachment.htm>


More information about the vtkusers mailing list