Skip to content

SDL3_image functions are currently failing to link when building with meson due to IMG.c missing #2131

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

xoSauce
Copy link

@xoSauce xoSauce commented May 25, 2025

IMG_Load(...), IMG_LoadTexture(...) since they are defined in IMG.c

@xoSauce xoSauce changed the title Functions are currently failing to link when building with meson due to IMG.c missing SDL3_image functions are currently failing to link when building with meson due to IMG.c missing May 25, 2025
IMG_Load(...), IMG_LoadTexture(...) since they are defined in IMG.c
@bgilbert
Copy link
Collaborator

bgilbert commented Jul 8, 2025

macOS is failing to link:

Undefined symbols for architecture arm64:
  "_IMG_Load", referenced from:
      _IMG_LoadTexture in src_IMG.c.o
  "_IMG_LoadGIF_IO", referenced from:
      _supported in src_IMG.c.o
  "_IMG_LoadTGA_IO", referenced from:
      _supported in src_IMG.c.o
  "_IMG_LoadTIF_IO", referenced from:
      _supported in src_IMG.c.o
  "_IMG_isGIF", referenced from:
      _supported in src_IMG.c.o
      _supported_anims in src_IMG.c.o
  "_IMG_isTIF", referenced from:
      _supported in src_IMG.c.o

I have no idea why.

@neheb
Copy link
Collaborator

neheb commented Jul 9, 2025

Might be able to reproduce on Linux with lld instead of bfd.

Speaking of which, no such CI is present. I wonder if the alpine ones should be modified to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants