libsdl-org / libsdl-org/setup-sdl
Fails to detect SDL2 library path when using CMake BundleUtilities in Mac builds
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 41
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
BundleUtilities is used to automatically bundle shared libraries when generating packages, however it fails when building SDL2 using this action with the error can't open file: @rpath/libSDL2-2.0.0.dylib (No such file or directory).
Example build failure: https://github.com/ccawley2011/MouseMaze/actions/runs/14865298345/job/41740485473
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the setup-sdl action's macOS build path and the linked failing GitHub Actions run, then inspect how CMake BundleUtilities resolves SDL2 libraries. Reproduce the @rpath/libSDL2-2.0.0.dylib failure and trace the missing path handling. Done means SDL2 is detected and bundled successfully in the reported Mac packaging scenario.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, javascript
- Domain
- build-system, ci-cd
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100