Building Openh264 library with android NDK21 for pjsip android fails?

437 Views Asked by At

I am building Openh264 library as a video codec for pjsip.

    make OS=android NDKROOT=/home/Username/Downloads/android-ndk-r21d-linux-x86_64/android-ndk-r21d TARGET=android-28 
Error
> build/platform-android.mk:51: *** Compiler not found, bad NDKROOT or
> ARCH?.  Stop.

I have no success in building library for openh264 using android ndk 21,20 and 19 It doesn’t require entire environment for building this library .. just ndk and openh264 library .

below are the reference i have used for the compilation

1 Info on how to compile link

https://trac.pjsip.org/repos/ticket/1947

2 Android ndk link

https://developer.android.com/ndk/downloads

3 OpenH264 library link

https://github.com/cisco/openh264/archive/v1.6.0.zip

those are three details required to build a library .

Any help would be highly appreciated ...

0

There are 0 best solutions below