[Libav-user] Error when creating .so file using .c program and ffmpeg using android NDK

prathap prathap.malempati at gmail.com
Sat Jun 1 04:47:32 CEST 2013


K, thank you

i am porting ffmpeg library to android using android-ndk

anyway Thank you for your replay , i fixed that above error also

Regards
Prathap.M


On Sat, Jun 1, 2013 at 2:26 AM, Alex Cohn [via libav-users] <
ml-node+s943685n4657777h33 at n4.nabble.com> wrote:

> On Fri, May 31, 2013 at 9:39 AM, prathap <[hidden email]<http://user/SendEmail.jtp?type=node&node=4657777&i=0>>
> wrote:
>
> > Thanks for your previous solution , and  now i  have two Android.mk
> files
> > in my project
> >
> > 1    .../(my_project_root)/jni/Android.mk
> >
> > 2    .../ (my_project_root)/jni/ffmpeg/android/arm/Android.mk
> >
> >
> > and my first android.mk code is:
> >
> >
> -----------------------------------------------------------------------------
>
> > LOCAL_PATH := $(call my-dir)
> > include $(CLEAR_VARS)
> > LOCAL_MODULE := framegrabber
> > LOCAL_SRC_FILES := framegrabber.c
> > LOCAL_LDLIBS := -llog -lz
> > LOCAL_STATIC_LIBRARIES := libavformat_static libavcodec_static
> > libavutil_static
> > include $(BUILD_SHARED_LIBRARY)
> > $(call import-module,ffmpeg/android/arm)
>
> ...
>
> > when i am trying to run ndk-build it shows Error like this:
> >
> >
> --------------------------------------------------------------------------------------------------
>
> > Android NDK: /home/ubuntu/workspace/MyFfmpegTest/jni/Android.mk: Cannot
> find module with tag 'ffmpeg/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: home/ubuntu/workspace/MyFfmpegTest/jni/Android.mk:8: ***
> Android NDK: Aborting.    .  Stop.
> >
> ------------------------------------------------------------------------------------------------------
>
> >
> > Could you please tell me where the mistake is?
> >
> > Thank you
> >
> > Regards
> > Prathap.M
>
> Try
>
> $(call import-module,$(LOCAL_PATH)/ffmpeg/android/arm)
>
> I am afraid we have stirred too far from the topic of the libav-user
> mail list. You would be better served if you ask the questions about
> Android NDK in relevant user groups, or at stack-overflow.
>
> Regards,
> Alex Cohn
> _______________________________________________
> Libav-user mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=4657777&i=1>
> http://ffmpeg.org/mailman/listinfo/libav-user
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://libav-users.943685.n4.nabble.com/Error-when-creating-so-file-using-c-program-and-ffmpeg-using-android-NDK-tp4657764p4657777.html
>  To unsubscribe from Error when creating .so file using .c program and
> ffmpeg using android NDK, click here<http://libav-users.943685.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4657764&code=cHJhdGhhcC5tYWxlbXBhdGlAZ21haWwuY29tfDQ2NTc3NjR8LTEyNDg5ODE1ODM=>
> .
> NAML<http://libav-users.943685.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://libav-users.943685.n4.nabble.com/Error-when-creating-so-file-using-c-program-and-ffmpeg-using-android-NDK-tp4657764p4657779.html
Sent from the libav-users mailing list archive at Nabble.com.


More information about the Libav-user mailing list