![]() Here is the first log: Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. And after told me in the comments to look into CMakeFiles/CMakeError.log I managed to fix the problem! Option 2: ensure that Spectre mitigation libraries installed Now CMake's compiler test run passes and no other issues found. That overrides default VS behavior and disables /QSpectre compiler switch. Put/copy file with name ' ' to /build folder with content: Luckily found a thread on support forum: That means that we need to turn off generating Visual Studio project with correspondent compilation flags on by default since CMake does that to check whether compiler exists and operational. Option 1: I have no intention to use "Spectre-mitigated" libraries and want just to restore previous build behavior. Verify that the Visual Studio Workload includes the Spectre mitigated libraries. Warning MSB8038: Spectre mitigation is enabled but Spectre mitigated libraries After reading CMakeFiles/CMakeError.log found an error LINK : fatal error LNK1104: cannot open file 'MSVCRTD.lib'Īnd what's more important - warning Common7\IDE\VC\VCTargets\(402,5):
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |