android 응용 프로그램 용 gstreamer 프로젝트를 가져 오려고합니다. (http://docs.gstreamer.com/display/GstSDK/Android+tutorials). 그러나 이러한 문제들에 집착하십시오.치명적인 오류 : gst/gst.h : 해당 파일 또는 디렉토리가 없습니다.
오류 메시지 :
fatal error: gst/gst.h: No such file or directory
GStreamer cannot be resolved Tutorial1.java
make.exe: *** [gst-build/gstreamer_android.o] Error 1
The import com.gstreamer cannot be resolved Tutorial1.java
콘솔 출력 : 내가 NDK-9D 사용하고 윈도우 8.1에 루나 일식하고
23:40:21 **** Incremental Build of configuration Default for project Tutorial1 ****
"C:\\android-ndk-r9d-windows-x86_64\\android-ndk-r9d\\ndk-build.cmd" NDK_DEBUG=1 all
Android NDK: WARNING: APP_PLATFORM android-19 is larger than android:minSdkVersion 9 in ./AndroidManifest.xml
Package gstreamer-0.10 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-0.10.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-0.10' found
Package gstreamer-0.10 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-0.10.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-0.10' found
Package gstreamer-0.10 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-0.10.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-0.10' found
[armeabi] Gdbserver : [arm-linux-androideabi-4.6] libs/armeabi/gdbserver
[armeabi] Gdbsetup : libs/armeabi/gdb.setup
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.exe: *** [gst-build/gstreamer_android.o] Error 1
.
나는 제안 (http://docs.gstreamer.com/display/GstSDK/Installing+for+Android+development)
내가 gstreamer를-0.10 라이브러리가있는 폴더로 pkg_config_path을 가리키는 시도에 필요한 소프트웨어를 설치. 그러나 해결하지 못합니다.
나는 android studio 1.0.2에서 같은 프로젝트를 가져 오려고했습니다. 나도 같은 오류가있어.
문제를 파악하는 방법을 알지 못합니다. 나는 ndk-10d (최신 버전)를 시도했지만 작동하지 않습니다.
이 내 Android.mk
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := tutorial-1
LOCAL_SRC_FILES := tutorial-1.c
LOCAL_SHARED_LIBRARIES := gstreamer_android
LOCAL_LDLIBS := -llog
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 := $(GSTREAMER_SDK_ROOT)/share/gst-android/ndk-build/
GSTREAMER_PLUGINS := coreelements
include $(GSTREAMER_NDK_BUILD_PATH)/gstreamer.mk
cygwin 또는 mingw를 설치하지 않았습니다. – dongseop
'Android.mk' 파일을 보여주세요. – jww
늦게 응답하여 죄송합니다. android.mk 코드를 입력했습니다. – dongseop