I'm in the very early stages of creating a Voxel Game, sharing some progress on my YouTube
gaberundlett / gvox_engine Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
I'm in the very early stages of creating a Voxel Game, sharing some progress on my YouTube
Hi, @GabeRundlett I found this project and it is awesome!
Can you support building this game on android?
Thank you so much!
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...)
When installing via the release asset, the license is shown as "all rights reserved" instead of MIT
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
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:
I had an error when building liblzma:
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 ^^'
This is literally just because I didn't write this code yet.
notes:
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
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".
This cause an compilation error.
I was able to side step the issue on my end by exchanging line 4 and 5 of math.hpp.
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>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.