How do I build the tutorial 2 In the 1.6.1 version?

Seung Hyun tmdgus9116 at naver.com
Tue Jan 19 12:54:37 PST 2016


Hi. again.

I'm sorry to repeat troublesome questions.

The problem arose when I build the tutorial 2 in Eclipse.

My development environment is

OS : Windows 7
IDE : Eclipse Mars
GStreamer version : 1.6.1

======================================
My Android.mk file is

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

GSTREAMER_SDK_ROOT_ANDROID	=:
C:\Users\SeungHyun\Desktop\gstreamer-1.0-android-arm-1.5.1
GSTREAMER_ROOT	:= C:\Users\SeungHyun\Desktop\gstreamer-1.0-android-arm-1.5.1

LOCAL_MODULE    := tutorial-3
LOCAL_SRC_FILES := tutorial-3.c
LOCAL_SHARED_LIBRARIES := gstreamer_android
LOCAL_LDLIBS := -llog -landroid
include $(BUILD_SHARED_LIBRARY)

ifndef GSTREAMER_SDK_ROOT
ifndef GSTREAMER_SDK_ROOT_ANDROID
$(error GSTREAMER_SDK_ROOT_ANDROID is not defined!)
endif
GSTREAMER_SDK_ROOT        := $(GSTREAMER_SDK_ROOT_ANDROID)
endif
GSTREAMER_NDK_BUILD_PATH  :=
C:\Users\SeungHyun\Desktop\gstreamer-1.0-android-arm-1.5.1\share\gst-android\ndk-build
include $(GSTREAMER_NDK_BUILD_PATH)\plugins.mk
GSTREAMER_PLUGINS         := $(GSTREAMER_PLUGINS_CORE)
$(GSTREAMER_PLUGINS_SYS) $(GSTREAMER_PLUGINS_EFFECTS)
GSTREAMER_EXTRA_DEPS      := gstreamer-interfaces-0.10 gstreamer-video-0.10
include $(GSTREAMER_NDK_BUILD_PATH)\gstreamer-1.0.mk

=============================================================

My error log is

Android NDK: WARNING: APP_PLATFORM android-21 is larger than
android:minSdkVersion 9 in ./AndroidManifest.xml    
Package gstreamer-interfaces-0.10 was not found in the pkg-config search
path.
Perhaps you should add the directory containing
`gstreamer-interfaces-0.10.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-interfaces-0.10' found
Package gstreamer-video-0.10 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-video-0.10.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-video-0.10' found
Package gstreamer-interfaces-0.10 was not found in the pkg-config search
path.
Perhaps you should add the directory containing
`gstreamer-interfaces-0.10.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-interfaces-0.10' found
Package gstreamer-video-0.10 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-video-0.10.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-video-0.10' found
ndk-build/tools/windows/sed: can't read
C:/Users/SeungHyun/Desktop/gstreamer-1.0-android-arm-1.5.1/lib/pkgconfig/gstreamer-interfaces-0.10.pc:
No such file or directory
ndk-build/tools/windows/sed: can't read
C:/Users/SeungHyun/Desktop/gstreamer-1.0-android-arm-1.5.1/lib/pkgconfig/gstreamer-video-0.10.pc:
No such file or directory
Package gstreamer-interfaces-0.10 was not found in the pkg-config search
path.
Perhaps you should add the directory containing
`gstreamer-interfaces-0.10.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-interfaces-0.10' found
Package gstreamer-video-0.10 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-video-0.10.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-video-0.10' found
GStreamer      : [GEN] => gst-build-armeabi/gstreamer_android.c
GStreamer      : [COMPILE] => gst-build-armeabi/gstreamer_android.c
gst-build-armeabi/gstreamer_android.c:2:21: fatal error: gst/gst.h: No such
file or directory
 #include <gst/gst.h>
                     ^
compilation terminated.
make.exe: *** [gst-build-armeabi/gstreamer_android.o] Error 1

==============================================================

GSã……reamer day one shares a lot harder to repeat and build in this tutorial .

How to fix it? 



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-do-I-build-the-tutorial-2-In-the-1-6-1-version-tp4675388.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list