VTK/Tutorials/WindowsEnvironmentSetup: Difference between revisions

From KitwarePublic
< VTK‎ | Tutorials
Jump to navigationJump to search
(Created page with 'You may find that CMake gives you an error: The C compiler "cl" is not able to compile a simple test program.')
 
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
You may find that CMake gives you an error: The C compiler "cl" is not able to compile a simple test program.
==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".

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