我正在试着建库。alljoyn音频接收器,但在构建此文件时有错误。
这个错误:
[armeabi] Compile++ arm : AllJoynSink <= AndroidJNIBridge.cc
jni/AndroidJNIBridge.cc:18:35: fatal error: alljoyn/BusAttachment.h: No such file or directory
make.exe: *** [obj/local/armeabi/objs/AllJoynAudioSink/AndroidJNIBridge.o] Error 1有解决办法吗?谢谢-约西-
发布于 2014-09-11 19:24:41
为了编译AllJoyn音频服务,您将根据wiki页面上的说明从核心/ AllJoyn文件夹中编译:source下一步将AllJoyn音频服务下拉到服务文件夹中:
export AJ_ROOT=`pwd`/alljoyn
git clone https://git.allseenalliance.org/gerrit/multimedia/audio.git $AJ_ROOT/services/现在,您可以编译AllJoyn和音频服务了。要做到这一点,请使用以下方法并使用意义可选参数为您的系统填写正确的值:
scons BINDINGS=core,cpp SERVICES=about,audio OS=android CPU=arm ANDROID_NDK=<root of the nkd location> ANDROID_SRC=<root folder of android src> ANDROID_SDK=<root of the android sdk> [ANDROID_TARGET=<name of target if different then generic>] BUILD_SERVICES_SAMPLES=off WS=off现在您可以将liballjoyn_audio.so放在armeabi文件夹中,并且可以编译Android应用程序。
https://stackoverflow.com/questions/24507292
复制相似问题