why couldn't compile gstreamer tutorials for android in eclipse

Sandro Sacquegno sansac at gmail.com
Tue Jun 10 08:37:53 PDT 2014


Hi,

I met the same issue at the beginning and I solved in this way:

1) - In <project> -> Properties -> C/C++ Build, add BUILD_PROJECT=1 after
ndk-build, on the Build command field
2) - Enclose your Android.mk with

ifdef BUILD_PROJECT
<Android.mk default content>
endif

that is you gotta add the first and the last line.

I hope this will solve your issue too.

cheers
Sandro


2014-06-10 12:38 GMT+02:00 koler.andrew <happygst at yeah.net>:

> i post my troubles for compiling gstreamer for android,but no any light.
> i have to post more today.i could not compile the tutorials2 tutorials3
> tutorials4 tutorials5 in gstreamer for android package successfully.
> add some case today:
> i follow my step as
> http://docs.gstreamer.com/display/GstSDK/Installing+for+Android+development
> i could not compile tutorial2-5.but i could compile tutorial1 successfully.
> when i compile tutorial2,3,4,5, the eclipse is dead,no any reply.freezen
> all the time.no any errors reported.i see the .log,no errors appears.
> yestoday,i could build tutorial-2 successfully.but only once.today,i could
> not build tutorials-2.i don't know why it is.unstable gstreamer for android?
> then
> i change android-ndk-r9d to android-ndk-r8b-ma-windows.the problem is not
> solved.
> i change eclipse to lasted version.the problem is not solved.
> i change another pc running windows xp,the problem is not solved.
> my android SDK is 4.4.2 api level 19,is the newest version.
> i try every way,but i failed.
>
> is anyone could compile android gstreamer tutorials2-5 in windows?
>
> my previous post as below
> ------------------------------------------------------------------
> hi experts,
> i could compile \gst\share\gst-sdk\tutorials\android-tutorial-1 by
> gstreamer-sdk-android-arm-debug version.and eclipse is freezen when i compile
> \gst\share\gst-sdk\tutorials\android-tutorial-2 by
> gstreamer-sdk-android-arm-debug version.
> then i change  gstreamer-sdk-android-arm-debug version to gstreamer-sdk-android-arm-release
> version,i could compile android-tutorial-2 successfully.but when i
> compile android-tutorial-3 or later,eclipse is freezen again.why does gstreamer-sdk-android
> be freezen?i find the key is the parameter in android.mk
> GSTREAMER_PLUGINS         :=
> if there are many elements,it is be blocked.
> but my pc have 2.2G dual core,and 2G memory,i think its performance is
> enough for compiling.who could tell me how to change some parameters on
> eclipse to run the samples
> thanks
>
>
>
> <#146855be1c9a89fb_>
>
>
> <#146855be1c9a89fb_>
>
>
> <#146855be1c9a89fb_>
>
>
> <#146855be1c9a89fb_>
> _______________________________________________
> gstreamer-android mailing list
> gstreamer-android at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-android
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20140610/40bf0c91/attachment.html>


More information about the gstreamer-android mailing list