Hi everyone,
There haven't video encoder in my Android system with Beagleboard.
So I want to implement video encoder in Android. Android app call the video encoder
interface though jni. And when I compiled the codec with Android NDK there are something wrong as follow:
root@ubuntu:/home/ourselec/workdir/software/testEngine# $NDK_ROOT/ndk-build
Compile thumb : testEngine <= testEngine.c
arm-linux-androideabi-gcc: error: gnu/targets/arm/std.h: No such file or directory
And my Android.mk in jni folder is:
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_CFLAGS = -Dxdc_target_types__= gnu/targets/arm/std.h \
-Dxdc_target_name__=GCArmv5T \
-I/usr/local/dvsdk/xdctools_3_16_03_36/packages \
-I/usr/local/dvsdk/codec-engine_2_26_02_11/packages \
-I/usr/local/dvsdk/xdais_6_26_01_03/packages \
-I/usr/local/dvsdk/dmai_2_20_00_15/packages \
-I/usr/local/dvsdk/linuxutils_2_26_02_05/packages \
-I/usr/local/dvsdk/framework-components_2_26_00_01/packages \
-I/usr/local/dvsdk/biosutils_1_02_02/packages \
-I/usr/local/dvsdk/local-power-manager_1_24_03_10_eng/packages \
-I/usr/local/dvsdk/edma3lld_01_11_02_05/packages \
-I/usr/local/dvsdk/dspbios_5_41_03_17/packages \
-I/usr/local/dvsdk/dsplink_1_65_01_05_eng
LOCAL_MODULE := testEngine
LOCAL_SRC_FILES := testEngine.c
include $(BUILD_SHARED_LIBRARY)
I can't find gnu/targets/arm/std.h file in my dvsdk, can somebody help me, thanks.
Best Regards.
Chen