@jonas
Thank you for your reply. I spotted the following error:
The specified file could not be found.
I confirmed that the following exists:
C:/Data/Projects/strawberry/strawberry/out/build/x64-Debug/CMakeFiles/CMakeScratch/
directory, but not its subdirectory TryCompile-6m1cjp
- maybe deleted after the build attempt(?)
When I run the command:
C:/Program Files/cad/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe
with no arguments, just to see the ninja.exe is there, I get:
ninja: error: loading 'build.ninja': The specified file could not be found.
Full CMakeError.log below:
Detecting C compiler ABI info failed to compile with the following output:
Change Dir: C:/Data/Projects/strawberry/strawberry/out/build/x64-Debug/CMakeFiles/CMakeScratch/TryCompile-6m1cjp
Run Build Command(s):C:/Program Files/cad/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_27de3 && [1/2] Building C object CMakeFiles\cmTC_27de3.dir\CMakeCCompilerABI.c.obj
[2/2] Linking C executable cmTC_27de3.exe
FAILED: cmTC_27de3.exe
cmd.exe /C "cd . && "C:\Program Files\cad\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\cmTC_27de3.dir --rc=rc --mt=CMAKE_MT-NOTFOUND --manifests -- C:\PROGRA~1\cad\MICROS~1\2022\COMMUN~1\VC\Tools\MSVC\1435~1.322\bin\Hostx64\x86\link.exe /nologo CMakeFiles\cmTC_27de3.dir\CMakeCCompilerABI.c.obj /out:cmTC_27de3.exe /implib:cmTC_27de3.lib /pdb:cmTC_27de3.pdb /version:0.0 /machine:X86 /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 ."
RC Pass 1: command "rc /fo CMakeFiles\cmTC_27de3.dir/manifest.res CMakeFiles\cmTC_27de3.dir/manifest.rc" failed (exit code 0) with the following output:
The specified file could not be found
ninja: build stopped: subcommand failed.
Determining if the C compiler works failed with the following output:
Change Dir: C:/Data/Projects/strawberry/strawberry/out/build/x64-Debug/CMakeFiles/CMakeScratch/TryCompile-xpvc80
Run Build Command(s):C:/Program Files/cad/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_a84f8 && [1/2] Building C object CMakeFiles\cmTC_a84f8.dir\testCCompiler.c.obj
[2/2] Linking C executable cmTC_a84f8.exe
FAILED: cmTC_a84f8.exe
cmd.exe /C "cd . && "C:\Program Files\cad\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\cmTC_a84f8.dir --rc=rc --mt=CMAKE_MT-NOTFOUND --manifests -- C:\PROGRA~1\cad\MICROS~1\2022\COMMUN~1\VC\Tools\MSVC\1435~1.322\bin\Hostx64\x86\link.exe /nologo CMakeFiles\cmTC_a84f8.dir\testCCompiler.c.obj /out:cmTC_a84f8.exe /implib:cmTC_a84f8.lib /pdb:cmTC_a84f8.pdb /version:0.0 /machine:X86 /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 ."
RC Pass 1: command "rc /fo CMakeFiles\cmTC_a84f8.dir/manifest.res CMakeFiles\cmTC_a84f8.dir/manifest.rc" failed (exit code 0) with the following output:
The specified file could not be found
ninja: build stopped: subcommand failed.