-
Notifications
You must be signed in to change notification settings - Fork 261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't compile from master #964
Comments
Compile for me on Fedora 41 system info on master branch up to commit 67987ab |
From version of GCC you have? |
I tried again, and had the same error:
|
I can compile the code successfully on Fedora 41. Could you please provide the C++ compiler? I am not familiar with how arch configure the compilation flag so I guess you could try NOT to use system libs and try to use the bundled libraries to see if the game could be compiled successfully or not |
gcc -v
glibc 2.40+r16+gaa533d58ff-2
|
I got the same issue. I have even stripped out all C and CXX flags but the error is in the same place [100%] Building CXX object CMakeFiles/RBDoom3BFG.dir/renderer/NVRHI/RenderProgs_NVRHI.cpp.o |
The root cause of the issue for arch users seems to be incompatibility with compiling with vulkan-headers 1.4.303. I was able to compile and run rbdoom-3-bfg on arch after I downgraded vulkan-headers from 1.4.303 to 1.3.295. (After install, you can upgrade the headers again, it does not need them to run, just compile) |
Thank you, but I would call it a workaround. When can we expect RBDOOM would be compatible with vulkan-headers 1.4.x? |
Can you checkout the branch nvrhi-update-20250204 which should resolve the Vulkan 1.4 headers issue? See #976
and then just redo cmake and recompile. |
I cloned the repo to a fresh folder, built from this branch, but got the same error as before
|
Then it might be something different. NVRHI got an explicit Vulkan update.
|
based on this commit, RobertBeckebans/nvrhi@edfa604 I changed line 1274 from and it compiled and ran. EDIT: in fact, this change gets master branch to compile and run as well. |
I tried to compile from master from newest commit f9ca463 but I got error.
Arch Linux
From AUR https://aur.archlinux.org/packages/rbdoom3-bfg-git
Compile error:
https://gist.github.com/roland-5/b1976fef9ac6c8c6a1b860af96f8c320
The text was updated successfully, but these errors were encountered: