Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LOCAL_PATH := $(call my-dir)
- include $(CLEAR_VARS)
- LOCAL_MODULE := pre_libavcodec
- LOCAL_SRC_FILES := libavcodec.a
- include $(PREBUILT_STATIC_LIBRARY)
- include $(CLEAR_VARS)
- LOCAL_MODULE := ffmpeg
- LOCAL_ARM_MODE := arm
- LOCAL_SRC_FILES := FFMPlugin.cpp
- #LOCAL_LDFLAGS = -Wl,--fix-cortex-a8
- LOCAL_LDLIBS := -llog -lz
- LOCAL_CFLAGS = -O3 -D__STDC_CONSTANT_MACROS
- LOCAL_C_INCLUDES := $(LOCAL_PATH) \
- $(LOCAL_PATH)/ffmpeg \
- $(LOCAL_PATH)/ffmpeg/include
- LOCAL_STATIC_LIBRARIES := pre_libavcodec
- include $(BUILD_SHARED_LIBRARY)
- ERROR MSG:
- d:/androidndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeab
- i-v7a/objs/ffmpeg/FFMPlugin.o: in function Java_com_ssb_droidsound_plugins_FFMPlugin_N_1load:jni/FFMPlugin/FFMPlugin.cpp:15: error: undefined reference to 'av_register_all()'
- collect2: ld returned 1 exit status
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement