【发布时间】:2017-06-02 23:31:36
【问题描述】:
我目前在this link's 第二步:构建基础服务。
当我执行此行时:
xcodebuild -project alljoyn_services_cpp/alljoyn_services_common_cpp.xcodeproj -sdk {PLATFORM} -configuration {VARIANT} ALLJOYN_SDK_ROOT={PATH}
我替换为:
xcodebuild -project alljoyn_services_cpp/alljoyn_services_common_cpp.xcodeproj -sdk iphoneos -configuration Debug ALLJOYN_SDK_ROOT=/Users/Joe/alljoyn_src/alljoyn
我收到一条错误消息:
“The following build commands failed:
CompileC build/alljoyn_services_common_cpp.build/Debug-iphoneos/alljoyn_services_common_cpp.build/Objects-normal/armv7/AsyncTaskQueue.o /Users/Joe/services/base/services_common/cpp/src/AsyncTaskQueue.cc normal armv7 c++ com.apple.compilers.llvm.clang.1_0.compiler”
以及一个编译器错误,指出它找不到某些文件。我使用命令行尝试了building the core library 以及我能想到的一切,但没有任何效果。我认为这可能与我根目录中的文件夹树有关。我目前的设置如下:
ROOT/
alljoyn_src/
alljoyn/
openssl_src/
openssl-xcode/
services/
base/
core/
alljoyn/
我添加了 core 文件夹,因为在设置页面中,他们的示例树有一个名为 core 的文件夹,其中包含 alljoyn。
任何帮助表示赞赏
【问题讨论】:
标签: ios objective-c compiler-warnings alljoyn