ios - 为 iPhoneOS 构建静态库 Graphviz。什么剧本?

标签 ios graphviz

我很绝望:(我已经尝试了各种脚本,但没有一个有效。 我的系统是带有 iOS-SDK v5.1 的 Lion (10.7.4) 上的 xCode4.3.2

使用脚本:

#!/bin/sh
# For iPhoneOS, see http://clang.llvm.org/ for options
export DEV_iOS=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer
# was /Developer/Platforms/iPhoneOS.platform/Developer
export SDK_iOS=${DEV_iOS}/SDKs/iPhoneOS5.1.sdk
export COMPILER_iOS=${DEV_iOS}/usr/bin
export CC=${COMPILER_iOS}/clang
export CXX=${COMPILER_iOS}/clang++
export LDFLAGS="-arch armv7 -pipe -Os -gdwarf-2 -mthumb -isysroot ${SDK_iOS}"
export CFLAGS="${LDFLAGS}"
export OBJCFLAGS="${LDFLAGS}"
export CXXFLAGS="${LDFLAGS} -fvisibility-inlines-hidden"
export LD=${COMPILER_iOS}/ld
export CPP=${COMPILER_iOS}/clang
export AR=${COMPILER_iOS}/ar
export AS=${COMPILER_iOS}/as
export NM=${COMPILER_iOS}/nm
export CXXCPP="${COMPILER_iOS}/clang++"
export OBJC=${COMPILER_iOS}/clang
export RANLIB=${COMPILER_iOS}/ranlib

./configure \
    --build=arm-apple-darwin11 \
    --host=arm-apple-darwin11 \
    --disable-dependency-tracking \
    --enable-shared=no \
    --enable-static=yes \
    --enable-ltdl=no \
    --enable-swig=no \
    --enable-tcl=no \
    --srcdir=${GVROOT} \
    --with-codegens=no \
    --with-cgraph=no \
    --with-graph=yes \
    --with-expat=no \
    --with-fontconfig=no \
    --with-freetype2=no \
    --with-ipsepcola=yes \
    --with-libgd=no \
    --with-quartz=yes \
    --with-visio=yes \
    --with-x=no

我得到错误:

checking build system type... arm-apple-darwin11
checking host system type... arm-apple-darwin11
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... config/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for arm-apple-darwin11-gcc... /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang
checking whether the C compiler works... no
configure: error: in `/Users/xaviersantamaribech/Developer/graphviz-2.28.0':
configure: error: C compiler cannot create executables
See `config.log' for more details.

谁能告诉我可以在我的系统(XCode4.3.2 - iPhoneSDK5.1 - Lion 10.7.4)中使用什么脚本来获取 IOS 的静态库 Graphviz。

非常感谢。

最佳答案

目前尚不支持在 iOS 中运行 Graphviz

关于ios - 为 iPhoneOS 构建静态库 Graphviz。什么剧本?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11000808/

相关文章:

iOS:如何知道邮件帐户是否存在

graphviz - 在Graphvi中如何改变自环边的长度?

c# - 在 C# 中从 .dot 文件创建图像

graph - 使用 graphviz twopi 控制布局

ios - 单元格不可在主视图中嵌入 UItableView?

ios - 使用 Alamofire 和 AlamofireObjectMapper 映射两种响应(iOS - swift)

ios - 在顶层 UITableViewController 上创建 UIButton,就像 AirBnB

ios - 在具有关系的实体中添加数据

python - 安装graphviz,没有名为graphviz的模块