Coder Social home page Coder Social logo

gvox_engine's Introduction

I'm in the very early stages of creating a Voxel Game, sharing some progress on my YouTube

gvox_engine's People

Contributors

gaberundlett avatar kishimisu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gvox_engine's Issues

programming language

Should the use a programming language that is faster, smaller, and consumes less resources?
?
It's 2024 and not many people are going to learn languages like C and java, which are not
easy to learn and consume more time to maintain.
Odin, Nelua ,Rust , Zig

Doesn't compile under w8

Doesn't compile under w8 (msvc2019, no clang).
The game from the release does not start (win8) vkGetDeviceBufferMemoryRequirements there is no such function in the dll. Why are you doing this?
It didn't compile via cmake (vcpkg version error, got dxc || daxa 1.2 and need 1.0). Why are you doing this?
Spent a whole day building daxa by hand (not built without editing the code, write issue...). Why...
Build, but still could not attach it to the game. daxa::initialize(); There is no such thing as where it comes from... deleted everything...)

"All Rights Reserved"

When installing via the release asset, the license is shown as "all rights reserved" instead of MIT

Compile Error

YouTube comments keep getting deleted, so I'm leaving it here as an issue.

I found the documentation on Daxa and was able to build it.
I tried to build gvox_engine in the same way, but the following error occurred.

================

-- Running vcpkg install
Fetching registry information from https://github.com/GabeRundlett/vcpkg-registry (HEAD)...
Error: No version entry for daxa at version nightly#50.
Available versions:
nightly#76
0.1.0
0.0.1

See vcpkg help versioning for more information.
Error: No version entry for gvox at version nightly#32.
Available versions:
nightly#64

Broken build

Hello,
I had an error when trying to build the engine.
From what I understand, the engine have a dependency called liblzma, as listed below:

image

I had an error when building liblzma:

image

So I dug a bit deeper, tried to download the file that vcpkg failed to download, and discovered that xy repo was disabled.

I used google, and found out that there was a backdoor in xy that was discovered yesterday. More details here: https://tukaani.org/xz-backdoor/

So for now, I guess the build is broken? And you might want to check if the version of liblzma you installed on your machine is affected ^^'

Most settings don't actually save or reset

This is literally just because I didn't write this code yet.
notes:

  • Only the key bindings (and not the mouse bindings) are modifiable in the settings menu. Mouse settings need to be written
  • Only key bindings and the GPU-input parameters are reset when resetting settings, we should also reset things such as
    • battery saving mode
    • resolution scale
    • custom resolution value and bool
      I just need to keep note of things that are issues, so I fix them. I will probably post a few more issues that need fixing.

error when attempting to build the engine

when trying to build the engine I continuously run into this error:

[17/17] Linking CXX executable Release\gvox_engine.exe
resolve: C:\Users\pokec\Onedrive\Documents\GitHub\gvox_engine\vcpkg\scripts\buildsystems\msbuild\applocal.ps1:162
Line |
162 | resolve($targetBinary)
| ~~~~~~~~~~~~~~~~~~~~~~
| Neither dumpbin, llvm-objdump nor objdump could be found. Can not take care of dll dependencies.

The error seems to be referring to this line in applocal.ps1:

resolve($targetBinary)
Write-Verbose $($g_searched | out-string)

This issue seems to prevent it from generating and .dll files, so starting the .exe just spits out errors about missing .dll files

Compilation error

Hello again,
I have an issue when building gvox engine on linux.

In math.hpp, you include a glsl file which define a select macro. The next line, you include glm.hpp, which somehow include a header with a function called "select".

image

This cause an compilation error.

image

I was able to side step the issue on my end by exchanging line 4 and 5 of math.hpp.

Daxa build error on Windows

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]:[email protected] -- 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:[email protected] -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\freeglut\51a55df4538f3ecdeeb6d9846afd156ec3255630
    freeimage:[email protected]#25 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\freeimage\423daf86bc904882a1fa9c68d56d56d7c52ac35f
    fsr2[core,vulkan]:[email protected] -- 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:[email protected] -- C:\Users\jesse\work\gvox_engine\./deps/gvox
  * imath:[email protected]#1 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\imath\47c02f0c550c3639178d554a27475f376c2fdcbc
  * jasper[core,default-features,opengl]:[email protected] -- C:\Users\jesse\work\gvox_engine\./cmake/vcpkg-overlay-ports/jasper
  * jxrlib:[email protected]#6 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\jxrlib\3a114c06061c6e5a6e1dcc40eaadb21cecb7ac99
  * lcms:[email protected] -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\lcms\d5fb3c46f4b60d45e67444591a83d80c08100871
  * libjpeg-turbo:[email protected]#1 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\libjpeg-turbo\91d431c26902a8c0b21e7956caa136093b7d7d6b
  * liblzma:[email protected]#1 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\liblzma\3f97f6a0904a3add9c3273f8ab1993902d75d5ef
  * libpng:[email protected]#1 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\libpng\af144fe56e6e4c08cd8089d2e1dd46bae60a5062
  * libraw:[email protected]#2 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\libraw\ca8608b21d32cbd238b21eafc1ceb19ab91729b5
  * libwebp[core,libwebpmux,nearlossless,simd,unicode]:[email protected] -- 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:[email protected] -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\nlohmann-json\caa64b8c731ac2457575ea3c5f1827bc82ecac84
  * openexr:[email protected] -- 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:[email protected]#1 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\openjpeg\608f895171abcfb72dd690a0f7121d265d0904b5
    platform-folders:[email protected]#1 -- C:\Users\jesse\work\gvox_engine\vcpkg\buildtrees\versioning_\versions\platform-folders\cf5e8d5b3192a857b2e85276a2ff8c6f76e28d82
  * tiff[core,jpeg,lzma,zip]:[email protected]#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]:[email protected]...
Building daxa[core,utils-imgui,utils-mem,utils-pipeline-manager-glslang,utils-pipeline-manager-spirv-validation,utils-task-graph]:[email protected]...
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>

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.