-
Notifications
You must be signed in to change notification settings - Fork 532
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
ERROR: aom >= 0.1.0 not found using pkg-config #1688
Comments
hard to tell with just one line, can you post the whole output of the command? aom is build by the script in libaom/build_libaom_android.sh you can try just this one to see if it works it's then used by build/android/build_ffmpeg4.sh which tells pkg-config where to find libaom using environment variables here: https://github.com/gpac/deps_android/blob/master/build/android/build_ffmpeg4.sh#L59 EDIT: sorry I thought you were using macos |
root@duna-VirtualBox:/home/duna# cd deps_android
If you think configure made a mistake, make sure you are using the latest Fill log is here |
ok this wasn't mentioned in the guide I admit, but without make and cmake this won't work try running
and re-run the script after that |
|
Another log:
|
do you have pkg-config installed? if not sudo apt install pkg-config you can also add a "set -x" at line 2 of build/android/build_ffmpeg4.sh to see exactly what it's doing |
[OK] success Building osmo4 apk Thank @aureliendavid for your help, you saved my android project! |
One more question: which is the mp4box .so file library? I am trying to run a command line in android like this: |
afaik MP4Box command line is currently not built on android, only the Osmo4/MP4Client player is built if you have the libgpac library you can use it in your own ndk project or you can try to build mp4box for android directly (you can look in https://github.com/gpac/gpac/tree/master/build/android to see how it's done for libgpac and MP4Client) |
drm.xml
|
I wrote this 10 years ago: I haven't followed on the gpac android support since then. There is zero reason why mp4box would not build right away (following @aureliendavid instructions). |
I understand, the main issue is here: gpac/applications/mp4box_android/jni/ - mp4box.so + other libs are missing + Android Studio does not recognise this type of project. As I said the prize stays for an updated project compatible with latest Android Studio: 4.1 I managed to compile this list of so files but it seems that is not the encoder libs only the player ones as @aureliendavid said @rbouqueau The output libs
do not match with Android ones:
|
ERROR: aom >= 0.1.0 not found using pkg-config
I am following this tutorial: https://github.com/gpac/gpac/wiki/GPAC-Build-Guide-for-Android
<GPAC_ROOT_DIR>/deps_android/build/android$ ./gpac_build_all_extra_libs /opt/android-ndk
Using Ubuntu 18 x64
The text was updated successfully, but these errors were encountered: