RC Pass 1: command "rc /foCMakeFiles\cmTC_8f658.dir/manifest.res CMakeFiles\cmTC_8f658.dir/manifest.rc" failed
I have an error in step 1 rc. CMakeFiles\cmTC_09508.dir can not be found in CMakeFiles CMakeOutput.log
`C:\OrthancBuildWin>cmake -G Ninja -DSTATIC_BUILD=ON C:\Orthanc`
Re-run cmake no build system arguments
-- The C compiler identification is MSVC 19.0.24215.1
-- The CXX compiler identification is MSVC 19.0.24215.1
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe -- broken
CMake Error at C:/Program Files/CMake/share/cmake-3.14/Modules/CMakeTestCCompiler.cmake:60 (message):
The C compiler
"C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: C:/OrthancBuildWin/CMakeFiles/CMakeTmp
Run Build Command(s):C:/Ninja/ninja.exe cmTC_8f658
[1/2] Building C object CMakeFiles\cmTC_8f658.dir\testCCompiler.c.obj
[2/2] Linking C executable cmTC_8f658.exe
FAILED: cmTC_8f658.exe
cmd.exe /C "cd . && "C:\Program Files\CMake\bin\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\cmTC_8f658.dir --rc=rc --
mt=CMAKE_MT-NOTFOUND --manifests -- C:\PROGRA~2\MICROS~1.0\VC\bin\amd64\link.exe /nologo
CMakeFiles\cmTC_8f658.dir\testCCompiler.c.obj /out:cmTC_8f658.exe /implib:cmTC_8f658.lib /pdb:cmTC_8f658.pdb /version:0.0
/machine:x64 /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 ."
Visual Studio Incremental Link with embedded manifests
Create CMakeFiles\cmTC_8f658.dir/manifest.rc
Create empty: CMakeFiles\cmTC_8f658.dir/embed.manifest
RC Pass 1:
rc /foCMakeFiles\cmTC_8f658.dir/manifest.res CMakeFiles\cmTC_8f658.dir/manifest.rc
RC Pass 1: command "rc /foCMakeFiles\cmTC_8f658.dir/manifest.res CMakeFiles\cmTC_8f658.dir/manifest.rc" failed (exit code
0) with the following output:
El sistema no puede encontrar el archivo especificado
ninja: build stopped: subcommand failed.
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:3 (project)
-- Configuring incomplete, errors occurred!
See also "C:/OrthancBuildWin/CMakeFiles/CMakeOutput.log".
See also "C:/OrthancBuildWin/CMakeFiles/CMakeError.log".`
Edited by Jesus Santiago Tovar