[vtkusers] Using VTK in a Visual C++ project

David Doria daviddoria at gmail.com
Wed Apr 13 12:22:42 EDT 2011


On Wed, Apr 13, 2011 at 12:19 PM, KK <karoll.frindel at gmail.com> wrote:

> It's what I did. I used CMake to get a VTK.sln (VS project).
> But now I'm trying to use the binaries resulting from the compilation of
> VTK.sln to use VTK in my own VS project (integrate the VTK libs in my
> project dependencies).


Yes, again you must use CMake.

As an example:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Sphere

<http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Sphere>the
CMakeLists.txt file there creates a Sphere.sln that you then open with VS
and everything is automatically configured.

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


More information about the vtkusers mailing list