Tag: graphviz

在xcode中configuration脚本失败,退出代码1

我正在运行这个脚本作为Xcode运行脚本来build立graphviz: if [ ! "${BUILT_PRODUCTS_DIR}/graphviz/Makefile" -nt "${SRCROOT}/graphviz/configure" ] then GVROOT="${SRCROOT}/graphviz" # figure out optimization OPT="${GCC_OPTIMIZATION_LEVEL}" if [ -z "${OPT}" ] then OPT="s" fi FLAGS="-fexceptions -gdwarf-2 -isysroot ${SDKROOT} -miphoneos-version-min=${IPHONEOS_DEPLOYMENT_TARGET} -mthumb -O${OPT}" # figure out architecture for ARCH in ${ARCHS} do FLAGS="${FLAGS} -arch ${ARCH}" done # figure out preprocessor defines for DEFINITION in ${GCC_PREPROCESSOR_DEFINITIONS} do FLAGS="${FLAGS} -D${DEFINITION}" […]

为iOS构build静态Graphviz库

我正在尝试为Graphviz构build静态库,以将它们包含在iOS应用程序中,但是我无法使其运行。 这是我迄今为止所做的,使用graphviz 2.28.0],Xcode 4.1,OSX 10.7,我的目标是iOS模拟器。 我find了Glen Low的configuration说明 ,并通过一些明智的猜测将这些更新为: ./configure –build=i486-apple-darwin –host=arm-apple-darwin9 –disable-dependency-tracking –enable-shared=no –enable-static=yes –enable-ltdl-install=no –enable-ltdl=no –enable-swig=no –enable-tcl=no –with-codegens=no –with-fontconfig=no –with-freetype2=no –with-ipsepcola=yes –with-libgd=no –with-quartz=yes –with-visio=yes –with-x=no –with-cgraph=no CC="/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2" CPP="/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -E" CXX="/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++-4.2" CXXCPP="/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++-4.2 -E" OBJC="/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2" LD="/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/ld" CPPFLAGS="-arch armv6 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk -miphoneos-version-min=4.0" CXXCPPFLAGS="-arch armv6 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk -miphoneos-version-min=4.0" 这是有效的,但是这个“make”会运行一段时间,并且出错: Making all in gvpr CCLD mkdefs ld: warning: ignoring […]