Note that there are some explanatory texts on larger screens.

plurals
  1. POcommand-line library build fails with linker error
    primarykey
    data
    text
    <p>I am getting a <em>library not found error</em> building GraphViz current release (June 7 2012) with XCode 4.3 using a script. I may have made mistakes updating build scripts from other people's successful recipes for the new location of XCode4.3 and the developer tools in the Application folder.</p> <p><code>ld: library not found for -lcrt1.10.6.o</code></p> <p>(doing this from memory so exact number on the CRT lib may be wrong)</p> <p>Am also a little lost also how I would incorporate this into an XCode build in th IDE. I am a very experienced programmer but having trouble finding my way around XCode 4 at times. (Decades of Visual Studio et al).</p> <p>I have copied the instructions from <a href="https://stackoverflow.com/questions/7224827/build-static-graphviz-libraries-for-ios">this earlier question</a> and adapted </p> <pre><code>#!/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 </code></pre>
    singulars
    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.
 

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