[vtkusers] How to generate .dll's ?

N David Brown hubdave at gmail.com
Tue Sep 6 19:12:28 EDT 2011


Thanks guys, three of you have given me an answer to question one now!

Don't worry about question two, I'll mail the list again if I have issues :)

Your help's been much appreciated, have a good night

David


On 6 September 2011 23:53, Wenlong Wang <scc.wwl at gmail.com> wrote:

> Hi, David,
>
> For your first question, you have to set "build_shared_libs" to "on" in
> CMake. Then you copy the generated .dll files to your system folder.
>
> I've no idea about your second question. Sorry.
>
> Blessings
> Wenlong
>
> 2011/9/6 N David Brown <hubdave at gmail.com>
>
>> I've just compiled the latest stable version of VTK as a Debug project in
>> Visual Studio 2008.
>>
>> I wish to use VTK in my C++ project.
>>
>> I have two questions:
>>
>>
>>    1. Only .lib files have been generated, and no dll's. Is this because
>>    of a CMake property I've not set?
>>    2. Should I enable WRAP_TCL in CMake in order to use within my C++
>>    application to use with KWWidgets?
>>
>> I would be extremely grateful for advice on either/both of these
>> questions. Thank you for your time.
>>
>> Best wishes,
>>
>> David
>>
>> _______________________________________________
>> 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
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110907/026964e7/attachment.htm>


More information about the vtkusers mailing list