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

Need help with building #1

Open
VinayNooji opened this issue Sep 23, 2013 · 2 comments
Open

Need help with building #1

VinayNooji opened this issue Sep 23, 2013 · 2 comments

Comments

@VinayNooji
Copy link

Hi,

Thanks for the uploading the project as open source. I was trying to build ffmpeg using NDK version 9. I referred you blog, http://www.roman10.net/how-to-build-ffmpeg-with-ndk-r9/.

After following all the steps as mentioned in the blog I was able to build the ffmpeg with no issues. However, while building the jni it throws following error:
Android NDK: jni/Android.mk: Cannot find module with tag 'ffmpeg-2.0.1/android/arm' in import path
Android NDK: Are you sure your NDK_MODULE_PATH variable is properly defined ?
Android NDK: The following directories were searched:
Android NDK:
jni/Android.mk:11: *** Android NDK: Aborting. . Stop.

I have copied the ffmpeg-2.0.1 in $NDK/source folder and as well in the tutorial_project/jni. Even then the error pops up.

Need some help resolving this.

Thanks,
Vinay

@ademar111190
Copy link

Hi @VinayNooji I get the same error, so i solved copying the folder generated by the script to my ndk home, so now I have it:

$ pwd && ls
/home/ademar/android-ndk-r9/sources
android  cpufeatures  cxx-stl  ffmpeg  third_party

the folder ffmpeg I coped manually and her struct is:

$ ls ffmpeg/
android
$ ls ffmpeg/android/
arm
$ ls ffmpeg/android/arm/
Android.mk  include  lib

and naturally I needed change my makefile:

$(call import-module,ffmpeg/android/arm)

@VinayNooji
Copy link
Author

Thanks for the reply. It was my mistake I had copied the Android.mk file in lib folder. Hence it was not able to find it. The issue is solved. Thanks for the help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants