CMake configuring fails. “cl.exe is not able to compile a simple test program”

I had the same problem on Win7.
What worked for me is what @Andre suggested in the comment:

  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.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)