mesonbuild / mesonbuild/wrapdb
SDL2 2.32.8-1 fails to link with OpenSLES for Android
Nobody has claimed this yet.
- Dominant language
- Meson
- Stars
- 118
- Forks
- 298
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 24
Description
I'm getting `ld.lld: error: undefined symbol: SL_IID_VOLUME` when trying to compile my Project for Android. `SL_IID_VOLUME` belongs to `libOpenSLES.so` which is available in the host sysroot but the wrap doesn't even try to find OpenSLES.
In `meson.build:1301` it says (`sys_audio_driver = ['opensles', 'android']`) but `sys_audio_driver` isn't used anywhere. There are also various other `sys_*` variables that are assigned to but never used.
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 in meson.build around line 1301 and inspect how sys_audio_driver and the other sys_* variables are assigned and consumed. Reproduce the Android link failure, then verify that the OpenSLES dependency is discovered from the host sysroot and that the Android project links successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android
- Domain
- build-system, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100