GabeRundlett/gvox_engine

Daxa build error on Windows

Closed this issue · 8 comments

Did a fresh clone of gvox_engine, did the first build instruction in a VS 2019 Developer Whatever powershell, went and had a beer while it downloaded and compiled what seemed to be most of the internet, then failed on Daxa. This is the result of re-running the build command

PS C:\Users\jesse\work\gvox_engine> cmake --preset=cl-x86_64-windows-msvc
Preset CMake variables:

  CMAKE_EXPORT_COMPILE_COMMANDS:BOOL="TRUE"
  CMAKE_TOOLCHAIN_FILE:FILEPATH="C:/Users/jesse/work/gvox_engine/cmake/toolchains/cl-x86_64-windows-msvc.cmake"
  ENABLE_STATIC_ANALYSIS:BOOL="FALSE"
  GVOX_ENGINE_INSTALL:BOOL="FALSE"
  GVOX_ENGINE_USE_VCPKG:BOOL="TRUE"

-- Running vcpkg install
warning: Embedding `vcpkg-configuration` in a manifest file is an EXPERIMENTAL feature.
Detecting compiler hash for triplet x64-windows...
Compiler found: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x64/cl.exe
Detecting compiler hash for triplet x86-windows...
Compiler found: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x86/cl.exe
warning: The daxa contains 155 files. Hashing these contents may take a long time when determining the ABI hash for binary caching. Consider reducing the number of files. Common causes of this are accidentally checking out source or build files into a port's directory.
The following packages will be built and installed:
    daxa[core,utils-imgui,utils-mem,utils-pipeline-manager-glslang,utils-pipeline-manager-spirv-validation,utils-task-graph]:x86-windows@2.0.0 -- C:\Users\jesse\work\gvox_engine\./deps/Daxa
  * egl-registry:x86-windows@2022-09-20 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\egl-registry\e596b6c29ad16da764aab6f2fef830a3a884f14b
  * freeglut:x86-windows@3.4.0 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\freeglut\51a55df4538f3ecdeeb6d9846afd156ec3255630
    freeimage:x86-windows@3.18.0#25 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\freeimage\423daf86bc904882a1fa9c68d56d56d7c52ac35f
    fsr2[core,vulkan]:x86-windows@2.2.0 -- C:\Users\jesse\work\gvox_engine\./deps/Daxa/cmake/vcpkg-overlay-ports/fsr2
    glm:x86-windows@2023-06-08 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\glm\6687c48e237aab1c30cf4c589d08f698f73cf178
    gvox:x86-windows@1.3.0 -- C:\Users\jesse\work\gvox_engine\./deps/gvox
  * imath:x86-windows@3.1.9#1 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\imath\47c02f0c550c3639178d554a27475f376c2fdcbc
  * jasper[core,default-features,opengl]:x86-windows@4.2.1 -- C:\Users\jesse\work\gvox_engine\./cmake/vcpkg-overlay-ports/jasper
  * jxrlib:x86-windows@2019.10.9#6 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\jxrlib\3a114c06061c6e5a6e1dcc40eaadb21cecb7ac99
  * lcms:x86-windows@2.14 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\lcms\d5fb3c46f4b60d45e67444591a83d80c08100871
  * libjpeg-turbo:x86-windows@3.0.0#1 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\libjpeg-turbo\91d431c26902a8c0b21e7956caa136093b7d7d6b
  * liblzma:x86-windows@5.4.3#1 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\liblzma\3f97f6a0904a3add9c3273f8ab1993902d75d5ef
  * libpng:x86-windows@1.6.39#1 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\libpng\af144fe56e6e4c08cd8089d2e1dd46bae60a5062
  * libraw:x86-windows@0.21.1#2 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\libraw\ca8608b21d32cbd238b21eafc1ceb19ab91729b5
  * libwebp[core,libwebpmux,nearlossless,simd,unicode]:x86-windows@1.3.2 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\libwebp\0b981028589375097039d5e39e7d87659cdfa824
    nativefiledialog:x86-windows@2022-01-20 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\nativefiledialog\a74fcf99cb59fc1094b1b40622cead632c0df81a
    nlohmann-json:x86-windows@3.11.2 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\nlohmann-json\caa64b8c731ac2457575ea3c5f1827bc82ecac84
  * openexr:x86-windows@3.1.8 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\openexr\36064f5fe46f2399a9a532fdb6d7542dae7faede
  * opengl:x86-windows@2022-12-04#3 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\opengl\c3ae71738f88449ebcd781cef60d9a253fa091d4
  * opengl-registry:x86-windows@2022-09-29#1 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\opengl-registry\367e1502c966f1df0656bdea115989650d01a781
  * openjpeg:x86-windows@2.5.0#1 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\openjpeg\608f895171abcfb72dd690a0f7121d265d0904b5
    platform-folders:x86-windows@4.2.0#1 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\platform-folders\cf5e8d5b3192a857b2e85276a2ff8c6f76e28d82
  * tiff[core,jpeg,lzma,zip]:x86-windows@4.5.1#2 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\tiff\68f4ecc87b5ddce6c328c0f600a4c8b81d967d4c
Additional packages (*) will be modified to complete this operation.
Restored 0 package(s) from C:\Users\jesse\AppData\Local\vcpkg\archives in 528 us. Use --debug to see more details.
Installing 1/24 daxa[core,utils-imgui,utils-mem,utils-pipeline-manager-glslang,utils-pipeline-manager-spirv-validation,utils-task-graph]:x86-windows@2.0.0...
Building daxa[core,utils-imgui,utils-mem,utils-pipeline-manager-glslang,utils-pipeline-manager-spirv-validation,utils-task-graph]:x86-windows@2.0.0...
C:\Users\jesse\work\gvox_engine\./deps/Daxa: info: installing overlay port from here
-- Found external ninja('1.11.0').
-- Configuring x86-windows
-- Building x86-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
    Command failed: C:/Users/jesse/work/gvox_engine/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe --build . --config Debug --target install -- -v -j21
    Working Directory: C:/Users/jesse/work/gvox_engine/vcpkg/buildtrees/daxa/x86-windows-dbg
    See logs for more information:
      C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\daxa\install-x86-windows-dbg-out.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_build_cmake.cmake:78 (vcpkg_execute_build_process)
  scripts/cmake/vcpkg_install_cmake.cmake:18 (vcpkg_build_cmake)
  C:/Users/jesse/work/gvox_engine/deps/Daxa/portfile.cmake:43 (vcpkg_install_cmake)
  scripts/ports.cmake:175 (include)


error: building daxa:x86-windows failed with: BUILD_FAILED
Elapsed time to handle daxa:x86-windows: 5.9 s
Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
  https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+daxa
You can submit a new issue at:
  https://github.com/microsoft/vcpkg/issues/new?title=[daxa]+Build+error+on+x86-windows&body=Copy+issue+body+from+C%3A%2FUsers%2Fjesse%2Fwork%2Fgvox_engine%2F.out%2Fcl-x86_64-windows-msvc%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md

-- Running vcpkg install - failed
CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:899 (message):
  vcpkg install failed.  See logs for more information:
  C:\Users\jesse\work\gvox_engine\.out\cl-x86_64-windows-msvc\vcpkg-manifest-install.log
Call Stack (most recent call first):
  C:/Users/jesse/mambaforge/Lib/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineSystem.cmake:148 (include)
  CMakeLists.txt:7 (project)


CMake Error: CMake was unable to find a build program corresponding to "Ninja Multi-Config".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
-- Configuring incomplete, errors occurred!
PS C:\Users\jesse\work\gvox_engine>

Hey @scallyw4g , I'm not sure how this is happening, but somehow your vcpkg is attempting to build via x86 build tools. This won't work for Daxa. Delete the .out folder and try again in any terminal that isn't an x86 developer powershell.

Yeah I was trying from an x86 (AFAIK) shell. I didn't know there were two(?) flavors.

Tried forcing the x86 shell (both cmd and powershell) to build x64 targets with cmake -G "Visual Studio 17 2022" -A x86_64 --preset=cl-x86_64-windows-msvc and interestingly Daxa still fails. Not sure what's going on there. The logs indicate it tried to build x64 targets.

Trying again from an x64 shell now.

Log for posterity

C:\Users\jesse\work\gvox_engine> cmake -G "Visual Studio 17 2022" -A x86_64 --preset=cl-x86_64-windows-msvc
Preset CMake variables:

  CMAKE_EXPORT_COMPILE_COMMANDS:BOOL="TRUE"
  CMAKE_TOOLCHAIN_FILE:FILEPATH="C:/Users/jesse/work/gvox_engine/cmake/toolchains/cl-x86_64-windows-msvc.cmake"
  ENABLE_STATIC_ANALYSIS:BOOL="FALSE"
  GVOX_ENGINE_INSTALL:BOOL="FALSE"
  GVOX_ENGINE_USE_VCPKG:BOOL="TRUE"

-- Running vcpkg install
warning: Embedding `vcpkg-configuration` in a manifest file is an EXPERIMENTAL feature.
Detecting compiler hash for triplet x64-windows...
Compiler found: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x64/cl.exe
warning: The daxa contains 155 files. Hashing these contents may take a long time when determining the ABI hash for binary caching. Consider reducing the number of files. Common causes of this are accidentally checking out source or build files into a port's directory.
The following packages will be built and installed:
    daxa[core,utils-imgui,utils-mem,utils-pipeline-manager-glslang,utils-pipeline-manager-spirv-validation,utils-task-graph]:x64-windows@2.0.0 -- C:\Users\jesse\work\gvox_engine\./deps/Daxa
  * egl-registry:x64-windows@2022-09-20 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\egl-registry\e596b6c29ad16da764aab6f2fef830a3a884f14b
  * freeglut:x64-windows@3.4.0 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\freeglut\51a55df4538f3ecdeeb6d9846afd156ec3255630
    freeimage:x64-windows@3.18.0#25 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\freeimage\423daf86bc904882a1fa9c68d56d56d7c52ac35f
    fsr2[core,vulkan]:x64-windows@2.2.0 -- C:\Users\jesse\work\gvox_engine\./deps/Daxa/cmake/vcpkg-overlay-ports/fsr2
    glm:x64-windows@2023-06-08 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\glm\6687c48e237aab1c30cf4c589d08f698f73cf178
    gvox:x64-windows@1.3.0 -- C:\Users\jesse\work\gvox_engine\./deps/gvox
  * imath:x64-windows@3.1.9#1 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\imath\47c02f0c550c3639178d554a27475f376c2fdcbc
  * jasper[core,default-features,opengl]:x64-windows@4.2.1 -- C:\Users\jesse\work\gvox_engine\./cmake/vcpkg-overlay-ports/jasper
  * jxrlib:x64-windows@2019.10.9#6 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\jxrlib\3a114c06061c6e5a6e1dcc40eaadb21cecb7ac99
  * lcms:x64-windows@2.14 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\lcms\d5fb3c46f4b60d45e67444591a83d80c08100871
  * libjpeg-turbo:x64-windows@3.0.0#1 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\libjpeg-turbo\91d431c26902a8c0b21e7956caa136093b7d7d6b
  * liblzma:x64-windows@5.4.3#1 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\liblzma\3f97f6a0904a3add9c3273f8ab1993902d75d5ef
  * libpng:x64-windows@1.6.39#1 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\libpng\af144fe56e6e4c08cd8089d2e1dd46bae60a5062
  * libraw:x64-windows@0.21.1#2 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\libraw\ca8608b21d32cbd238b21eafc1ceb19ab91729b5
  * libwebp[core,libwebpmux,nearlossless,simd,unicode]:x64-windows@1.3.2 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\libwebp\0b981028589375097039d5e39e7d87659cdfa824
    nativefiledialog:x64-windows@2022-01-20 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\nativefiledialog\a74fcf99cb59fc1094b1b40622cead632c0df81a
    nlohmann-json:x64-windows@3.11.2 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\nlohmann-json\caa64b8c731ac2457575ea3c5f1827bc82ecac84
  * openexr:x64-windows@3.1.8 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\openexr\36064f5fe46f2399a9a532fdb6d7542dae7faede
  * opengl:x64-windows@2022-12-04#3 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\opengl\c3ae71738f88449ebcd781cef60d9a253fa091d4
  * opengl-registry:x64-windows@2022-09-29#1 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\opengl-registry\367e1502c966f1df0656bdea115989650d01a781
  * openjpeg:x64-windows@2.5.0#1 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\openjpeg\608f895171abcfb72dd690a0f7121d265d0904b5
    platform-folders:x64-windows@4.2.0#1 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\platform-folders\cf5e8d5b3192a857b2e85276a2ff8c6f76e28d82
  * tiff[core,jpeg,lzma,zip]:x64-windows@4.5.1#2 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\tiff\68f4ecc87b5ddce6c328c0f600a4c8b81d967d4c
Additional packages (*) will be modified to complete this operation.
Restored 0 package(s) from C:\Users\jesse\AppData\Local\vcpkg\archives in 699 us. Use --debug to see more details.
Installing 1/24 daxa[core,utils-imgui,utils-mem,utils-pipeline-manager-glslang,utils-pipeline-manager-spirv-validation,utils-task-graph]:x64-windows@2.0.0...
Building daxa[core,utils-imgui,utils-mem,utils-pipeline-manager-glslang,utils-pipeline-manager-spirv-validation,utils-task-graph]:x64-windows@2.0.0...
C:\Users\jesse\work\gvox_engine\./deps/Daxa: info: installing overlay port from here
-- Found external ninja('1.11.0').
-- Configuring x64-windows
-- Building x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
    Command failed: C:/Users/jesse/work/gvox_engine/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe --build . --config Debug --target install -- -v -j21
    Working Directory: C:/Users/jesse/work/gvox_engine/vcpkg/buildtrees/daxa/x64-windows-dbg
    See logs for more information:
      C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\daxa\install-x64-windows-dbg-out.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_build_cmake.cmake:78 (vcpkg_execute_build_process)
  scripts/cmake/vcpkg_install_cmake.cmake:18 (vcpkg_build_cmake)
  C:/Users/jesse/work/gvox_engine/deps/Daxa/portfile.cmake:43 (vcpkg_install_cmake)
  scripts/ports.cmake:175 (include)


error: building daxa:x64-windows failed with: BUILD_FAILED
Elapsed time to handle daxa:x64-windows: 8.2 s
Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
  https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+daxa
You can submit a new issue at:
  https://github.com/microsoft/vcpkg/issues/new?title=[daxa]+Build+error+on+x64-windows&body=Copy+issue+body+from+C%3A%2FUsers%2Fjesse%2Fwork%2Fgvox_engine%2F.out%2Fcl-x86_64-windows-msvc%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md

-- Running vcpkg install - failed
CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:899 (message):
  vcpkg install failed.  See logs for more information:
  C:\Users\jesse\work\gvox_engine\.out\cl-x86_64-windows-msvc\vcpkg-manifest-install.log
Call Stack (most recent call first):
  C:/Users/jesse/mambaforge/Lib/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineSystem.cmake:148 (include)
  CMakeLists.txt:7 (project)


CMake Error at CMakeLists.txt:7 (project):
  Failed to run MSBuild command:

    C:/Program Files/Microsoft Visual Studio/2022/Community/MSBuild/Current/Bin/amd64/MSBuild.exe

  to get the value of VCTargetsPath:

    MSBuild version 17.6.3+07e294721 for .NET Framework
    Build started 5/15/2024 6:22:10 PM.

    Project "C:\Users\jesse\work\gvox_engine\.out\cl-x86_64-windows-msvc\CMakeFiles\3.26.4\VCTargetsPath.vcxproj" on node 1 (default targets).
    C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(832,5): error : The BaseOutputPath/OutputPath property is not set for project 'VCTargetsPath.vcxproj'.  Please check to make sure that you have specified a valid combination of Configuration and Platform for this project.  Configuration='Debug'  Platform='x86_64'.  You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. [C:\Users\jesse\work\gvox_engine\.out\cl-x86_64-windows-msvc\CMakeFiles\3.26.4\VCTargetsPath.vcxproj]
    Done Building Project "C:\Users\jesse\work\gvox_engine\.out\cl-x86_64-windows-msvc\CMakeFiles\3.26.4\VCTargetsPath.vcxproj" (default targets) -- FAILED.

    Build FAILED.

    "C:\Users\jesse\work\gvox_engine\.out\cl-x86_64-windows-msvc\CMakeFiles\3.26.4\VCTargetsPath.vcxproj" (default target) (1) ->
    (_CheckForInvalidConfigurationAndPlatform target) ->
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(832,5): error : The BaseOutputPath/OutputPath property is not set for project 'VCTargetsPath.vcxproj'.  Please check to make sure that you have specified a valid combination of Configuration and Platform for this project.  Configuration='Debug'  Platform='x86_64'.  You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. [C:\Users\jesse\work\gvox_engine\.out\cl-x86_64-windows-msvc\CMakeFiles\3.26.4\VCTargetsPath.vcxproj]

        0 Warning(s)
        1 Error(s)

    Time Elapsed 00:00:00.09


  Exit code: 1

-- Configuring incomplete, errors occurred!

Alright, from the "x64 Native Tools Command Prompt" I get the same behavior.

Does a fresh clone work for you?


C:\Users\jesse\work\gvox_engine>cmake --preset=cl-x86_64-windows-msvc
Preset CMake variables:

  CMAKE_EXPORT_COMPILE_COMMANDS:BOOL="TRUE"
  CMAKE_TOOLCHAIN_FILE:FILEPATH="C:/Users/jesse/work/gvox_engine/cmake/toolchains/cl-x86_64-windows-msvc.cmake"
  ENABLE_STATIC_ANALYSIS:BOOL="FALSE"
  GVOX_ENGINE_INSTALL:BOOL="FALSE"
  GVOX_ENGINE_USE_VCPKG:BOOL="TRUE"

-- Running vcpkg install
warning: Embedding `vcpkg-configuration` in a manifest file is an EXPERIMENTAL feature.
Detecting compiler hash for triplet x64-windows...
Compiler found: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x64/cl.exe
warning: The daxa contains 155 files. Hashing these contents may take a long time when determining the ABI hash for binary caching. Consider reducing the number of files. Common causes of this are accidentally checking out source or build files into a port's directory.
The following packages will be built and installed:
    assimp:x64-windows@5.2.5 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\assimp\bdd963b2ef327bf5e8533689aff4707226e22851
    daxa[core,utils-imgui,utils-mem,utils-pipeline-manager-glslang,utils-pipeline-manager-spirv-validation,utils-task-graph]:x64-windows@2.0.0 -- C:\Users\jesse\work\gvox_engine\./deps/Daxa
  * draco:x64-windows@1.5.6 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\draco\bed378402e689e540a924f99869f7134d74bbdfb
  * egl-registry:x64-windows@2022-09-20 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\egl-registry\e596b6c29ad16da764aab6f2fef830a3a884f14b
    fmt:x64-windows@10.1.1 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\fmt\dfe9aa860f5a8317f341a21d317be1cf44e89f18
  * freeglut:x64-windows@3.4.0 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\freeglut\51a55df4538f3ecdeeb6d9846afd156ec3255630
    freeimage:x64-windows@3.18.0#25 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\freeimage\423daf86bc904882a1fa9c68d56d56d7c52ac35f
    fsr2[core,vulkan]:x64-windows@2.2.0 -- C:\Users\jesse\work\gvox_engine\./deps/Daxa/cmake/vcpkg-overlay-ports/fsr2
    glfw3[core,wayland,xlib]:x64-windows@custom -- C:\Users\jesse\work\gvox_engine\./deps/Daxa/cmake/vcpkg-overlay-ports/glfw3
    glm:x64-windows@2023-06-08 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\glm\6687c48e237aab1c30cf4c589d08f698f73cf178
  * glslang:x64-windows@12.2.0#1 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\glslang\796a20fde44858a311783328a0555813894631bb
    gvox:x64-windows@1.3.0 -- C:\Users\jesse\work\gvox_engine\./deps/gvox
  * imath:x64-windows@3.1.9#1 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\imath\47c02f0c550c3639178d554a27475f376c2fdcbc
    imgui[core,docking-experimental,glfw-binding]:x64-windows@1.89.9 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\imgui\37d78911bfdf98548568771acd72f7e6a88d1e58
  * jasper[core,default-features,opengl]:x64-windows@4.2.1 -- C:\Users\jesse\work\gvox_engine\./cmake/vcpkg-overlay-ports/jasper
  * jxrlib:x64-windows@2019.10.9#6 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\jxrlib\3a114c06061c6e5a6e1dcc40eaadb21cecb7ac99
  * kubazip:x64-windows@0.2.4 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\kubazip\14bf9d5b15ecf5769d10e5000e74167e97b0ade1
  * lcms:x64-windows@2.14 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\lcms\d5fb3c46f4b60d45e67444591a83d80c08100871
  * libjpeg-turbo:x64-windows@3.0.0#1 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\libjpeg-turbo\91d431c26902a8c0b21e7956caa136093b7d7d6b
  * liblzma:x64-windows@5.4.3#1 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\liblzma\3f97f6a0904a3add9c3273f8ab1993902d75d5ef
  * libpng:x64-windows@1.6.39#1 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\libpng\af144fe56e6e4c08cd8089d2e1dd46bae60a5062
  * libraw:x64-windows@0.21.1#2 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\libraw\ca8608b21d32cbd238b21eafc1ceb19ab91729b5
  * libwebp[core,libwebpmux,nearlossless,simd,unicode]:x64-windows@1.3.2 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\libwebp\0b981028589375097039d5e39e7d87659cdfa824
    minizip:x64-windows@1.3 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\minizip\2295a5b26e2cbbbf59706f08dc1c5717da951bd1
    nativefiledialog:x64-windows@2022-01-20 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\nativefiledialog\a74fcf99cb59fc1094b1b40622cead632c0df81a
    nlohmann-json:x64-windows@3.11.2 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\nlohmann-json\caa64b8c731ac2457575ea3c5f1827bc82ecac84
  * openexr:x64-windows@3.1.8 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\openexr\36064f5fe46f2399a9a532fdb6d7542dae7faede
  * opengl:x64-windows@2022-12-04#3 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\opengl\c3ae71738f88449ebcd781cef60d9a253fa091d4
  * opengl-registry:x64-windows@2022-09-29#1 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\opengl-registry\367e1502c966f1df0656bdea115989650d01a781
  * openjpeg:x64-windows@2.5.0#1 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\openjpeg\608f895171abcfb72dd690a0f7121d265d0904b5
    platform-folders:x64-windows@4.2.0#1 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\platform-folders\cf5e8d5b3192a857b2e85276a2ff8c6f76e28d82
  * poly2tri:x64-windows@2020-07-21#3 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\poly2tri\6f490bcfed9bb8b55036006a4389bfa7e94c73ff
  * pugixml:x64-windows@1.13.0 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\pugixml\4547c4ff9371f06f34f087f2989f884ab3ef7b71
  * rapidjson:x64-windows@2023-04-27 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\rapidjson\ea1032a866631acc7d63b4804be4ece09baeb47f
  * spirv-headers:x64-windows@1.3.231.1#1 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\spirv-headers\1975a40807faf80ae5a8513b15f707ec9d583763
  * spirv-tools:x64-windows@2022.4#1 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\spirv-tools\082a2b7ca21aeafe82dc89765facb7c34675b7b9
    stb:x64-windows@2023-04-11#1 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\stb\acd9c2bf96a3e32fbf629b1bfd6cba4827761069
  * tiff[core,jpeg,lzma,zip]:x64-windows@4.5.1#2 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\tiff\68f4ecc87b5ddce6c328c0f600a4c8b81d967d4c
  * utfcpp:x64-windows@3.2.4 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\utfcpp\6c3de7ba47b92f266d5cce0a4f69925af4abda8f
  * vcpkg-cmake:x64-windows@2023-05-04 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\vcpkg-cmake\88a7058fc7fa73a9c4c99cfcae9d79e2abf87a5a
  * vcpkg-cmake-config:x64-windows@2022-02-06#1 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\vcpkg-cmake-config\8d54cc4f487d51b655abec5f9c9c3f86ca83311f
  * vcpkg-cmake-get-vars:x64-windows@2023-03-02 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\vcpkg-cmake-get-vars\2e624c2cf12a97a7a802e31ff1d28b9fa6ba9bde
  * vulkan:x64-windows@1.1.82.1#6 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\vulkan\ea62236a3c91051f5ccb340442b60a026bf160c6
  * vulkan-headers:x64-windows@1.3.260 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\vulkan-headers\4a67e5648f3203af599c115390d12fceb828b8fa
  * vulkan-memory-allocator:x64-windows@3.0.1#3 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\vulkan-memory-allocator\d57ebd5ba820e5d8a5f55d797199abe4734d5af8
  * zlib:x64-windows@1.3 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\zlib\5ac18c6e6e3e2bf5a9e3d0bc8a845f198e4c4e05
Additional packages (*) will be modified to complete this operation.
Restored 22 package(s) from C:\Users\jesse\AppData\Local\vcpkg\archives in 7.8 s. Use --debug to see more details.
Installing 1/46 vcpkg-cmake:x64-windows@2023-05-04...
Elapsed time to handle vcpkg-cmake:x64-windows: 3.9 ms
vcpkg-cmake:x64-windows package ABI: 7c4ce28691222ce0bc4a47ceaf00b59efe3df9713b8fa9be9ce3bfe5c46491dc
Installing 2/46 zlib:x64-windows@1.3...
Elapsed time to handle zlib:x64-windows: 23.7 ms
zlib:x64-windows package ABI: 2c8c7f81a2850073d184310d34ee36253ba067105ca3400610cc911f9e8ca117
Installing 3/46 vcpkg-cmake-config:x64-windows@2022-02-06#1...
Elapsed time to handle vcpkg-cmake-config:x64-windows: 14.8 ms
vcpkg-cmake-config:x64-windows package ABI: c7c99570a90686a88483ffb107fffc976755183837118d677ea49a0dda00bcd9
Installing 4/46 utfcpp:x64-windows@3.2.4...
Elapsed time to handle utfcpp:x64-windows: 20.5 ms
utfcpp:x64-windows package ABI: f3e50d47c724bbfec30c3bc624ff6e3ba5e925e8f6650a6cdc49e4a9e5222305
Installing 5/46 stb:x64-windows@2023-04-11#1...
Elapsed time to handle stb:x64-windows: 23.4 ms
stb:x64-windows package ABI: 5841adee4b3429362b05c2f5474fa3c6dc1b1686c8e2c48e89afca49ce869360
Installing 6/46 rapidjson:x64-windows@2023-04-27...
Elapsed time to handle rapidjson:x64-windows: 25.2 ms
rapidjson:x64-windows package ABI: d57945e8e957015579c6349f56adfee1b18b55a9ca4298fc37490ea0c1844736
Installing 7/46 pugixml:x64-windows@1.13.0...
Elapsed time to handle pugixml:x64-windows: 17.6 ms
pugixml:x64-windows package ABI: 389c6af5393f9332d20637c09bdcded10393944007ee19e684b13bd5cf98faab
Installing 8/46 poly2tri:x64-windows@2020-07-21#3...
Elapsed time to handle poly2tri:x64-windows: 15.8 ms
poly2tri:x64-windows package ABI: 62c4b44e99bd672b517952a34653483a7f787eb5b2533aab3c4ebbea6268ec78
Installing 9/46 vcpkg-cmake-get-vars:x64-windows@2023-03-02...
Elapsed time to handle vcpkg-cmake-get-vars:x64-windows: 4.3 ms
vcpkg-cmake-get-vars:x64-windows package ABI: b39be23b75d65b3e3b99fd2c238f52c04cc164a61d073a3987d4a50bb254e113
Installing 10/46 minizip:x64-windows@1.3...
Elapsed time to handle minizip:x64-windows: 19.6 ms
minizip:x64-windows package ABI: 19bc5c79d9233273ba4c527dc24ca23e681e2e774e0cf02e04a012e99f823c08
Installing 11/46 kubazip:x64-windows@0.2.4...
Elapsed time to handle kubazip:x64-windows: 18.2 ms
kubazip:x64-windows package ABI: d4b88859fe66fd1e590949ee68079d7f4bba8ee21996d1c2239ecbae50a718a3
Installing 12/46 draco:x64-windows@1.5.6...
Elapsed time to handle draco:x64-windows: 54.2 ms
draco:x64-windows package ABI: 578d069e880ceb9c8f4668b91cc2a2a4a11d6edd3e0a3746cbfdb7d683b8c96d
Installing 13/46 assimp:x64-windows@5.2.5...
Elapsed time to handle assimp:x64-windows: 35.6 ms
assimp:x64-windows package ABI: f5894475fbb40791a6e891b91a62a7a8ca20456ec68a5fb7311e03c92bde66c0
Installing 14/46 spirv-headers:x64-windows@1.3.231.1#1...
Elapsed time to handle spirv-headers:x64-windows: 19.9 ms
spirv-headers:x64-windows package ABI: b0e2505782df31d38ce1178a65618c479ef75f176f7e4b3dec98caeee0560d6a
Installing 15/46 spirv-tools:x64-windows@2022.4#1...
Elapsed time to handle spirv-tools:x64-windows: 30 ms
spirv-tools:x64-windows package ABI: 1311caa048879cc5c5141fb61b40aaf9c35f50e270d9394c36d5d0336ef63fcd
Installing 16/46 glslang:x64-windows@12.2.0#1...
Elapsed time to handle glslang:x64-windows: 23.9 ms
glslang:x64-windows package ABI: 4857c858962867ed9a5cdff3b8e16629fc615e54787f4e10e2161ea0cef6047d
Installing 17/46 glfw3[core,wayland,xlib]:x64-windows@custom...
Elapsed time to handle glfw3:x64-windows: 23.4 ms
glfw3:x64-windows package ABI: 5f8323115f1b99de9f763f81b370edeb6c26bd6960d6cf7aed72b01fd24b6ed1
Installing 18/46 imgui[core,docking-experimental,glfw-binding]:x64-windows@1.89.9...
Elapsed time to handle imgui:x64-windows: 10.1 ms
imgui:x64-windows package ABI: 34373716c4e5fa04876f1ac703557ff3bbf97291b300576aa4d208ce52949c86
Installing 19/46 vulkan-memory-allocator:x64-windows@3.0.1#3...
Elapsed time to handle vulkan-memory-allocator:x64-windows: 17.7 ms
vulkan-memory-allocator:x64-windows package ABI: 35ab882e7b19f72867f658c2ec764e3348da1a9676b4d3a1898de78e32c7be68
Installing 20/46 vulkan-headers:x64-windows@1.3.260...
Elapsed time to handle vulkan-headers:x64-windows: 28.5 ms
vulkan-headers:x64-windows package ABI: f6888b38e0e1e7b658fa0bd59c7ab93a8bf8a0dedab3f95548d64b008d086a0e
Installing 21/46 vulkan:x64-windows@1.1.82.1#6...
Elapsed time to handle vulkan:x64-windows: 5.08 ms
vulkan:x64-windows package ABI: 7f7710d76f25e0e07e6cb87ea3f33e2211188ca4fd0e88f784eaa67a480f96c9
Installing 22/46 fmt:x64-windows@10.1.1...
Elapsed time to handle fmt:x64-windows: 13.5 ms
fmt:x64-windows package ABI: 616a1b3a816245fd66e4f17dcac83389b5f2f386529ec2c97227b0e30298908e
Installing 23/46 daxa[core,utils-imgui,utils-mem,utils-pipeline-manager-glslang,utils-pipeline-manager-spirv-validation,utils-task-graph]:x64-windows@2.0.0...
Building daxa[core,utils-imgui,utils-mem,utils-pipeline-manager-glslang,utils-pipeline-manager-spirv-validation,utils-task-graph]:x64-windows@2.0.0...
C:\Users\jesse\work\gvox_engine\./deps/Daxa: info: installing overlay port from here
-- Found external ninja('1.11.0').
-- Configuring x64-windows
-- Building x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
    Command failed: C:/Users/jesse/work/gvox_engine/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe --build . --config Debug --target install -- -v -j21
    Working Directory: C:/Users/jesse/work/gvox_engine/vcpkg/buildtrees/daxa/x64-windows-dbg
    See logs for more information:
      C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\daxa\install-x64-windows-dbg-out.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_build_cmake.cmake:78 (vcpkg_execute_build_process)
  scripts/cmake/vcpkg_install_cmake.cmake:18 (vcpkg_build_cmake)
  C:/Users/jesse/work/gvox_engine/deps/Daxa/portfile.cmake:43 (vcpkg_install_cmake)
  scripts/ports.cmake:175 (include)


error: building daxa:x64-windows failed with: BUILD_FAILED
Elapsed time to handle daxa:x64-windows: 8.2 s
Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
  https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+daxa
You can submit a new issue at:
  https://github.com/microsoft/vcpkg/issues/new?title=[daxa]+Build+error+on+x64-windows&body=Copy+issue+body+from+C%3A%2FUsers%2Fjesse%2Fwork%2Fgvox_engine%2F.out%2Fcl-x86_64-windows-msvc%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md

-- Running vcpkg install - failed
CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:899 (message):
  vcpkg install failed.  See logs for more information:
  C:\Users\jesse\work\gvox_engine\.out\cl-x86_64-windows-msvc\vcpkg-manifest-install.log
Call Stack (most recent call first):
  C:/Users/jesse/mambaforge/Lib/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineSystem.cmake:148 (include)
  CMakeLists.txt:7 (project)


CMake Error: CMake was unable to find a build program corresponding to "Ninja Multi-Config".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
-- Configuring incomplete, errors occurred!

it looks like its correctly determining x64 this time, could I please see the contents of this file? C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\daxa\install-x64-windows-dbg-out.log

Here she be. FWIW 'install-x64-windows-dbg-err.log` was empty.

install-x64-windows-dbg-out.log

Looks like linker errors in daxa

Thank you Scallywag. looking at it, I recognize this issue. It's a compiler bug. I'm sorry about the inconvenience, but the solution is to update your visual studio 🤡

Version update, I'm currently on cl.exe 19.36.32532

Microsoft Visual Studio Community 2022
Version 17.6.2
VisualStudio.17.Release/17.6.2+33723.286
Microsoft .NET Framework
Version 4.8.09032

Installed Version: Community

Visual C++ 2022   00482-90000-00000-AA955
Microsoft Visual C++ 2022

ASP.NET and Web Tools   17.6.326.62524
ASP.NET and Web Tools

Azure App Service Tools v3.0.0   17.6.326.62524
Azure App Service Tools v3.0.0

C# Tools   4.6.0-3.23259.8+c3cc1d0ceeab1a65da0217e403851a1e8a30086a
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Linux Core Dump Debugging   1.0.9.33712
Enables debugging of Linux core dumps.

Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

NuGet Package Manager   6.6.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/

Visual Basic Tools   4.6.0-3.23259.8+c3cc1d0ceeab1a65da0217e403851a1e8a30086a
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Visual C++ for Linux Development   1.0.9.33712
Visual C++ for Linux Development

Updating to 17.9.7 (latest) cl.exe version 19.39.33523 builds and links

FWIW, if anyone in the future ever tries to figure this out, applying the following patch coaxes Daxa to build on the broken version of CL.exe (19.36.32532). I'm quite sure it would not work correctly, but those seem to be the problem children.

jesse@warp-piggy MINGW64 ~/work/gvox_engine/deps/Daxa ((e7751ba3...))
$ git diff -w
diff --git a/include/daxa/utils/task_graph.hpp b/include/daxa/utils/task_graph.hpp
index fd99a57f..95841c8e 100644
--- a/include/daxa/utils/task_graph.hpp
+++ b/include/daxa/utils/task_graph.hpp
@@ -22,6 +22,9 @@ namespace daxa
     {
         u32 size = {};
         std::string name = {};
+
+        TaskTransientBufferInfo() { }
+        TaskTransientBufferInfo(struct daxa::TaskTransientBufferInfo const &) { }
     };

     struct TaskTransientImageInfo
@@ -172,6 +175,7 @@ namespace daxa

     struct ImplTaskGraph;

+
     struct TaskGraph : ManagedPtr<TaskGraph, ImplTaskGraph *>
     {
         TaskGraph() = default;
diff --git a/src/utils/impl_imgui.cpp b/src/utils/impl_imgui.cpp
index 8d178fa1..788121d2 100644
--- a/src/utils/impl_imgui.cpp
+++ b/src/utils/impl_imgui.cpp
@@ -407,9 +407,9 @@ namespace daxa
             .image_id = font_sheet,
         });
         auto executable_commands = recorder.complete_current_commands();
-        this->info.device.submit_commands({
-            .command_lists = std::array{executable_commands},
-        });
+        /* this->info.device.submit_commands({ */
+        /*     .command_lists = std::array{executable_commands}, */
+        /* }); */
         this->info.device.destroy_buffer(texture_staging_buffer);
         this->font_sampler = this->info.device.create_sampler({.name = "ImGui Font Sampler"});
         this->image_sampler_pairs.push_back(ImGuiImageContext{