Skip to content
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

sdl2_image not linked on macos #155

Closed
jmmk opened this issue Jan 28, 2024 · 1 comment
Closed

sdl2_image not linked on macos #155

jmmk opened this issue Jan 28, 2024 · 1 comment
Labels
wontfix This will not be worked on

Comments

@jmmk
Copy link

jmmk commented Jan 28, 2024

When trying to run the example that includes the png image, I was getting several errors, e.g.

error: undefined reference to symbol _IMG_LoadBMP_RW

I was able to solve this by adding a line to my build.zig:

exe.linkSystemLibrary("sdl2_image");

If I am not mistaken, that line is missing here: https://github.com/MasterQ32/SDL.zig/blob/master/build.zig#L414

@ikskuh
Copy link
Owner

ikskuh commented Jan 31, 2024

Won't fix: See here (#47)

@ikskuh ikskuh closed this as completed Jan 31, 2024
@ikskuh ikskuh added the wontfix This will not be worked on label Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants