Jump to content

Build instructions for A28


Recommended Posts

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. 

  • Thanks 1
Link to comment
Share on other sites

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 by Seleucids
Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...