VTK/Tutorials/WindowsEnvironmentSetup: Difference between revisions

From KitwarePublic
< VTK‎ | Tutorials
Jump to navigationJump to search
No edit summary
mNo edit summary
 
Line 1: Line 1:
==Pitfalls==
==Pitfalls==
===Missing VC++==
===Missing VC++===
If CMake gives you an error: "The C compiler "cl" is not able to compile a simple test program."
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).
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).

Latest revision as of 20:36, 17 August 2010

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".