Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Cannot use system SDL3

Open
#191 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
52/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
zig
Domain
desktop

Research direction

Start by inspecting the build script’s SDL3 system-library setup and the dvui SDL3 backend header cited in the error, zig-pkg/dvui-0.5.0-dev-AQFJmWiB-gCtzdvo-D5qGOj-k7nNvIsFEq-nYctwzDvZ/src/backends/sdl3-c.h. Compare the include paths used by zig build -fsys=sdl3 with pkg-config --cflags sdl3; done when the system-SDL3 build succeeds.

Written by the indexing model from the issue text.

Description

It seems there's something wrong in build script with dvui setup? I cannot build with zig build -fsys=sdl3 which results in the following error.

$ zig build -fsys=sdl3
install
└─ install fizzy
   └─ compile exe fizzy Debug native
      └─ translate-c 2 errors
error: translation failure
/home/user/src/forks/fizzy/zig-pkg/dvui-0.5.0-dev-AQFJmWiB-gCtzdvo-D5qGOj-k7nNvIsFEq-nYctwzDvZ/src/backends/sdl3-c.h:29:10: error: 'SDL3/SDL.h' not found
#include "SDL3/SDL.h"
         ^
error: 2 compilation errors
failed command: /home/user/.cache/zig/p/N-V-__8AAFFSVRWqblwBIcA-Yqv-u7sbjsJoww8K0mWaHbmJ/zig translate-c -lc --cache-dir .zig-cache --global-cache-dir /home/user/.cache/zig /home/user/src/forks/fizzy/zig-pkg/dvui-0.5.0-dev-AQFJmWiB-gCtzdvo-D5qGOj-k7nNvIsFEq-nYctwzDvZ/src/backends/sdl3-c.h --listen=-

Build Summary: 40/44 steps succeeded (1 failed)
install transitive failure
└─ install fizzy transitive failure
   └─ compile exe fizzy Debug native transitive failure
      └─ translate-c 2 errors

error: the following build command failed with exit code 1:
.zig-cache/o/c999a1278854fd01c9f220be48da3318/build /home/user/.cache/zig/p/N-V-__8AAFFSVRWqblwBIcA-Yqv-u7sbjsJoww8K0mWaHbmJ/zig /home/user/.cache/zig/p/N-V-__8AAFFSVRWqblwBIcA-Yqv-u7sbjsJoww8K0mWaHbmJ/lib /home/user/src/forks/fizzy .zig-cache /home/user/.cache/zig --seed 0xa8690fa7 -Zc9264a5342a8ad69 -fsys=sdl3
fizzy

Pkg config shows sdl3 headers correctly.

$ pkg-config --cflags sdl3
-I/nix/store/snvmigqwhchfaj33vx7wq7qi9rvmvps4-sdl3-3.4.10-dev/include
Dominant language
Zig
Stars
1.5k
Forks
40
Avg merge
7h 10m
Merged PRs (30d)
98

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from fizzyedit/fizzy

All issues in fizzyedit/fizzy

Similar issues

More Desktop Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.