the problem of bulit tutorial project under windows 7

Sebastian Dröge slomo at circular-chaos.org
Fri Oct 11 01:13:23 PDT 2013


On Fr, 2013-10-11 at 15:09 +0800, Wankey Cheng wrote:
> os version: windows 7
> android version :18
> ndk version:r9
> gstreamer for android version:1.2.0
> 
> 
> **** Build of configuration Default for project Tutorial1 ****
> 
> C:\AndroidNDK\ndk-build.cmd all
> Android NDK: WARNING: APP_PLATFORM android-18 is larger than
> android:minSdkVersion 9 in ./AndroidManifest.xml
> --define-variable argument does not have a value for the variable
> --define-variable argument does not have a value for the variable
> GstreamerAndroidSDK/share/gst-android/ndk-build/tools/windows/sed: can't
> read /lib/pkgconfig/gstreamer-1.0.pc: No such file or directory
> --define-variable argument does not have a value for the variable
> GStreamer      : [GEN] => gst-build/gstreamer_android.c
> GStreamer      : [COMPILE] => gst-build/gstreamer_android.c
> gst-build/gstreamer_android.c:2:21: fatal error: gst/gst.h: No such file or
> directory
> compilation terminated.
> make: *** [gst-build/gstreamer_android.o] Error 1
> 
> **** Build Finished ****
> 
> 
> when i bulit GStreamer SDK tutorials(under
> $GSTREAMER_SDK_ROOT_ANDROID\share\gst-sdk\tutorials folder),I got the above
> error.what's the problem?and, how to fix it?

It seems like you didn't set GSTREAMER_ROOT or GSTREAMER_ROOT_ANDROID to
the place where you have your installation.

Also the tutorials from gstreamer.com are not ported to 1.0 yet, the
attached patch is for example necessary to build the android-tutorial-5.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tut5.diff
Type: text/x-patch
Size: 6588 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20131011/0c0ca9d2/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20131011/0c0ca9d2/attachment.pgp>


More information about the gstreamer-android mailing list