I am trying to build OpenH264 on my Mac M1 (OS: Ventura 13.2.1 (22D68)). I am following instructions from https://github.com/cisco/openh264.
However, all I am getting is: "make: *** No targets specified and no makefile found. Stop.".
Can you guys help me out?
I downloaded the gitub source code and extracted the folder where my Android NDKs are.
I installed NASM using "brew install nasm". Could not install NASM below 2.11.08 as instructed in the github repo. Current NASM version: NASM version 2.16.01 compiled on Dec 23 2022
I added these lines to my ~/.zshrc file:
export ANDROID_SDK=/Users/anikmallik/Library/Android/sdk
export ANDROID_NDK=/Users/anikmallik/Library/Android/sdk/ndk
export PATH=$ANDROID_SDK/tools:$ANDROID_NDK:$PATH
I tried running this command in the terminal from the folder OpenH264/codec:
make OS=android NDKROOT=/Users/anikmallik/Library/Android/sdk/ndk ARCH=arm64-v8a TARGET=21
I expected this line will build OpenH264, but it didn't. Showing error: "make: *** No targets specified and no makefile found. Stop."