$ $ndk/ndk-build
Cygwin : Generating dependency file converter script
Compile thumb : swscale <= input.c
In file included from jni/ffmpeg/libswscale/../libavutil/common.h:78,
from jni/ffmpeg/libswscale/../libavutil/avutil.h:271,
from jni/ffmpeg/libswscale/input.c:26:
jni/ffmpeg/libswscale/../config.h:8:18: warning: missing terminating " character
jni/ffmpeg/libswscale/../config.h:9:7: warning: missing terminating " character
In file included from jni/ffmpeg/libswscale/../libavutil/common.h:78,
from jni/ffmpeg/libswscale/../libavutil/avutil.h:271,
from jni/ffmpeg/libswscale/input.c:26:
jni/ffmpeg/libswscale/../config.h:9: error: missing terminating " character
In file included from jni/ffmpeg/libswscale/../libavutil/intmath.h:30,
from jni/ffmpeg/libswscale/../libavutil/common.h:79,
from jni/ffmpeg/libswscale/../libavutil/avutil.h:271,
from jni/ffmpeg/libswscale/input.c:26:
jni/ffmpeg/libswscale/../libavutil/arm/intmath.h:94: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'static'
/cygdrive/e/Android_Home/Software/cygwin/home/js/android-ndk-r8/build/core/build-binary.mk:240: recipe for target 'obj/local/armeabi/objs/swscale/input.o' failed
make: *** [obj/local/armeabi/objs/swscale/input.o] Error 1
android ndk
cygwin
ffmpeg
--------------------编程问答--------------------
android.mk的内容如下:
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
include $(LOCAL_PATH)/../av.mk
LOCAL_SRC_FILES := $(FFFILES)
LOCAL_C_INCLUDES := \
$(LOCAL_PATH) \
$(LOCAL_PATH)/..
LOCAL_CFLAGS += $(FFCFLAGS)
LOCAL_STATIC_LIBRARIES := $(FFLIBS)
LOCAL_MODULE := $(FFNAME)
include $(BUILD_STATIC_LIBRARY)
--------------------编程问答--------------------
Android下编译ffmpeg请参考
用NDKr9编译最新ffmpeg2.0.1(ffmpeg2.0.2)到android平台
--------------------编程问答--------------------
额,这个不是我想要的啊,我环境已经配好了,只是在编译ffmpeg的过程中出了问题
--------------------编程问答--------------------
编译ffmpeg不需要写android.mk