Seleucids Posted December 31, 2025 Report Share Posted December 31, 2025 In order to build A28 on a Linux system, after installing the dependencies, it's necessary to use cargo to install the cbindgen module. This wasn't specified on the build instructions page of gitea but you would encounter mach build errors if you don't install cbindgen. You must execute this command before building the libraries. cargo install cbindgen Please can someone update the build wiki on gitea thanks. 1 Quote Link to comment Share on other sites More sharing options...
Itms Posted Thursday at 08:11 Report Share Posted Thursday at 08:11 The update to the build instructions is planned, but it will only be done for the release, not before. Right now, users are still downloading 27.1 from the website. Thanks for the reminder anyway! 1 Quote Link to comment Share on other sites More sharing options...
hyperion Posted Thursday at 10:44 Report Share Posted Thursday at 10:44 Don't use cargo but install the distribution package instead. 2 Quote Link to comment Share on other sites More sharing options...
Seleucids Posted Thursday at 12:11 Author Report Share Posted Thursday at 12:11 Another question: how can we compile and use the Vulkan renderer on the main branch of gitea? Quote Link to comment Share on other sites More sharing options...
Stan` Posted Thursday at 13:53 Report Share Posted Thursday at 13:53 The Vulkan renderer is on by default, for the shaders, you can either compile them yourself (which is a bit annoying) or you can use the script to download the current built ones https://gitea.wildfiregames.com/0ad/0ad/src/branch/main/source/tools/spirv/get-nightly-shaders.sh (on Linux) 1 Quote Link to comment Share on other sites More sharing options...
Seleucids Posted 23 hours ago Author Report Share Posted 23 hours ago (edited) After downloading the currently built ones, I get this error on launch: Also I noticed that you changed the logging folder location Quote ERROR: Failed to create VkImage: -2 (VK_ERROR_OUT_OF_DEVICE_MEMORY) ERROR: Failed to create VkImage: -2 (VK_ERROR_OUT_OF_DEVICE_MEMORY) ERROR: Failed to create VkImage: -2 (VK_ERROR_OUT_OF_DEVICE_MEMORY) ERROR: Failed to create VkImage: -2 (VK_ERROR_OUT_OF_DEVICE_MEMORY) ERROR: Failed to create VkImage: -2 (VK_ERROR_OUT_OF_DEVICE_MEMORY) ERROR: Failed to create VkImage: -2 (VK_ERROR_OUT_OF_DEVICE_MEMORY) ERROR: Failed to create VkImage: -2 (VK_ERROR_OUT_OF_DEVICE_MEMORY) ERROR: Failed to create VkImage: -2 (VK_ERROR_OUT_OF_DEVICE_MEMORY) ERROR: Failed to create VkImage: -2 (VK_ERROR_OUT_OF_DEVICE_MEMORY) Assertion failed: "colorAttachment->texture" Location: Framebuffer.cpp:46 (Create) Call stack: (0x55e204bfb0fb) binaries/system/pyrogenesis(+0x8da0fb) [0x55e204bfb0fb] (0x55e204beb19f) binaries/system/pyrogenesis(+0x8ca19f) [0x55e204beb19f] (0x55e204beb381) binaries/system/pyrogenesis(+0x8ca381) [0x55e204beb381] (0x55e204bed490) binaries/system/pyrogenesis(+0x8cc490) [0x55e204bed490] (0x55e204888306) binaries/system/pyrogenesis(+0x567306) [0x55e204888306] (0x55e204853862) binaries/system/pyrogenesis(+0x532862) [0x55e204853862] (0x55e2049bfbb2) binaries/system/pyrogenesis(+0x69ebb2) [0x55e2049bfbb2] (0x55e2049c477f) binaries/system/pyrogenesis(+0x6a377f) [0x55e2049c477f] (0x55e204704fcd) binaries/system/pyrogenesis(+0x3e3fcd) [0x55e204704fcd] (0x55e204764418) binaries/system/pyrogenesis(+0x443418) [0x55e204764418] (0x55e20441a806) binaries/system/pyrogenesis(+0xf9806) [0x55e20441a806] (0x55e20441eb40) binaries/system/pyrogenesis(+0xfdb40) [0x55e20441eb40] (0x55e20440ea98) binaries/system/pyrogenesis(+0xeda98) [0x55e20440ea98] (0x7fc7b9027635) /usr/lib/libc.so.6(+0x27635) [0x7fc7b9027635] (0x7fc7b90276e9) /usr/lib/libc.so.6(__libc_start_main+0x89) [0x7fc7b90276e9] (0x55e204416f05) binaries/system/pyrogenesis(+0xf5f05) [0x55e204416f05] errno = 11 (Try again later) OS error = ? Redirecting call to abort() to mozalloc_abort Segmentation fault (core dumped) binaries/system/pyrogenesis crashlog.txt interestinglog.html mainlog.html Edited 23 hours ago by Seleucids Quote Link to comment Share on other sites More sharing options...
Stan` Posted 15 hours ago Report Share Posted 15 hours ago That's weird it says your GPU does not have enough memory. Cc @vladislavbelov Quote Link to comment Share on other sites More sharing options...
Deicide4u Posted 14 hours ago Report Share Posted 14 hours ago On 31/12/2025 at 8:57 PM, Seleucids said: cargo install cbindgen Ah, yes, Rust. Such a wonderful and safe language, I'm sure. Too bad it's just an unreadable mess to me. Why would the game need a Rust library for C bindings? Quote Link to comment Share on other sites More sharing options...
Stan` Posted 3 hours ago Report Share Posted 3 hours ago 10 hours ago, Deicide4u said: Ah, yes, Rust. Such a wonderful and safe language, I'm sure. Too bad it's just an unreadable mess to me. Why would the game need a Rust library for C bindings? Spidermonkey (the js engine) is written in rust. So it need something to generate cbindings so it can be linked Quote Link to comment Share on other sites More sharing options...
Itms Posted 1 hour ago Report Share Posted 1 hour ago 12 hours ago, Deicide4u said: Ah, yes, Rust. Such a wonderful and safe language, I'm sure. Too bad it's just an unreadable mess to me. Why would the game need a Rust library for C bindings? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.