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

David Doria daviddoria at gmail.com
Wed Apr 13 12:11:27 EDT 2011


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

>
> Hi everybody,
>
> I am a beginner in VTK and try to use it in a Visual C + + project.
> To do this, I added the directories of VTK header and library files to my
> project. The header files were added from Project Property
> Page->C/C++->Additional Include Directories; the library directories were
> added from Project Property Page->Linker->Additional Library Directories.
> Finally to use VTK in my project, vtk*.libs were also added to the project
> settings. I went to Project, Open Properties page, select Linker list, in
> the Input category I added vtk*.libs to the Additional Dependencies, which
> are vtkCommon.lib vtkFiltering.lib vtkGraphics.lib vtkHybrid.lib
> vtkImaging.lib vtkIO.lib vtkpng.lib vtkjpeg.lib vtkParallel.lib
> vtkRendering.lib vtkzlib.lib
>
>
You must use CMake to create a VS project from your code:

https://docs.google.com/present/edit?id=0AcyIfGqnlfSoZGdqaGhnMnJfMjg5aHE3ZzhwdmQ&hl=en

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


More information about the vtkusers mailing list