Revision: 6059
http://sourceforge.net/p/smartbody/code/6059
Author: fastict
Date: 2015-05-01 02:06:07 +0000 (Fri, 01 May 2015)
Log Message:
-----------
branch - ios - newly compiled protobuf for ios 8. compiled by me
platform:
OSX 10.10.3
Xcode 6.3.1
iOS 8.3
Steps documented here:
https://confluence.ict.usc.edu/pages/viewpage.action?pageId=16778697#BuildingtheToolkit-3rdPartyInstructions.1
-------
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
SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk
export
TOOLCHAIN=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
#export CLANG_VERBOSE="--verbose"
export CPPFLAGS="$CLANG_VERBOSE -arch armv7 -pipe -miphoneos-version-min=6.0
-isysroot $SDKROOT"
export CFLAGS="$CLANG_VERBOSE -arch armv7 -pipe -miphoneos-version-min=6.0
-isysroot $SDKROOT -g -O0 -std=c99 -fPIC -fcxx-exceptions"
export CXXFLAGS="$CLANG_VERBOSE -arch armv7 -pipe -miphoneos-version-min=6.0
-isysroot $SDKROOT -g -O0 -std=c++11 -stdlib=libc++ -fPIC -fcxx-exceptions"
export LDFLAGS="-arch armv7 -miphoneos-version-min=6.0 -stdlib=libc++"
export LIBS="-lc++ -lc++abi"
export CPP="$TOOLCHAIN/usr/bin/clang -E"
export CXX="$TOOLCHAIN/usr/bin/clang++"
export CC="$TOOLCHAIN/usr/bin/clang"
export LD="$TOOLCHAIN/usr/bin/ld"
export RANLIB="$SDKROOT/../../usr/bin/ranlib"
./configure --build=x86_64-apple-darwin --host=arm-apple-darwin
--with-protoc=/usr/local/bin/protoc --disable-shared
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.
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Smartbody-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/smartbody-svn