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.')
 
No edit summary
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".

Revision as of 14:40, 18 February 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".