Revision: 5717
          http://sourceforge.net/p/smartbody/code/5717
Author:   fastict
Date:     2014-07-15 03:19:05 +0000 (Tue, 15 Jul 2014)
Log Message:
-----------
trunk - ios - newly compiled protobuf for ios.  compiled by me
platform:
OSX 10.8.5
Xcode 4.6.1
iOS 6.1

Steps documented here:  
https://confluence.ict.usc.edu/display/VHTK/Building+the+Toolkit#BuildingtheToolkit-3rdPartyInstructions

-------

8. protobuf
(may have to build for OSX first, potential dependency on /usr/local/bin/protoc)
https://protobuf.googlecode.com/files/protobuf-2.5.0.tar.gz
tar zxvf protobuf-2.5.0.tar.gz
create file setup.sh:
export ARMVERSION=7
export 
DEVROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer
export SDKROOT=$DEVROOT/SDKs/iPhoneOS6.1.sdk
export CFLAGS="-arch armv$ARMVERSION -pipe -no-cpp-precomp -isysroot $SDKROOT 
-miphoneos-version-min=4.1 -I$SDKROOT/usr/include/"
export CPPFLAGS="$CFLAGS"
export CXXFLAGS="$CFLAGS"
export LDFLAGS="-L$SDKROOT/usr/lib/system"
export CPP="$DEVROOT/usr/bin/gcc -E"
export CXX="$DEVROOT/usr/bin/g++"
export CC="$DEVROOT/usr/bin/gcc"
export LD="$DEVROOT/usr/bin/ld"

export RANLIB="$DEVROOT/usr/bin/ranlib"

./configure --host="arm-apple-darwin" --prefix=$PREFIX 
--with-protoc=/usr/local/bin/protoc
run ./setup.sh
make
copy \src\.libs\libprotobuf.a to \ios\libs\iphoneos

Modified Paths:
--------------
    branches/fast/smartbody-toolkit-5542/ios/libs/iphoneos/libprotobuf.a

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Smartbody-svn mailing list
Smartbody-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/smartbody-svn

Reply via email to