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

[docs] Fixing the android build script #1654

Merged
merged 4 commits into from
Nov 25, 2020

Conversation

techmaticsnz
Copy link
Contributor

Now builds .so files into jniLibs/[target-architecture] folders.

Updated instructions in case the issues that I faced are experienced. specifically using ndk-19 and latest cmake seemed to work for me.

I have had to add options to the configuration of srt so that it recognizes that it's building for Android.
I followed the following instructions:

https://cmake.org/cmake/help/v3.7/manual/cmake-toolchains.7.html#cross-compiling-for-android

mkssl has been completely redone from a script I found on stackoverflow for compiling latest openssl for Android
(all build targets)

I left most of the other files unchanged (i noticed that there was some erroneous lines in the packjni file so
that works now)
Had to add a case of *) to file
@techmaticsnz techmaticsnz changed the title Fixing the android build script [docs] Fixing the android build script Nov 10, 2020
@Haivision Haivision deleted a comment from codecov bot Nov 12, 2020
@maxsharabayko maxsharabayko added the [docs] Area: Improvements or additions to documentation label Nov 12, 2020
@maxsharabayko maxsharabayko added this to the v1.4.3 milestone Nov 12, 2020
@ghost
Copy link

ghost commented Nov 15, 2020

Centos8linux system how to compile for android SRT, I think this is a lot of people and concerns, and to promote the use of SRT community support

@maxsharabayko maxsharabayko linked an issue Nov 16, 2020 that may be closed by this pull request
@codecov

This comment has been minimized.

@maxsharabayko maxsharabayko merged commit 8254d43 into Haivision:master Nov 25, 2020
@maxsharabayko maxsharabayko added the Type: Maintenance Work required to maintain or clean up the code label Nov 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[docs] Area: Improvements or additions to documentation Type: Maintenance Work required to maintain or clean up the code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG]pthread_cancel error stops Android build.
2 participants