![]() The system cannot find the file specifiedīasically CMake fails to build a simple example project due to issues around the resource compiler and the CMAKE_MT program it requires. RC Pass 1: command "rc /fo CMakeFiles\cmTC_9ce07.dir/manifest.res CMakeFiles\cmTC_9ce07.dir/manifest.rc" failed (exit code 0) with the following output: & C:\cmake\bin\cmake.exe -E vs_link_exe -intdir=CMakeFiles\cmTC_9ce07.dir -rc=rc -mt=CMAKE_MT-NOTFOUND -manifests - C:\PROGRA~1\MIB055~1\2022\PROFES~1\VC\Tools\MSVC\1430~1.307\bin\Host圆4\圆4\link.exe /nologo CMakeFiles\cmTC_9ce07.dir\ /out:cmTC_9ce07.exe /implib:cmTC_9ce07.lib /pdb:cmTC_9ce07.pdb /version:0.0 /machine:圆4 /debug /INCREMENTAL /subsystem:console kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib & cd. Linking CXX executable cmTC_9ce07.exeĬmd.exe /C "cd. Run Build Command(s):D:/develop/dk/win/ninja/1.10.2/ninja.exe cmTC_9ce07 & Building CXX object CMakeFiles\cmTC_9ce07.dir\ Is not able to compile a simple test program.Ĭhange Dir: D:/foobar/build/nin/CMakeFiles/CMakeTmp "C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/5/bin/Host圆4/圆4/cl.exe" Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/5/bin/Host圆4/圆4/cl.exe - brokenĬMake Error at C:/cmake/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake:62 (message): Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/5/bin/Host圆4/圆4/cl.exe Detecting CXX compiler ABI info - failed The CXX compiler identification is MSVC 5.0 When using the native tools command prompts provided by visual studio I’m getting this strange error: >cmake -B build/nin -G "Ninja" So it’s not specific to a CMake release or version of visual studio. Link to the Visual Studio issue with full details TLDR: Registry editing has been disabled by your administrator.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |