Ticket created by ~adjivas on ~mil/mepo-tickets
Hello,
The Mepo project supports the Arch Linux AUR Distribution Packages : https://aur.archlinux.org/packages/mepo
When I compile it on an aarch64, I have this error:
/usr/bin/zig build-exe /home/alarm/build/mepo/src/main.zig -lc -lSDL2 -lSDL2_gfx -lSDL2_image -lSDL2_ttf -lcurl --cache-dir /home/alarm/build/mepo/zig-cache --global-cache-dir /home/alarm/.cache/zig --name mepo --enable-cache /home/alarm/build/mepo/src/sdlshim.zig:1:20: error: C import failed pub usingnamespace @cImport({I success to resolve it with this modification:
- @cInclude("SDL2_gfxPrimitives.h"); + @cInclude("SDL2/SDL2_gfxPrimitives.h");
So I report to you this issue and my self solution