This wiki has been deprecated. You can find updated information from the main VTK website.

VTK/Tutorials/WindowsEnvironmentSetup

From KitwarePublic
< VTK‎ | Tutorials
Jump to navigationJump to search

Pitfalls

Missing VC++

If CMake gives you an error: "The C compiler "cl" is not able to compile a simple test program." You do not have VC++ installed. Even if Visual Studio is installed, you must ensure VC++ has been installed (an option during the Visual Studio installation).

Select Debug Exectuable

When you click "Start Debugging" in Visual Studio, if you get a dialog box asking you to specify a debug executable, you must right click on the project in the Solution Explorer and select "Set as startup project".