Building srt for android on Apple Silicon #2894
Labels
[build]
Area: Changes in build files
help wanted
Indicates that a maintainer wants help on an issue or pull request
Type: Question
Questions or things that require clarification
Hi all,
Trying to build SRT for Android using instructions here https://github.com/Haivision/srt/blob/master/docs/build/build-android.md. I am running on M1 Ventura. Command I am using is:
`./build-android -n /Users/user/Library/Android/sdk/ndk/26.2.1139434
Apparrently I am not able to do that. I get error message "linker command failed with exit code 1" on the "[ 93%] Linking CXX shared library libsrt.dylib" stage. I have tried to use different ndk version, namely 21.4.7075529, but it did not make any difference.
At the same time I am able to successfully build SRT for Mac using these instructions: https://github.com/Haivision/srt/blob/master/docs/build/build-macOS.md, which leads me to think that the proplem is not in my cmake setup. Would appreciate any assistance with this issue.
The whole command log is below.
The text was updated successfully, but these errors were encountered: