Instructions for Building on iOS seem to use a beta version of boost

Oct 29, 2014 at 2:58 PM
Following the instructions for building on iOS seem to use a beta version of boost (1.57.0). I think this may be related to the recent change to modularize boost in the git repository. Is there something I am missing here that caused me to down load that version when using the instructions for building on iOS. To get it to work I replaced updateBoost in boost.sh with updateBoost()
{
echo Updating boost into $BOOST_SRC...

if [ -s boost-${BOOST_VERSION}.tar.gz ]
then
rm -f boost-${BOOST_VERSION}.tar.gz
fi

#doesn't actually contain the files
#curl -L -o boost-${BOOST_VERSION}.tar.gz http://github.com/boostorg/boost/archive/boost-${BOOST_VERSION}.tar.gz

curl -L -o boot-${BOOST_VERSION}.tar.gz http://sourceforge.net/projects/boost/files/boost/${BOOST_VERSION}/boost_${BOOST_UNDERSCORE_VERSION}.tar.gz

tar -xvf boot-${BOOST_VERSION}.tar.gz

pushd $BOOST_SRC
./bootstrap.sh
./b2 headers
popd

doneSection
}

That seemed to do the trick. Has anyone else run into this?

-Leslie
Coordinator
Oct 31, 2014 at 4:32 PM
Hi Leslie,

Yes if you don't provide the Boost sources as a tar, like you've done, the boostoniphone repository that we are using will update and pull the sources from Boost github, using the master branch. The master branch on Boost gets updated more often than just at releases. I have a change, that I'm going to check in shortly that patches boostoniphone to be fixed on using the Boost 1.56 release.

I'll update here once it is checked in.

Thanks,
Steve
Coordinator
Nov 3, 2014 at 8:21 PM
Hi Leslie,

Ok I've updated the development branch with a patch that fixes the IPhone SDK to 8.0 and the Boost version to 1.56. It is under the Build_iOS folder:
 git apply ../fix_boost_version.patch
Steve