Coder Social home page Coder Social logo

Compile Error about gvox_engine HOT 13 CLOSED

BenjaminGu avatar BenjaminGu commented on July 30, 2024
Compile Error

from gvox_engine.

Comments (13)

GabeRundlett avatar GabeRundlett commented on July 30, 2024

This is a real issue, that I need to fix with my vcpkg registry... I've been lazy about it, since what you can do to fix it is just run vcpkg x-update-baseline in the project root. This technically can break things though, since this updates the packages, and Daxa might have breaking changes

from gvox_engine.

GabeRundlett avatar GabeRundlett commented on July 30, 2024

Daxa shouldn't have any breaking changes, AFAIK, so this should be fine to run. If you don't want to add vcpkg to your path, you can manually update the hash inside the vcpkg-configuration.json to match that of the latest git hash on the registry, which is also linked in that file

from gvox_engine.

BenjaminGu avatar BenjaminGu commented on July 30, 2024

I executed the command "vcpkg x-update-baseline" and this time I encountered the following error message.

-- Running vcpkg install
Fetching registry information from https://github.com/GabeRundlett/vcpkg-registry (HEAD)...
Error: daxa:x64-windows@nightly#76 does not have required feature glslang

-- Running vcpkg install - failed
CMake Error at D:/dev/utils/vcpkg/scripts/buildsystems/vcpkg.cmake:883 (message):
vcpkg install failed. See logs for more information:
D:\VoxelProjects\Gabe\gvox_engine.out\cl-x86_64-windows-msvc\vcpkg-manifest-install.log
Call Stack (most recent call first):
D:/Program Files/CMake/share/cmake-3.25/Modules/CMakeDetermineSystem.cmake:124 (include)
CMakeLists.txt:5 (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!

from gvox_engine.

GabeRundlett avatar GabeRundlett commented on July 30, 2024

Ah. I guess I haven't pushed in a while. Let me push my local changes, give me a minute...

from gvox_engine.

GabeRundlett avatar GabeRundlett commented on July 30, 2024

I pushed. It should build now. That's my bad!!

from gvox_engine.

LinaJu avatar LinaJu commented on July 30, 2024

I am sorry but I failed again.

-- Running vcpkg install
Fetching registry information from https://github.com/GabeRundlett/vcpkg-registry (HEAD)...
Detecting compiler hash for triplet x64-windows...
A suitable version of powershell-core was not found (required v7.2.8) Downloading portable powershell-core 7.2.8...
Downloading powershell-core...
https://github.com/PowerShell/PowerShell/releases/download/v7.2.8/PowerShell-7.2.8-win-x86.zip->D:\dev\utils\vcpkg\downloads\PowerShell-7.2.8-win-x86.zip
Downloading https://github.com/PowerShell/PowerShell/releases/download/v7.2.8/PowerShell-7.2.8-win-x86.zip
Extracting powershell-core...
error: while detecting compiler information:
The log file content at "D:\dev\utils\vcpkg\buildtrees\detect_compiler\stdout-x64-windows.log" is:
-- Found external ninja('1.11.0').
-- Configuring x64-windows
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
    Command failed: "D:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v
    Working Directory: D:/dev/utils/vcpkg/buildtrees/detect_compiler/x64-windows-rel/vcpkg-parallel-configure
    Error code: 1
    See logs for more information:
      D:\dev\utils\vcpkg\buildtrees\detect_compiler\config-x64-windows-rel-CMakeCache.txt.log
      D:\dev\utils\vcpkg\buildtrees\detect_compiler\config-x64-windows-out.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_cmake.cmake:310 (vcpkg_execute_required_process)
  scripts/detect_compiler/portfile.cmake:18 (vcpkg_configure_cmake)
  scripts/ports.cmake:147 (include)



error: vcpkg was unable to detect the active compiler's information. See above for the CMake failure output.
-- Running vcpkg install - failed
CMake Error at D:/dev/utils/vcpkg/scripts/buildsystems/vcpkg.cmake:883 (message):
  vcpkg install failed.  See logs for more information:
  D:\bjProjects\gvox_engine\.out\cl-x86_64-windows-msvc\vcpkg-manifest-install.log
Call Stack (most recent call first):
  D:/Program Files/CMake/share/cmake-3.25/Modules/CMakeDetermineSystem.cmake:124 (include)
  CMakeLists.txt:5 (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!

from gvox_engine.

GabeRundlett avatar GabeRundlett commented on July 30, 2024

I have no clue. What's in those files?
D:\dev\utils\vcpkg\buildtrees\detect_compiler\config-x64-windows-rel-CMakeCache.txt.log
D:\dev\utils\vcpkg\buildtrees\detect_compiler\config-x64-windows-out.log

I would try deleting the .out folder and rebuilding from scratch.

from gvox_engine.

LinaJu avatar LinaJu commented on July 30, 2024

Thank you for your prompt response.
After deleting the .out folder, I built again and the build succeeded.
But this time I got the following runtime error:

The procedure entry point vkCmdEndRendering could not be located in the dynamic link library .out\cl-x86_64-windows-msvc\Debug\gabe_voxel_game.exe

I'm using version 1.3.236 of the Vulkan SDK and other projects are working fine.

from gvox_engine.

GabeRundlett avatar GabeRundlett commented on July 30, 2024

That is an insane error, I have never seen that before. What GPU do you have? Sorry for the late response, I'm just waking up now

from gvox_engine.

LinaJu avatar LinaJu commented on July 30, 2024

I tested on 1050 and 2060 super and the results were the same for both graphics cards.

from gvox_engine.

GabeRundlett avatar GabeRundlett commented on July 30, 2024

when is the last time you updated your drivers?

from gvox_engine.

LinaJu avatar LinaJu commented on July 30, 2024

I had tested with the latest version 528.34.
I only removed the display driver and reinstalled the same version.
Then gvox_engine just worked.
What a weird situation!

from gvox_engine.

GabeRundlett avatar GabeRundlett commented on July 30, 2024

Alright, I'm glad it worked.. I wonder what was wrong with your driver before... I'm going to close this now

from gvox_engine.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.