mesonbuild / mesonbuild/wrapdb

`SDL3_image` patching missing `IMG.c` file

Open
#2,246 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
Meson
Stars
118
Forks
298
Avg merge
2d 2h
Merged PRs (30d)
24

Description

I was using `sdl3_image` from wrapdb and I kept getting an error. It stated that I had an undefined reference to the function `IMG_LoadTexture`. After a few hours of investigation, I discovered that the issue was from the meson patch. The `sdl3_image` patch has a `meson.build` file in the `src` directory to list all of the source files, but it was missing `IMG.c`. I don't not know where to contribute to the patches for wrapdb, but I hope that this will get there. Thank you reading this. This took me too long to figure out.

Contributor guide

No contributing guide indexed for this repository

Research direction

Inspect the sdl3_image patch's src/meson.build file, where the source files are listed, and compare it with the missing IMG.c file mentioned in the issue. Verify that the patch includes IMG.c and that a build using the wrap provides IMG_LoadTexture without an undefined reference.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
build-system
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.