Compiling Graphiz for iOS

Hi, I'm having a difficult time getting Graphiz to compile for iOS. I followed the instructions at the following sites but have gotten no where:

This is my attempt at building armv7 libraries:

export DEV_iOS=/Applications/
export SDK_iOS=${DEV_iOS}/SDKs/iPhoneOS6.1.sdk
export COMPILER_iOS=${DEV_iOS}/usr/bin
export CC=${COMPILER_iOS}/gcc
export CXX=${COMPILER_iOS}/g++
export LDFLAGS="-arch armv7 -pipe -Os -gdwarf-2 -no-cpp-precomp -mthumb -isysroot ${SDK_iOS}"
export CXXFLAGS="${LDFLAGS} -fvisibility-inlines-hidden"
export LD=${COMPILER_iOS}/ld
export CPP=${COMPILER_iOS}/llvm-cpp-4.2
export AR=${COMPILER_iOS}/ar
export AS=${COMPILER_iOS}/as
export NM=${COMPILER_iOS}/nm
export CXXCPP=${COMPILER_iOS}/llvm-cpp-4.2
export RANLIB=${COMPILER_iOS}/ranlib
./configure --host=arm-apple-darwin11 --disable-dependency-tracking --enable-shared=no --enable-static=yes --enable-ltdl-install=no --enable-ltdl=no --enable-swig=no --enable-swig=no --enable-tcl=no --with-codegens=no --with-expat=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

Ends with this error:

Making all in quartz
CC gvdevice_quartz.lo
CC gvloadimage_quartz.lo
CC gvplugin_quartz.lo
CC gvrender_quartz.lo
gvrender_quartz.c: In function 'quartzgen_begin_page':
gvrender_quartz.c:196: warning: implicit declaration of function 'ftruncate'
CC gvtextlayout_quartz.lo
OBJC GVTextLayout.lo
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make[3]: *** [GVTextLayout.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

You may find your best bet to

You may find your best bet to get help on this is to join the graphviz mailing list ( The list pre-dates the forum and tends to include the more hard-core graphviz developers and users. In particular, there are people there who are familiar with iOS.

Recent comments