0

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?

  1. I downloaded the gitub source code and extracted the folder where my Android NDKs are.

  2. 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

  3. 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

  4. 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."

  • 1
    **(1)** It tells you that **it will not work** on higher than **2.11+** Be aware that your **2.16+** version is asking for problems, even if you solve the Make file issue. **(2)** What happens if you [research your problem](https://www.google.co.uk/search?q=openh264+%22no+makefile+found%22)? Anything useful from research? Also: see if this [other question](https://stackoverflow.com/questions/14412919/make-no-targets-specified-and-no-makefile-found-stop?answertab=trending#tab-top) has helpful tips? – VC.One Mar 15 '23 at 21:34

0 Answers0