Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
CMake from Visual Studio 2019 (16.9)
1> CMake generation started for default configuration: 'x64-Debug'.
1> Command line: "cmd.exe" /c "%SYSTEMROOT%\System32\chcp.com 65001 >NUL && "c:\program files (x86)\microsoft visual studio\2019\professional\common7\ide\commonextensions\microsoft\cmake\CMake\bin\cmake.exe" -G "Ninja" -DCMAKE_BUILD_TYPE:STRING="Debug" -DCMAKE_INSTALL_PREFIX:PATH="D:\p\imgui-fetchcontent\out\install\x64-Debug" -DCMAKE_C_COMPILER:FILEPATH="C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.28.29910/bin/Hostx64/x64/cl.exe" -DCMAKE_CXX_COMPILER:FILEPATH="C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.28.29910/bin/Hostx64/x64/cl.exe" -DCMAKE_MAKE_PROGRAM="c:\program files (x86)\microsoft visual studio\2019\professional\common7\ide\commonextensions\microsoft\cmake\Ninja\ninja.exe" "D:\p\imgui-fetchcontent" 2>&1"
1> Working directory: D:\p\imgui-fetchcontent\out\build\x64-Debug
1> [CMake] -- The C compiler identification is MSVC 19.28.29913.0
1> [CMake] -- The CXX compiler identification is MSVC 19.28.29913.0
1> [CMake] -- Detecting C compiler ABI info
1> [CMake] -- Detecting C compiler ABI info - done
1> [CMake] -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.28.29910/bin/Hostx64/x64/cl.exe - skipped
1> [CMake] -- Detecting C compile features
1> [CMake] -- Detecting C compile features - done
1> [CMake] -- Detecting CXX compiler ABI info
1> [CMake] -- Detecting CXX compiler ABI info - done
1> [CMake] -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.28.29910/bin/Hostx64/x64/cl.exe - skipped
1> [CMake] -- Detecting CXX compile features
1> [CMake] -- Detecting CXX compile features - done
1> [CMake] [1/9] Creating directories for 'glfw-populate'
1> [CMake] [1/9] Performing download step (git clone) for 'glfw-populate'
1> [CMake] Cloning into 'glfw-src'...
1> [CMake] BUG: run-command.c:520: disabling cancellation: Invalid argument
1> [CMake] fatal: destination path 'glfw-src' already exists and is not an empty directory.
1> [CMake] fatal: destination path 'glfw-src' already exists and is not an empty directory.
1> [CMake] -- Had to git clone more than once:
1> [CMake] 3 times.
1> [CMake] CMake Error at glfw-subbuild/glfw-populate-prefix/tmp/glfw-populate-gitclone.cmake:31 (message):
1> [CMake] Failed to clone repository: 'https://github.com/glfw/glfw'
1> [CMake]
1> [CMake]
1> [CMake] FAILED: glfw-populate-prefix/src/glfw-populate-stamp/glfw-populate-download
1> [CMake] cmd.exe /C "cd /D D:\p\imgui-fetchcontent\out\build\x64-Debug\_deps && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -P D:/p/imgui-fetchcontent/out/build/x64-Debug/_deps/glfw-subbuild/glfw-populate-prefix/tmp/glfw-populate-gitclone.cmake && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E touch D:/p/imgui-fetchcontent/out/build/x64-Debug/_deps/glfw-subbuild/glfw-populate-prefix/src/glfw-populate-stamp/glfw-populate-download"
1> [CMake] ninja: build stopped: subcommand failed.
1> [CMake]
1> [CMake] CMake Error at C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.19/Modules/FetchContent.cmake:989 (message):
1> [CMake] Build step for glfw failed: 1
1> [CMake] Call Stack (most recent call first):
1> [CMake] C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.19/Modules/FetchContent.cmake:1111:EVAL:2 (__FetchContent_directPopulate)
1> [CMake] C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.19/Modules/FetchContent.cmake:1111 (cmake_language)
1> [CMake] C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.19/Modules/FetchContent.cmake:1154 (FetchContent_Populate)
1> [CMake] dependencies/CMakeLists.txt:35 (FetchContent_MakeAvailable)
1> [CMake] -- Configuring incomplete, errors occurred!
1> [CMake] See also "D:/p/imgui-fetchcontent/out/build/x64-Debug/CMakeFiles/CMakeOutput.log".
1> 'cmd.exe' '/c "%SYSTEMROOT%\System32\chcp.com 65001 >NUL && "c:\program files (x86)\microsoft visual studio\2019\professional\common7\ide\commonextensions\microsoft\cmake\CMake\bin\cmake.exe" -G "Ninja" -DCMAKE_BUILD_TYPE:STRING="Debug" -DCMAKE_INSTALL_PREFIX:PATH="D:\p\imgui-fetchcontent\out\install\x64-Debug" -DCMAKE_C_COMPILER:FILEPATH="C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.28.29910/bin/Hostx64/x64/cl.exe" -DCMAKE_CXX_COMPILER:FILEPATH="C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.28.29910/bin/Hostx64/x64/cl.exe" -DCMAKE_MAKE_PROGRAM="c:\program files (x86)\microsoft visual studio\2019\professional\common7\ide\commonextensions\microsoft\cmake\Ninja\ninja.exe" "D:\p\imgui-fetchcontent" 2>&1"' execution failed with error: ''cmd.exe' '/c "%SYSTEMROOT%\System32\chcp.com 65001 >NUL && "c:\program files (x86)\microsoft visual studio\2019\professional\common7\ide\commonextensions\microsoft\cmake\CMake\bin\cmake.exe" -G "Ninja" -DCMAKE_BUILD_TYPE:STRING="Debug" -DCMAKE_INSTALL_PREFIX:PATH="D:\p\imgui-fetchcontent\out\install\x64-Debug" -DCMAKE_C_COMPILER:FILEPATH="C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.28.29910/bin/Hostx64/x64/cl.exe" -DCMAKE_CXX_COMPILER:FILEPATH="C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.28.29910/bin/Hostx64/x64/cl.exe" -DCMAKE_MAKE_PROGRAM="c:\program files (x86)\microsoft visual studio\2019\professional\common7\ide\commonextensions\microsoft\cmake\Ninja\ninja.exe" "D:\p\imgui-fetchcontent" 2>&1"' returned with exit code: 1'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment