[vtkusers] Problem in creating static library with VTK
John Drescher
drescherjm at gmail.com
Sun Feb 12 22:45:38 EST 2012
On Sun, Feb 12, 2012 at 10:13 PM, Thiha Oo <thihaucsm at gmail.com> wrote:
> Hello,
> Please help me one thing.
> I want to create a static library ( .lib ) of my VTK application. I want
> to call that single lib from other program in Visual C++.
> I used cmake to create a library file from my VTK project but i think the
> VTK specific libraries are not incorporated into my custom library file.
>
> I want to know how to add VTK libraries into my own library so that I
> don't need to install VTK on other machine and just call my library
> directly.
>
>
> Thanks and regards,
> Thiha
>
> _______________________________________________
> 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
>
Configure vtk in cmake-gui with BUILD_SHARED_LIBS off. Then rebuild clean.
John
More information about the vtkusers
mailing list