User talk:MalakaGL

From KitwarePublic
Jump to navigationJump to search

Welcome to KitwarePublic! We hope you will contribute much and well. You will probably want to read the help pages. Again, welcome and have fun! WikiSysop 10:26, 12 November 2014 (EST)

Using Visual Studio With VTK

We have given many example codes [here http://www.vtk.org/Wiki/VTK/Examples/Cxx].

But most of them do not compatible with current version of VTK.

Here is a simple guideline to make those work.


First copy the given .cxx code and CMakeLists.txt to a folder, "src".

Then open CMake and give the "src" as the source and give a new folder as the destination.

Configure and generate the visual studio project.


Open the .sln file in Visual Studio.

Right click on the project name and select "set as start up program".

Build and debug the program.