Note that there are some explanatory texts on larger screens.

plurals
  1. POBuild static Graphviz libraries for iOS
    primarykey
    data
    text
    <p>I am trying build the static libraries for Graphviz to include them in in an iOS app, but I can't get it to work. Here's what I have done so far, using graphviz 2.28.0], Xcode 4.1, OSX 10.7 and I am targeting the iOS simulator.</p> <p>I found <a href="http://blog.gmane.org/gmane.comp.video.graphviz/month=20090601/page=2" rel="noreferrer">Glen Low's configure instructions</a>, and with some informed guesswork updated these to:</p> <pre><code>./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" </code></pre> <p>This works, but then the "make" runs for a while and errors out with:</p> <pre><code>Making all in gvpr CCLD mkdefs ld: warning: ignoring file mkdefs.o, file was built for armv6 which is not the architecture being linked (i386) ld: warning: ignoring file /usr/local/lib/libSystem.dylib, missing required architecture i386 in file ld: warning: symbol dyld_stub_binder not found, normally in libSystem.dylib Undefined symbols for architecture i386: "_exit", referenced from: start in crt1.10.6.o "_main", referenced from: start in crt1.10.6.o ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status make[3]: *** [mkdefs] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 </code></pre> <p>I don't quite understand all the architecture specifications, so any help to get this to work is most welcome.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload