-
Notifications
You must be signed in to change notification settings - Fork 42
Description
I am building this on an arm64 board, Radxa Rock 5B, and the configure step is failing because it cannot find abseil-cpp. I only found one reference to this in aurora's cmakelist.txt, which said it was inside extern/aurora/extern/dawn/thirdparty, but that directory doesn't exist.
I cloned this correctly, recursively, and updated submodules and all that. I even ran the normalize_submodules.sh script just in case but that didn't pull it in. I'm currently cloning dawn into that directory but I think the intention here is to not pull the whole dawn project and only use parts of it? If so, it's broken on arm64 gentoo linux because it's not pulling it in. I'm using clang20 or gcc 15 and cmake 4.1.2.
I'm pulling in dawn right now but it might take a while. But this isn't the first time I have come across this problem trying to build this.
Edit: So this isn't the issue. I cloned almost the entire dawn repo until it started asking for credentials and verified abseil-cpp was there and had a cmake file. I tried to rebuild and got the same error.
-- Dawn: using Abseil at /mnt/256GB/source/src/AxioDL.metaforce/build/_deps/dawn-src/third_party/abseil-cpp
CMake Error at build/_deps/dawn-src/CMakeLists.txt:461 (add_subdirectory):
The source directory/mnt/256GB/source/src/AxioDL.metaforce/build/_deps/dawn-src/third_party/abseil-cppdoes not contain a CMakeLists.txt file.
I'm building following the instructions, and have tried other ways as well. Always same problem.
I do have abseil-cpp libraries installed on the system, maybe an option for system libraries? I think system libraries should be preferred for everything unless otherwise stated with like env variables. I don't know, including all this google code is probably a nightmare.
Edit again:
Potential solution
Clone the project abseil-cpp at https://github.com/abseil/abseil-cpp in the /extern directory
edit /extern/CMakeLists.txt, add this line above add_subdirectory(aurora)
add_subdirectory(abseil-cpp)
now project is building.
Edit:
metaforce built but i get a No rule to make target 'hecl'.
I run metaforce and it loads, but after selecting an iso, it aborts. This could be the vulkan driver for this GPU, but there's some other problems listed that might be worth fixing.
[2025-11-06 16:48:09.039] [info] [aurora] Aurora initializing
xkbcommon: ERROR: couldn't find a Compose file for locale "C.UTF8" (mapped to "C.UTF8")
[2025-11-06 16:48:09.179] [warning] [aurora::window] Failed to set window icon: wayland: cannot set icon; required xdg_toplevel_icon_v1 protocol not supported
[2025-11-06 16:48:09.179] [info] [aurora::gpu] Initializing Dawn
[2025-11-06 16:48:09.179] [info] [aurora::gpu] Creating WGPU instance
[2025-11-06 16:48:09.179] [info] [aurora::gpu] Attempting to initialize Vulkan
Warning: Insufficient Vulkan limits for maxTextureDimension3D. VkPhysicalDeviceLimits::maxImageDimension3D must be at least 1024
- While gathering supported limits for "Mali-G610" - "panvk: Mesa 25.2.6" (vendorId=0x13b5 deviceId=0xa8670000 backend=BackendType::Vulkan type=AdapterType::IntegratedGPU)
at InitializeSupportedLimitsInternal (/mnt/256GB/source/src/AxioDL.metaforce/build/_deps/dawn-src/src/dawn/native/vulkan/PhysicalDeviceVk.cpp:610)[2025-11-06 16:48:09.188] [warning] [aurora::gpu] Adapter request failed: No supported adapters
[2025-11-06 16:48:09.188] [error] [aurora::gpu] Failed to create adapter
[2025-11-06 16:48:09.189] [warning] [aurora::window] Failed to set window icon: wayland: cannot set icon; required xdg_toplevel_icon_v1 protocol not supported
[2025-11-06 16:48:09.189] [info] [aurora::gpu] Attempting to initialize Vulkan
[2025-11-06 16:48:09.189] [warning] [aurora::gpu] Adapter request failed: No supported adapters
[2025-11-06 16:48:09.189] [error] [aurora::gpu] Failed to create adapter
[2025-11-06 16:48:09.189] [warning] [aurora::window] Failed to set window icon: wayland: cannot set icon; required xdg_toplevel_icon_v1 protocol not supported
[2025-11-06 16:48:09.189] [info] [aurora::gpu] Attempting to initialize Null
[2025-11-06 16:48:09.189] [info] [aurora::gpu] Graphics adapter information
API: Null
Device: Null backend (CPU)
Driver:
[2025-11-06 16:48:09.189] [info] [aurora::gpu] Using limits:
maxTextureDimension1D: 8192
maxTextureDimension2D: 8192
maxTextureDimension3D: 2048
maxTextureArrayLayers: 256
maxDynamicStorageBuffersPerPipelineLayout: 4
maxStorageBuffersPerShaderStage: 8
minUniformBufferOffsetAlignment: 256
minStorageBufferOffsetAlignment: 256
[2025-11-06 16:48:09.189] [info] [aurora::gpu] Using surface format BGRA8Unorm, present mode Fifo
[2025-11-06 16:48:09.341] [info] [aurora] Using framebuffer size 1920x953 scale 1.5
[2025-11-06 16:48:09.346] [info] CPU Name:
[2025-11-06 16:48:09.346] [info] CPU Vendor:
[2025-11-06 16:48:09.346] [info] CPU Features:
[2025-11-06 16:48:09.357] [warning] [aurora::gfx] Dropping command SetViewport
[2025-11-06 16:48:17.396] [info] Loading game from '/mnt/256GB/source/build/AxioDL.metaforce/mp.iso'
[2025-11-06 16:48:17.407] [info] Loading data from Metroid Prime USA (Build v1.111 3/10/2003 17:56:21)
...
[2025-11-06 16:48:18.034] [info] async-built PART 4F85E7E0
[2025-11-06 16:48:18.034] [info] async-built DPSC DCB86704
[2025-11-06 16:48:18.034] [info] async-built CRSC B6D2B6A0
[2025-11-06 16:48:18.034] [info] async-built WPSC 96324DE1
...
/usr/lib/gcc/aarch64-unknown-linux-gnu/14/include/g++-v14/array:208: constexpr std::array<_Tp, _Nm>::value_type& std::array<_Tp, _Nm>::operator [with _Tp = zeus::CVector3f; long unsigned int _Nm = 3; reference = zeus::CVector3f&; size_type = long unsigned int]: Assertion '__n < this->size()' failed.
Aborted ./metaforce