C compiler identification is unknown despite setting CC and CXX variables
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm using the command: cmake CC="C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\cl.exe" CXX="C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\cl.exe" -G "Visual Studio 12 Win64" -DBOOST_ROOT="c:\local\boost_1_56_0" -DBOOST_LIBRARYDIR="c:\local\boost_1_56_0\lib64- msvc-12.0" .. It says: The C compiler identification is unknown and The CXX compiler identification is unknown How is it possible when I set those variables right there? EDIT : Error log file: Compiling the C compiler identification source file