microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
23.41k stars 6.47k forks source link

[glew] Build error on x64-windows #42473

Open kglundgren opened 2 days ago

kglundgren commented 2 days ago

Package: glew:x64-windows@2.2.0#4

Host Environment

To Reproduce

vcpkg install

Failure logs

-- Using cached glew-2.2.0.tgz.
-- Extracting source C:/Users/gulu/AppData/Local/vcpkg/downloads/glew-2.2.0.tgz
-- Applying patch fix-LNK2019.patch
-- Applying patch base_address.patch
-- Using source at C:/dev/learn-opengl/build/vcpkg_installed/vcpkg/blds/glew/src/glew-80f5997feb.clean
-- Found external ninja('1.12.1').
-- Configuring x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
    Command failed: "C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe" C:/dev/learn-opengl/build/vcpkg_installed/vcpkg/blds/glew/src/glew-80f5997feb.clean/build/cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=C:/dev/learn-opengl/build/vcpkg_installed/vcpkg/pkgs/glew_x64-windows/debug -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DBUILD_UTILS=OFF "-DCMAKE_MAKE_PROGRAM=C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -DBUILD_SHARED_LIBS=ON "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/vcpkg/scripts/toolchains/windows.cmake" -DVCPKG_TARGET_TRIPLET=x64-windows -DVCPKG_SET_CHARSET_FLAG=ON -DVCPKG_PLATFORM_TOOLSET=v143 -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE -DCMAKE_VERBOSE_MAKEFILE=ON -DVCPKG_APPLOCAL_DEPS=OFF "-DCMAKE_TOOLCHAIN_FILE=C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/vcpkg/scripts/buildsystems/vcpkg.cmake" -DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON -DVCPKG_CXX_FLAGS= -DVCPKG_CXX_FLAGS_RELEASE= -DVCPKG_CXX_FLAGS_DEBUG= -DVCPKG_C_FLAGS= -DVCPKG_C_FLAGS_RELEASE= -DVCPKG_C_FLAGS_DEBUG= -DVCPKG_CRT_LINKAGE=dynamic -DVCPKG_LINKER_FLAGS= -DVCPKG_LINKER_FLAGS_RELEASE= -DVCPKG_LINKER_FLAGS_DEBUG= -DVCPKG_TARGET_ARCHITECTURE=x64 -DCMAKE_INSTALL_LIBDIR:STRING=lib -DCMAKE_INSTALL_BINDIR:STRING=bin "-D_VCPKG_ROOT_DIR=C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/vcpkg" -D_VCPKG_INSTALLED_DIR=C:/dev/learn-opengl/build/vcpkg_installed -DVCPKG_MANIFEST_INSTALL=OFF
    Working Directory: C:/dev/learn-opengl/build/vcpkg_installed/vcpkg/blds/glew/x64-windows-dbg
    Error code: 1
    See logs for more information:
      C:\dev\learn-opengl\build\vcpkg_installed\vcpkg\blds\glew\config-x64-windows-dbg-CMakeCache.txt.log
      C:\dev\learn-opengl\build\vcpkg_installed\vcpkg\blds\glew\config-x64-windows-dbg-CMakeConfigureLog.yaml.log
      C:\dev\learn-opengl\build\vcpkg_installed\vcpkg\blds\glew\config-x64-windows-dbg-out.log
      C:\dev\learn-opengl\build\vcpkg_installed\vcpkg\blds\glew\config-x64-windows-dbg-err.log

Call Stack (most recent call first):
  C:/dev/learn-opengl/build/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:287 (vcpkg_execute_required_process)
  C:/Users/gulu/AppData/Local/vcpkg/registries/git-trees/bf42d73479dcd0f239b71dbed4d0d3af22efb294/portfile.cmake:22 (vcpkg_cmake_configure)
  scripts/ports.cmake:192 (include)
C:\dev\learn-opengl\build\vcpkg_installed\vcpkg\blds\glew\config-x64-windows-dbg-out.log ``` -- The C compiler identification is MSVC 19.42.34435.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - failed -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/cl.exe -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/cl.exe - broken -- Configuring incomplete, errors occurred! ```
C:\dev\learn-opengl\build\vcpkg_installed\vcpkg\blds\glew\config-x64-windows-dbg-err.log ``` CMake Warning (dev) at CMakeLists.txt:5 (project): cmake_minimum_required() should be called prior to this top-level project() call. Please see the cmake-commands(7) manual for usage documentation of both commands. This warning is for project developers. Use -Wno-dev to suppress it. CMake Error at C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.29/Modules/CMakeTestCCompiler.cmake:67 (message): The C compiler "C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/cl.exe" is not able to compile a simple test program. It fails with the following output: Change Dir: 'C:/dev/learn-opengl/build/vcpkg_installed/vcpkg/blds/glew/x64-windows-dbg/CMakeFiles/CMakeScratch/TryCompile-9fcmcb' Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v cmTC_b399d [1/2] C:\PROGRA~1\MIB055~1\2022\PROFES~1\VC\Tools\MSVC\1442~1.344\bin\Hostx64\x64\cl.exe /nologo /nologo /DWIN32 /D_WINDOWS /utf-8 /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\cmTC_b399d.dir\testCCompiler.c.obj /FdCMakeFiles\cmTC_b399d.dir\ /FS -c C:\dev\learn-opengl\build\vcpkg_installed\vcpkg\blds\glew\x64-windows-dbg\CMakeFiles\CMakeScratch\TryCompile-9fcmcb\testCCompiler.c [2/2] C:\WINDOWS\system32\cmd.exe /C "cd . && "C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\cmTC_b399d.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\mt.exe --manifests -- C:\PROGRA~1\MIB055~1\2022\PROFES~1\VC\Tools\MSVC\1442~1.344\bin\Hostx64\x64\link.exe /nologo CMakeFiles\cmTC_b399d.dir\testCCompiler.c.obj /out:cmTC_b399d.exe /implib:cmTC_b399d.lib /pdb:cmTC_b399d.pdb /version:0.0 /machine:x64 /nologo /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 ." FAILED: cmTC_b399d.exe C:\WINDOWS\system32\cmd.exe /C "cd . && "C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\cmTC_b399d.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\mt.exe --manifests -- C:\PROGRA~1\MIB055~1\2022\PROFES~1\VC\Tools\MSVC\1442~1.344\bin\Hostx64\x64\link.exe /nologo CMakeFiles\cmTC_b399d.dir\testCCompiler.c.obj /out:cmTC_b399d.exe /implib:cmTC_b399d.lib /pdb:cmTC_b399d.pdb /version:0.0 /machine:x64 /nologo /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 ." The system cannot find the path specified. ninja: build stopped: subcommand failed. CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:5 (project) ```
C:\dev\learn-opengl\build\vcpkg_installed\vcpkg\blds\glew\config-x64-windows-dbg-CMakeConfigureLog.yaml.log ``` --- events: - kind: "message-v1" backtrace: - "C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.29/Modules/CMakeDetermineSystem.cmake:205 (message)" - "CMakeLists.txt:5 (project)" message: | The system is: Windows - 10.0.22631 - AMD64 - kind: "message-v1" backtrace: - "C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - "C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - "C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.29/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:5 (project)" message: | Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. Compiler: C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/cl.exe Build flags: /nologo;/DWIN32;/D_WINDOWS;/utf-8;/MP Id flags: The output was: 0 CMakeCCompilerId.c Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.exe" Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.obj" The C compiler identification is MSVC, found in: C:/dev/learn-opengl/build/vcpkg_installed/vcpkg/blds/glew/x64-windows-dbg/CMakeFiles/3.29.5-msvc4/CompilerIdC/CMakeCCompilerId.exe - kind: "message-v1" backtrace: - "C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:1216 (message)" - "C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:250 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)" - "C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.29/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:5 (project)" message: | Detecting C compiler /showIncludes prefix: main.c Note: including file: C:\\dev\\learn-opengl\\build\\vcpkg_installed\\vcpkg\\blds\\glew\\x64-windows-dbg\\CMakeFiles\\ShowIncludes\\foo.h Found prefix "Note: including file: " - kind: "try_compile-v1" backtrace: - "C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.29/Modules/CMakeDetermineCompilerABI.cmake:67 (try_compile)" - "C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.29/Modules/CMakeTestCCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)" - "CMakeLists.txt:5 (project)" checks: - "Detecting C compiler ABI info" directories: source: "C:/dev/learn-opengl/build/vcpkg_installed/vcpkg/blds/glew/x64-windows-dbg/CMakeFiles/CMakeScratch/TryCompile-arar28" binary: "C:/dev/learn-opengl/build/vcpkg_installed/vcpkg/blds/glew/x64-windows-dbg/CMakeFiles/CMakeScratch/TryCompile-arar28" cmakeVariables: CMAKE_C_FLAGS: " /nologo /DWIN32 /D_WINDOWS /utf-8 /MP " CMAKE_MSVC_DEBUG_INFORMATION_FORMAT: "" CMAKE_MSVC_RUNTIME_LIBRARY: "MultiThreaded$<$:Debug>$<$:DLL>" VCPKG_CHAINLOAD_TOOLCHAIN_FILE: "C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/vcpkg/scripts/toolchains/windows.cmake" VCPKG_CRT_LINKAGE: "dynamic" VCPKG_CXX_FLAGS: "" VCPKG_CXX_FLAGS_DEBUG: "" VCPKG_CXX_FLAGS_RELEASE: "" VCPKG_C_FLAGS: "" VCPKG_C_FLAGS_DEBUG: "" VCPKG_C_FLAGS_RELEASE: "" VCPKG_INSTALLED_DIR: "C:/dev/learn-opengl/build/vcpkg_installed" VCPKG_LINKER_FLAGS: "" VCPKG_LINKER_FLAGS_DEBUG: "" VCPKG_LINKER_FLAGS_RELEASE: "" VCPKG_PLATFORM_TOOLSET: "v143" VCPKG_PREFER_SYSTEM_LIBS: "OFF" VCPKG_SET_CHARSET_FLAG: "ON" VCPKG_TARGET_ARCHITECTURE: "x64" VCPKG_TARGET_TRIPLET: "x64-windows" Z_VCPKG_ROOT_DIR: "C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/vcpkg" buildResult: variable: "CMAKE_C_ABI_COMPILED" cached: true stdout: | Change Dir: 'C:/dev/learn-opengl/build/vcpkg_installed/vcpkg/blds/glew/x64-windows-dbg/CMakeFiles/CMakeScratch/TryCompile-arar28' Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v cmTC_abfb8 [1/2] C:\\PROGRA~1\\MIB055~1\\2022\\PROFES~1\\VC\\Tools\\MSVC\\1442~1.344\\bin\\Hostx64\\x64\\cl.exe /nologo /nologo /DWIN32 /D_WINDOWS /utf-8 /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\\cmTC_abfb8.dir\\CMakeCCompilerABI.c.obj /FdCMakeFiles\\cmTC_abfb8.dir\\ /FS -c "C:\\Program Files\\Microsoft Visual Studio\\2022\\Professional\\Common7\\IDE\\CommonExtensions\\Microsoft\\CMake\\CMake\\share\\cmake-3.29\\Modules\\CMakeCCompilerABI.c" [2/2] C:\\WINDOWS\\system32\\cmd.exe /C "cd . && "C:\\Program Files\\Microsoft Visual Studio\\2022\\Professional\\Common7\\IDE\\CommonExtensions\\Microsoft\\CMake\\CMake\\bin\\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\\cmTC_abfb8.dir --rc=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100226~1.0\\x64\\rc.exe --mt=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100226~1.0\\x64\\mt.exe --manifests -- C:\\PROGRA~1\\MIB055~1\\2022\\PROFES~1\\VC\\Tools\\MSVC\\1442~1.344\\bin\\Hostx64\\x64\\link.exe /nologo CMakeFiles\\cmTC_abfb8.dir\\CMakeCCompilerABI.c.obj /out:cmTC_abfb8.exe /implib:cmTC_abfb8.lib /pdb:cmTC_abfb8.pdb /version:0.0 /machine:x64 /nologo /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 ." FAILED: cmTC_abfb8.exe C:\\WINDOWS\\system32\\cmd.exe /C "cd . && "C:\\Program Files\\Microsoft Visual Studio\\2022\\Professional\\Common7\\IDE\\CommonExtensions\\Microsoft\\CMake\\CMake\\bin\\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\\cmTC_abfb8.dir --rc=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100226~1.0\\x64\\rc.exe --mt=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100226~1.0\\x64\\mt.exe --manifests -- C:\\PROGRA~1\\MIB055~1\\2022\\PROFES~1\\VC\\Tools\\MSVC\\1442~1.344\\bin\\Hostx64\\x64\\link.exe /nologo CMakeFiles\\cmTC_abfb8.dir\\CMakeCCompilerABI.c.obj /out:cmTC_abfb8.exe /implib:cmTC_abfb8.lib /pdb:cmTC_abfb8.pdb /version:0.0 /machine:x64 /nologo /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 ." The system cannot find the path specified.\x0d ninja: build stopped: subcommand failed. exitCode: 1 - kind: "try_compile-v1" backtrace: - "C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.29/Modules/CMakeTestCCompiler.cmake:56 (try_compile)" - "CMakeLists.txt:5 (project)" checks: - "Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/cl.exe" directories: source: "C:/dev/learn-opengl/build/vcpkg_installed/vcpkg/blds/glew/x64-windows-dbg/CMakeFiles/CMakeScratch/TryCompile-9fcmcb" binary: "C:/dev/learn-opengl/build/vcpkg_installed/vcpkg/blds/glew/x64-windows-dbg/CMakeFiles/CMakeScratch/TryCompile-9fcmcb" cmakeVariables: CMAKE_C_FLAGS: " /nologo /DWIN32 /D_WINDOWS /utf-8 /MP " CMAKE_MSVC_DEBUG_INFORMATION_FORMAT: "" CMAKE_MSVC_RUNTIME_LIBRARY: "MultiThreaded$<$:Debug>$<$:DLL>" VCPKG_CHAINLOAD_TOOLCHAIN_FILE: "C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/vcpkg/scripts/toolchains/windows.cmake" VCPKG_CRT_LINKAGE: "dynamic" VCPKG_CXX_FLAGS: "" VCPKG_CXX_FLAGS_DEBUG: "" VCPKG_CXX_FLAGS_RELEASE: "" VCPKG_C_FLAGS: "" VCPKG_C_FLAGS_DEBUG: "" VCPKG_C_FLAGS_RELEASE: "" VCPKG_INSTALLED_DIR: "C:/dev/learn-opengl/build/vcpkg_installed" VCPKG_LINKER_FLAGS: "" VCPKG_LINKER_FLAGS_DEBUG: "" VCPKG_LINKER_FLAGS_RELEASE: "" VCPKG_PLATFORM_TOOLSET: "v143" VCPKG_PREFER_SYSTEM_LIBS: "OFF" VCPKG_SET_CHARSET_FLAG: "ON" VCPKG_TARGET_ARCHITECTURE: "x64" VCPKG_TARGET_TRIPLET: "x64-windows" Z_VCPKG_ROOT_DIR: "C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/vcpkg" buildResult: variable: "CMAKE_C_COMPILER_WORKS" cached: true stdout: | Change Dir: 'C:/dev/learn-opengl/build/vcpkg_installed/vcpkg/blds/glew/x64-windows-dbg/CMakeFiles/CMakeScratch/TryCompile-9fcmcb' Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v cmTC_b399d [1/2] C:\\PROGRA~1\\MIB055~1\\2022\\PROFES~1\\VC\\Tools\\MSVC\\1442~1.344\\bin\\Hostx64\\x64\\cl.exe /nologo /nologo /DWIN32 /D_WINDOWS /utf-8 /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\\cmTC_b399d.dir\\testCCompiler.c.obj /FdCMakeFiles\\cmTC_b399d.dir\\ /FS -c C:\\dev\\learn-opengl\\build\\vcpkg_installed\\vcpkg\\blds\\glew\\x64-windows-dbg\\CMakeFiles\\CMakeScratch\\TryCompile-9fcmcb\\testCCompiler.c [2/2] C:\\WINDOWS\\system32\\cmd.exe /C "cd . && "C:\\Program Files\\Microsoft Visual Studio\\2022\\Professional\\Common7\\IDE\\CommonExtensions\\Microsoft\\CMake\\CMake\\bin\\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\\cmTC_b399d.dir --rc=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100226~1.0\\x64\\rc.exe --mt=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100226~1.0\\x64\\mt.exe --manifests -- C:\\PROGRA~1\\MIB055~1\\2022\\PROFES~1\\VC\\Tools\\MSVC\\1442~1.344\\bin\\Hostx64\\x64\\link.exe /nologo CMakeFiles\\cmTC_b399d.dir\\testCCompiler.c.obj /out:cmTC_b399d.exe /implib:cmTC_b399d.lib /pdb:cmTC_b399d.pdb /version:0.0 /machine:x64 /nologo /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 ." FAILED: cmTC_b399d.exe C:\\WINDOWS\\system32\\cmd.exe /C "cd . && "C:\\Program Files\\Microsoft Visual Studio\\2022\\Professional\\Common7\\IDE\\CommonExtensions\\Microsoft\\CMake\\CMake\\bin\\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\\cmTC_b399d.dir --rc=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100226~1.0\\x64\\rc.exe --mt=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100226~1.0\\x64\\mt.exe --manifests -- C:\\PROGRA~1\\MIB055~1\\2022\\PROFES~1\\VC\\Tools\\MSVC\\1442~1.344\\bin\\Hostx64\\x64\\link.exe /nologo CMakeFiles\\cmTC_b399d.dir\\testCCompiler.c.obj /out:cmTC_b399d.exe /implib:cmTC_b399d.lib /pdb:cmTC_b399d.pdb /version:0.0 /machine:x64 /nologo /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 ." The system cannot find the path specified.\x0d ninja: build stopped: subcommand failed. exitCode: 1 ... ```
C:\dev\learn-opengl\build\vcpkg_installed\vcpkg\blds\glew\config-x64-windows-dbg-CMakeCache.txt.log ``` # This is the CMakeCache file. # For build in directory: c:/dev/learn-opengl/build/vcpkg_installed/vcpkg/blds/glew/x64-windows-dbg # It was generated by CMake: C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe # You can edit this file to change values found and used by cmake. # If you do not want to change any of the values, simply exit the editor. # If you do want to change a value, simply edit, save, and exit the editor. # The syntax for the file is as follows: # KEY:TYPE=VALUE # KEY is the name of a variable in the cache. # TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!. # VALUE is the current value for the KEY. ######################## # EXTERNAL cache entries ######################## //No help, variable specified on the command line. BUILD_SHARED_LIBS:UNINITIALIZED=ON //No help, variable specified on the command line. BUILD_UTILS:UNINITIALIZED=OFF //Path to a program. CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/lib.exe //Choose the type of build, options are: None Debug Release RelWithDebInfo // MinSizeRel ... CMAKE_BUILD_TYPE:STRING=Debug CMAKE_CROSSCOMPILING:STRING=OFF CMAKE_CXX_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP ' CMAKE_CXX_FLAGS_DEBUG:STRING='/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 ' CMAKE_CXX_FLAGS_RELEASE:STRING='/MD /O2 /Oi /Gy /DNDEBUG /Z7 ' //C compiler CMAKE_C_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/cl.exe CMAKE_C_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /utf-8 /MP ' CMAKE_C_FLAGS_DEBUG:STRING='/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 ' //Flags used by the C compiler during MINSIZEREL builds. CMAKE_C_FLAGS_MINSIZEREL:STRING=/MD /O1 /Ob1 /DNDEBUG CMAKE_C_FLAGS_RELEASE:STRING='/MD /O2 /Oi /Gy /DNDEBUG /Z7 ' //Flags used by the C compiler during RELWITHDEBINFO builds. CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=/MD /Zi /O2 /Ob1 /DNDEBUG //Libraries linked by default with all C applications. CMAKE_C_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib //No help, variable specified on the command line. CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION:UNINITIALIZED=ON //Flags used by the linker during all build types. CMAKE_EXE_LINKER_FLAGS:STRING=/machine:x64 //Flags used by the linker during DEBUG builds. CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=/nologo /debug /INCREMENTAL //Flags used by the linker during MINSIZEREL builds. CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING='/nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF ' //Flags used by the linker during RELWITHDEBINFO builds. CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL //Enable/Disable output of compile commands during generation. CMAKE_EXPORT_COMPILE_COMMANDS:BOOL= //No help, variable specified on the command line. CMAKE_EXPORT_NO_PACKAGE_REGISTRY:UNINITIALIZED=ON //No help, variable specified on the command line. CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY:UNINITIALIZED=ON //No help, variable specified on the command line. CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY:UNINITIALIZED=ON //Value Computed by CMake. CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=C:/dev/learn-opengl/build/vcpkg_installed/vcpkg/blds/glew/x64-windows-dbg/CMakeFiles/pkgRedirects //No help, variable specified on the command line. CMAKE_INSTALL_BINDIR:STRING=bin //No help, variable specified on the command line. CMAKE_INSTALL_LIBDIR:STRING=lib //Install path prefix, prepended onto install directories. CMAKE_INSTALL_PREFIX:PATH=C:/dev/learn-opengl/build/vcpkg_installed/vcpkg/pkgs/glew_x64-windows/debug //No help, variable specified on the command line. CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP:UNINITIALIZED=TRUE //Path to a program. CMAKE_LINKER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/link.exe //make program CMAKE_MAKE_PROGRAM:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe //Flags used by the linker during the creation of modules during // all build types. CMAKE_MODULE_LINKER_FLAGS:STRING=/machine:x64 //Flags used by the linker during the creation of modules during // DEBUG builds. CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=/nologo /debug /INCREMENTAL //Flags used by the linker during the creation of modules during // MINSIZEREL builds. CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING='/nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF ' //Flags used by the linker during the creation of modules during // RELWITHDEBINFO builds. CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL CMAKE_MSVC_RUNTIME_LIBRARY:STRING=MultiThreaded$<$:Debug>$<$:DLL> //Path to a program. CMAKE_MT:FILEPATH=C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe //Value Computed by CMake CMAKE_PROJECT_DESCRIPTION:STATIC= //Value Computed by CMake CMAKE_PROJECT_HOMEPAGE_URL:STATIC= //Value Computed by CMake CMAKE_PROJECT_NAME:STATIC=glew //RC compiler CMAKE_RC_COMPILER:FILEPATH=C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/rc.exe CMAKE_RC_FLAGS:STRING=-c65001 /DWIN32 //Flags for Windows Resource Compiler during DEBUG builds. CMAKE_RC_FLAGS_DEBUG:STRING=-D_DEBUG //Flags for Windows Resource Compiler during MINSIZEREL builds. CMAKE_RC_FLAGS_MINSIZEREL:STRING= //Flags for Windows Resource Compiler during RELEASE builds. CMAKE_RC_FLAGS_RELEASE:STRING= //Flags for Windows Resource Compiler during RELWITHDEBINFO builds. CMAKE_RC_FLAGS_RELWITHDEBINFO:STRING= //Flags used by the linker during the creation of shared libraries // during all build types. CMAKE_SHARED_LINKER_FLAGS:STRING=/machine:x64 //Flags used by the linker during the creation of shared libraries // during DEBUG builds. CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=/nologo /debug /INCREMENTAL //Flags used by the linker during the creation of shared libraries // during MINSIZEREL builds. CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING='/nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF ' //Flags used by the linker during the creation of shared libraries // during RELWITHDEBINFO builds. CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL //If set, runtime paths are not added when installing shared libraries, // but are added when building. CMAKE_SKIP_INSTALL_RPATH:BOOL=NO //If set, runtime paths are not added when using shared libraries. CMAKE_SKIP_RPATH:BOOL=NO //Flags used by the linker during the creation of static libraries // during all build types. CMAKE_STATIC_LINKER_FLAGS:STRING=/machine:x64 //Flags used by the linker during the creation of static libraries // during DEBUG builds. CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=/nologo //Flags used by the linker during the creation of static libraries // during MINSIZEREL builds. CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING= //Flags used by the linker during the creation of static libraries // during RELEASE builds. CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=/nologo //Flags used by the linker during the creation of static libraries // during RELWITHDEBINFO builds. CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING= CMAKE_SYSTEM_NAME:STRING=Windows CMAKE_SYSTEM_PROCESSOR:STRING=AMD64 CMAKE_SYSTEM_VERSION:STRING=10.0.22631 //The CMake toolchain file CMAKE_TOOLCHAIN_FILE:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/vcpkg/scripts/buildsystems/vcpkg.cmake //If this value is on, makefiles will be generated without the // .SILENT directive, and all commands will be echoed to the console // during the make. This is useful for debugging only. With Visual // Studio IDE projects all commands are done without /nologo. CMAKE_VERBOSE_MAKEFILE:BOOL=ON //No help, variable specified on the command line. FETCHCONTENT_FULLY_DISCONNECTED:UNINITIALIZED=ON //Automatically copy dependencies into the output directory for // executables. VCPKG_APPLOCAL_DEPS:BOOL=OFF //No help, variable specified on the command line. VCPKG_CHAINLOAD_TOOLCHAIN_FILE:UNINITIALIZED=C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/vcpkg/scripts/toolchains/windows.cmake //No help, variable specified on the command line. VCPKG_CRT_LINKAGE:UNINITIALIZED=dynamic //No help, variable specified on the command line. VCPKG_CXX_FLAGS:UNINITIALIZED= //No help, variable specified on the command line. VCPKG_CXX_FLAGS_DEBUG:UNINITIALIZED= //No help, variable specified on the command line. VCPKG_CXX_FLAGS_RELEASE:UNINITIALIZED= //No help, variable specified on the command line. VCPKG_C_FLAGS:UNINITIALIZED= //No help, variable specified on the command line. VCPKG_C_FLAGS_DEBUG:UNINITIALIZED= //No help, variable specified on the command line. VCPKG_C_FLAGS_RELEASE:UNINITIALIZED= //The directory which contains the installed libraries for each // triplet VCPKG_INSTALLED_DIR:PATH=C:/dev/learn-opengl/build/vcpkg_installed //No help, variable specified on the command line. VCPKG_LINKER_FLAGS:UNINITIALIZED= //No help, variable specified on the command line. VCPKG_LINKER_FLAGS_DEBUG:UNINITIALIZED= //No help, variable specified on the command line. VCPKG_LINKER_FLAGS_RELEASE:UNINITIALIZED= //The path to the vcpkg manifest directory. VCPKG_MANIFEST_DIR:PATH= //Use manifest mode, as opposed to classic mode. VCPKG_MANIFEST_MODE:BOOL=OFF //No help, variable specified on the command line. VCPKG_PLATFORM_TOOLSET:UNINITIALIZED=v143 //Appends the vcpkg paths to CMAKE_PREFIX_PATH, CMAKE_LIBRARY_PATH // and CMAKE_FIND_ROOT_PATH so that vcpkg libraries/packages are // found after toolchain/system libraries/packages. VCPKG_PREFER_SYSTEM_LIBS:BOOL=OFF //Enable the setup of CMAKE_PROGRAM_PATH to vcpkg paths VCPKG_SETUP_CMAKE_PROGRAM_PATH:BOOL=ON //No help, variable specified on the command line. VCPKG_SET_CHARSET_FLAG:UNINITIALIZED=ON //No help, variable specified on the command line. VCPKG_TARGET_ARCHITECTURE:UNINITIALIZED=x64 //Vcpkg target triplet (ex. x86-windows) VCPKG_TARGET_TRIPLET:STRING=x64-windows //Trace calls to find_package() VCPKG_TRACE_FIND_PACKAGE:BOOL=OFF //Enables messages from the VCPKG toolchain for debugging purposes. VCPKG_VERBOSE:BOOL=OFF //(experimental) Automatically copy dependencies into the install // target directory for executables. Requires CMake 3.14. X_VCPKG_APPLOCAL_DEPS_INSTALL:BOOL=OFF //(experimental) Add USES_TERMINAL to VCPKG_APPLOCAL_DEPS to force // serialization. X_VCPKG_APPLOCAL_DEPS_SERIALIZED:BOOL=OFF //The directory which contains the installed libraries for each // triplet _VCPKG_INSTALLED_DIR:PATH=C:/dev/learn-opengl/build/vcpkg_installed //No help, variable specified on the command line. _VCPKG_ROOT_DIR:UNINITIALIZED=C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/vcpkg //Value Computed by CMake glew_BINARY_DIR:STATIC=C:/dev/learn-opengl/build/vcpkg_installed/vcpkg/blds/glew/x64-windows-dbg //Value Computed by CMake glew_IS_TOP_LEVEL:STATIC=ON //Value Computed by CMake glew_SOURCE_DIR:STATIC=C:/dev/learn-opengl/build/vcpkg_installed/vcpkg/blds/glew/src/glew-80f5997feb.clean/build/cmake ######################## # INTERNAL cache entries ######################## //ADVANCED property for variable: CMAKE_AR CMAKE_AR-ADVANCED:INTERNAL=1 //This is the directory where this CMakeCache.txt was created CMAKE_CACHEFILE_DIR:INTERNAL=c:/dev/learn-opengl/build/vcpkg_installed/vcpkg/blds/glew/x64-windows-dbg //Major version of cmake used to create the current loaded cache CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 //Minor version of cmake used to create the current loaded cache CMAKE_CACHE_MINOR_VERSION:INTERNAL=29 //Patch version of cmake used to create the current loaded cache CMAKE_CACHE_PATCH_VERSION:INTERNAL=5 //Path to CMake executable. CMAKE_COMMAND:INTERNAL=C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe //Path to cpack program executable. CMAKE_CPACK_COMMAND:INTERNAL=C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cpack.exe //Path to ctest program executable. CMAKE_CTEST_COMMAND:INTERNAL=C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/ctest.exe //ADVANCED property for variable: CMAKE_C_COMPILER CMAKE_C_COMPILER-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_FLAGS CMAKE_C_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1 //Executable file format CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1 //Name of external makefile project generator. CMAKE_EXTRA_GENERATOR:INTERNAL= //Name of generator. CMAKE_GENERATOR:INTERNAL=Ninja //Generator instance identifier. CMAKE_GENERATOR_INSTANCE:INTERNAL= //Name of generator platform. CMAKE_GENERATOR_PLATFORM:INTERNAL= //Name of generator toolset. CMAKE_GENERATOR_TOOLSET:INTERNAL= //Source directory with the top level CMakeLists.txt file for this // project CMAKE_HOME_DIRECTORY:INTERNAL=C:/dev/learn-opengl/build/vcpkg_installed/vcpkg/blds/glew/src/glew-80f5997feb.clean/build/cmake //ADVANCED property for variable: CMAKE_LINKER CMAKE_LINKER-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MT CMAKE_MT-ADVANCED:INTERNAL=1 //number of local generators CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1 //Platform information initialized CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1 //noop for ranlib CMAKE_RANLIB:INTERNAL=: //ADVANCED property for variable: CMAKE_RC_COMPILER CMAKE_RC_COMPILER-ADVANCED:INTERNAL=1 CMAKE_RC_COMPILER_WORKS:INTERNAL=1 //ADVANCED property for variable: CMAKE_RC_FLAGS CMAKE_RC_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_RC_FLAGS_DEBUG CMAKE_RC_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_RC_FLAGS_MINSIZEREL CMAKE_RC_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_RC_FLAGS_RELEASE CMAKE_RC_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_RC_FLAGS_RELWITHDEBINFO CMAKE_RC_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //Path to CMake installation. CMAKE_ROOT:INTERNAL=C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.29 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SKIP_RPATH CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_TOOLCHAIN_FILE CMAKE_TOOLCHAIN_FILE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1 //Install the dependencies listed in your manifest: //\n If this is off, you will have to manually install your dependencies. //\n See https://github.com/microsoft/vcpkg/tree/master/docs/specifications/manifests.md // for more info. //\n VCPKG_MANIFEST_INSTALL:INTERNAL=OFF //ADVANCED property for variable: VCPKG_VERBOSE VCPKG_VERBOSE-ADVANCED:INTERNAL=1 //Making sure VCPKG_MANIFEST_MODE doesn't change Z_VCPKG_CHECK_MANIFEST_MODE:INTERNAL=OFF //Vcpkg root directory Z_VCPKG_ROOT_DIR:INTERNAL=C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/vcpkg ```

Additional context

vcpkg.json ``` { "dependencies": [ "glfw3", "glew" ] } ```
LilyWangLL commented 1 day ago

Thanks for posting this issue. Please make sure you have the following installed.

kglundgren commented 1 day ago

Thanks for replying. Both of those requirements are installed. I'm thinking it might be an issue with permissions, because the project builds fine on my personal PC and a Debian Linux machine. Unfortunately, it's not clear from the vcpkg logs exactly what is wrong... Somewhere in there it says "cl compiler is unable to compile a simple test program", which is blatantly untrue; it does that just fine (at least when used directly from the command line).