Steps to Reproduce and Observed Behavior
Commit e1b638c (#3510) added a line of code in vulkan.zig that MacOS will now crash on during compile. When compiling with the previous commit (6c75200), the compiling succeeds and the game crashes when the window would have opened, as expected.
Here is the terminal output:
Detecting Zig compiler...
Zig compiler is valid.
Building Zig Cubyz (-Doptimize=ReleaseSafe) from source. This may take a few minutes...
info: Downloading cubyz_deps libraries cubyz_deps_aarch64_macos.
info: Downloading cubyz_test_runner dependency.
compile exe Cubyz ReleaseSafe native 1 errors
src/graphics/vulkan.zig:853:5: error: no field named 'glad_vkGetInstanceProcAddr' in struct 'c.struct_VmaVulkanFunctions'
.glad_vkGetInstanceProcAddr = c.glad_vkGetInstanceProcAddr,
^~~~~~~~~~~~~~~~~~~~~~~~~~
.zig-cache/o/27a5fe1da28accd72370822dc9ed01c5/c.zig:25580:46: note: struct declared here
pub const struct_VmaVulkanFunctions = extern struct {
~~~~~~~^~~~~~
referenced by:
init: src/graphics/vulkan.zig:189:20
init: src/graphics/Window.zig:740:14
5 reference(s) hidden; use '-freference-trace=7' to see all references
error: 1 compilation errors
Build Summary: 12/15 steps succeeded (1 failed)
install transitive failure
└─ install Cubyz transitive failure
└─ compile exe Cubyz ReleaseSafe native 1 errors
Press enter key to continue. (Or export NO_PAUSE=1 to skip this prompt.)
This was the second attempt to build, after a download failed, and I simply ran ./run_linux.sh again.
Steps to Reproduce and Observed Behavior
Commit e1b638c (#3510) added a line of code in
vulkan.zigthat MacOS will now crash on during compile. When compiling with the previous commit (6c75200), the compiling succeeds and the game crashes when the window would have opened, as expected.Here is the terminal output:
This was the second attempt to build, after a download failed, and I simply ran
./run_linux.shagain.