-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gstreamer-1.0.mk invalid argument #10
Comments
hi @ravikantojha
|
Thanks for replying sir
- GStreamer SDK version: 1.16.2
- NDK version: 21.2.6472646
- OS :windows
- Application that you want to build:gst-android- camera
…On Tue, 2 Jun, 2020, 5:30 PM Justin Kim, ***@***.***> wrote:
hi @ravikantojha <https://github.com/ravikantojha>
it's difficult to reproduce your error. Could you please give me more
detailed information listed below?
- GStreamer SDK version
- NDK version
- OS
- Application that you want to build
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#10 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD5WMV2GEVGMCDUOWGQS6YLRUTSVVANCNFSM4NQUCMTQ>
.
|
Your NDK version is too high to use the SDK.
And, I am not sure if the SDK for Android supports windows. I think they are tested only on Linux and Mac OSX. |
Hi sir
Error is solve but new error is show
gst.h file not found
GStreamer version is 1.16.and also try 1.12.1
…On Tue, 2 Jun, 2020, 8:22 PM Justin Kim, ***@***.***> wrote:
- NDK version: 21.2.6472646
Your NDK version is too high to use the SDK.
Note that GStreamer recommends NDK r1.18b if GStreamer version is 1.16.
- OS :windows
And, I am not sure if the SDK for Android supports windows. I think they
are tested only on Linux and Mac OSX.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#10 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD5WMV776UBIUKN5CVKBEFDRUUG4FANCNFSM4NQUCMTQ>
.
|
@ravikantojha sorry, but it's hard to solve because of a lack of information. |
Hi Sir.
Thanks for reply, I have attached a complete build log please find
attachment.
*Name Ravikant ojha*
*Mob. No. 9098538764*
…On Thu, Jun 4, 2020 at 3:34 PM Justin Kim ***@***.***> wrote:
@ravikantojha <https://github.com/ravikantojha> sorry, but it's hard to
solve because of a lack of information.
Can you attach the entire build log?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#10 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD5WMV4UC53OLKTLV4KALTDRU5WSTANCNFSM4NQUCMTQ>
.
|
Build command failed. C:/Users/ravik/gst-android-camera/app/src/main/jni/android_camera.c:29:10: fatal error: 'gst/gst.h' file not found |
1 similar comment
Build command failed. C:/Users/ravik/gst-android-camera/app/src/main/jni/android_camera.c:29:10: fatal error: 'gst/gst.h' file not found |
It seems that you set the wrong path for |
Hi sir,
Thanks for replying,
F is a drive location where gstream SDK path.
Please let me know how to set
GSTREAMER_ROOT_ANDROID path
…On Fri, 5 Jun, 2020, 6:58 PM Justin Kim, ***@***.***> wrote:
GSTREAMER_ROOT_ANDROID=/F/gstreamser/
It seems that you set the wrong path for GSTREAMER_ROOT_ANDROID.
Shouldn't it start with F: ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#10 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD5WMVZA3OBPHBQVKS2X4L3RVDXHFANCNFSM4NQUCMTQ>
.
|
Please read GStreamer document or instruction of application carefully. |
I have try all 4 floder to specify path for gstreamer-1.0.mk
gstreamser/(arm64,armv7,x86,x86_64,)/share/gst-android/ndk-build/gstreamer-1.0.mk: Invalid argument
make: *** No rule to make target ':/gstreamser/(same folder)/share/gst-android/ndk-build/gstreamer-1.0.mk'.
android,mk file
Copyright (C) 2012, Collabora Ltd.
Author: Youness Alaoui
Copyright (C) 2016-2017, Collabora Ltd.
Author: Justin Kim justin.kim@collabora.com
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation
version 2.1 of the License.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
#LOCAL_CFLAGS := -DGST_USE_UNSTABLE_API
#LOCAL_MODULE := android_camera
#LOCAL_SRC_FILES := android_camera.c
#LOCAL_STATIC_LIBRARIES := gstreamer_android
#LOCAL_LDLIBS := -landroid -llog -lcamera2ndk -lmediandk
LOCAL_MODULE := android_camera
LOCAL_SRC_FILES := android_camera.c
include $(BUILD_SHARED_LIBRARY)
ifeq ($(TARGET_ARCH_ABI),armeabi)
$(error Target arch ABI not supported: $ (TARGET_ARCH_ABI))
GSTREAMER_ROOT := $F:/gstreamser/arm
else ifeq ($(TARGET_ARCH_ABI),armeabi-v7a)
GSTREAMER_ROOT := $F:/gstreamser/armv7
else ifeq ($(TARGET_ARCH_ABI),arm64-v8a)
GSTREAMER_ROOT := $F:/gstreamser/arm64
else ifeq ($(TARGET_ARCH_ABI),x86)
GSTREAMER_ROOT := $F:/gstreamser/x86
else ifeq ($(TARGET_ARCH_ABI),x86_64)
GSTREAMER_ROOT := $F:/gstreamser/x86_64
else
endif
GSTREAMER_NDK_BUILD_PATH := $F:/gstreamser/x86_64/share/gst-android/ndk-build
include $(GSTREAMER_NDK_BUILD_PATH)/plugins.mk
GSTREAMER_PLUGINS := $(GSTREAMER_PLUGINS_CORE)
$(GSTREAMER_PLUGINS_PLAYBACK)
$(GSTREAMER_PLUGINS_CODECS)
opengl
include $(GSTREAMER_NDK_BUILD_PATH)/gstreamer-1.0.mk
Please help thanks in adavance
The text was updated successfully, but these errors were encountered: