Ask Your Question

Revision history [back]

I do not test these steps

but you may try

1) Update your SDK,

this SDk will remove something important, so you need to do step 2 to fix it

2) install the bug-fix from

http://www.microsoft.com/en-us/download/details.aspx?id=4422


If after step 1 and 2, you still have the same problem

try (as suggested by Adi Shavit at -- http://stackoverflow.com/questions/14590947/cmake-configuring-fails-cl-exe-is-not-able-to-compile-a-simple-test-program )

1) Right-Click->Properties on cl.exe in your VS install directory (the exact path appears in the CMake error)

2) Choose the Compatibility Tab

3) Check "Run this program as administrator" in the "Privilege Level" box.

I do not test these steps

but you may try

1) Update your SDK, http://www.microsoft.com/en-us/download/details.aspx?id=3138

this SDk will remove something important, so you need to do step 2 to fix it

2) install the bug-fix from

http://www.microsoft.com/en-us/download/details.aspx?id=4422


If after step 1 and 2, you still have the same problem

try (as suggested by Adi Shavit at -- http://stackoverflow.com/questions/14590947/cmake-configuring-fails-cl-exe-is-not-able-to-compile-a-simple-test-program )

1) Right-Click->Properties on cl.exe in your VS install directory (the exact path appears in the CMake error)

2) Choose the Compatibility Tab

3) Check "Run this program as administrator" in the "Privilege Level" box.

I do not test these steps

but you may try

1) Update your SDK, http://www.microsoft.com/en-us/download/details.aspx?id=3138

this SDk and VS to SP1

SP1 will remove something important, so you need to do step 2 to fix it

2) install the bug-fix from

http://www.microsoft.com/en-us/download/details.aspx?id=4422


If after step 1 and 2, you still have the same problem

try (as suggested by Adi Shavit at -- http://stackoverflow.com/questions/14590947/cmake-configuring-fails-cl-exe-is-not-able-to-compile-a-simple-test-program )

1) Right-Click->Properties on cl.exe in your VS install directory (the exact path appears in the CMake error)

2) Choose the Compatibility Tab

3) Check "Run this program as administrator" in the "Privilege Level" box.

I do not test these steps

but you may try

1) Update your SDK, from this http://www.microsoft.com/en-us/download/details.aspx?id=3138

or this http://www.microsoft.com/en-us/download/details.aspx?id=8279

and VS to SP1

SP1 will remove something important, so you need to do step 2 to fix it

2) install the bug-fix from

http://www.microsoft.com/en-us/download/details.aspx?id=4422


If after step 1 and 2, you still have the same problem

try (as suggested by Adi Shavit at -- http://stackoverflow.com/questions/14590947/cmake-configuring-fails-cl-exe-is-not-able-to-compile-a-simple-test-program )

1) Right-Click->Properties on cl.exe in your VS install directory (the exact path appears in the CMake error)

2) Choose the Compatibility Tab

3) Check "Run this program as administrator" in the "Privilege Level" box.