Closed mansiJspaceo closed 4 years ago
You need to check your configuration path of the ffmpeg-invoke.cpp
, it may be caused by it:
android.mk
file of the ffmpeg-invoke.cpp
LOCAL_MODULE := ffmpeg-invoke
LOCAL_SRC_FILES :=ffmpeg-invoke.cpp \ cmdutils.c \ ffmpeg_filter.c \ ffmpeg_opt.c \ ffmpeg_hw.c \ ffmpeg.c
2. Use other NDK version
3. Note the Table and Space keys of the configuration path
thank you... will Try to solve it
On Wed, Jan 22, 2020 at 7:05 AM AnJoiner Lo notifications@github.com wrote:
You need to check your configuration path of the ffmpeg-invoke.cpp, it may be caused by it:
- check your android.mk file of the ffmpeg-invoke.cpp
LOCAL_MODULE := ffmpeg-invoke
LOCAL_SRC_FILES :=ffmpeg-invoke.cpp \
cmdutils.c \ ffmpeg_filter.c \ ffmpeg_opt.c \ ffmpeg_hw.c \ ffmpeg.c
1.
Use other NDK version 2.
Note the Table and Space keys of the configuration path
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/AnJoiner/FFmpegCommand/issues/6?email_source=notifications&email_token=ANCAZ4M5EEWIF5RIQQ2A7ULQ66PHZA5CNFSM4KJNOBW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJR5IQY#issuecomment-576967747, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANCAZ4LV2LGNZZLPAB34YGLQ66PHZANCNFSM4KJNOBWQ .
can you please provide your android.mk file
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := libavdevice
LOCAL_SRC_FILES := prebuilt/libavdevice.so
include $(PREBUILT_SHARED_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE := libavutil
LOCAL_SRC_FILES := prebuilt/libavutil.so
include $(PREBUILT_SHARED_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE := libswresample
LOCAL_SRC_FILES := prebuilt/libswresample.so
include $(PREBUILT_SHARED_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE := libswscale
LOCAL_SRC_FILES := prebuilt/libswscale.so
include $(PREBUILT_SHARED_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE := libavcodec
LOCAL_SRC_FILES := prebuilt/libavcodec.so
include $(PREBUILT_SHARED_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE := libavformat
LOCAL_SRC_FILES := prebuilt/libavformat.so
include $(PREBUILT_SHARED_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE := libavfilter
LOCAL_SRC_FILES := prebuilt/libavfilter.so
include $(PREBUILT_SHARED_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE := libpostproc
LOCAL_SRC_FILES := prebuilt/libpostproc.so
include $(PREBUILT_SHARED_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE := ffmpeg-invoke
LOCAL_SRC_FILES :=ffmpeg-invoke.cpp \
cmdutils.c \
ffmpeg_filter.c \
ffmpeg_opt.c \
ffmpeg_hw.c \
ffmpeg.c
LOCAL_C_INCLUDES := /home/relo/Coder/FFmpegCommand/ffmpeg-4.2.1
LOCAL_LDLIBS := -llog -ljnigraphics -lz -landroid -lm -pthread -L$(SYSROOT)/usr/lib
LOCAL_SHARED_LIBRARIES := libavdevice libavcodec libavfilter libavformat libavutil libswresample libswscale libpostproc
include $(BUILD_SHARED_LIBRARY)
when i build run command ndk-build at that time only fetch one error if possbile then please help me.
**make: * No rule to make target
/home/sotsys-178/Pictures/jni/ffmpeg-invoke.cpp', needed by
/home/sotsys-178/Pictures/obj/local/armeabi-v7a/objs/ffmpeg-invoke/ffmpeg-invoke.o'. Stop.how can i solve this error. also add Screen Shot of error