|
Boost-Build : |
Subject: Re: [Boost-build] How to build boost for ARM (to use on Windows Phone)
From: Michael Austin (mikea_at_[hidden])
Date: 2014-05-21 15:59:52
Thanks for your quick response!
I got around that date_time problem by switching back to master and it does work. I had already switched submodules to the winrt branch for both Build and Predef so that was not an issue.
Your reply did highlight the problem for building Boost.System. In your command line I noticed you had specified toolset=msvc-11.0 - I had not done so, and it seems it was defaulting to msvc-12.0 which still does not build when windows-api=phone - However, I was able to successfully build it using your command.
Just for a quick sanity test I went through and tested the build in Boost.System with each command as follows
Builds Succesfully:
b2 toolset=msvc-11.0 windows-api=phone
b2 toolset=msvc-11.0 windows-api=store
b2 toolset=msvc-12.0 windows-api=store
Fails:
b2 toolset=msvc-12.0 windows-api=phone
So for now, I think I can just work around the problem using the other toolset.
I will be sure to post here if I run into any other troubles getting these libraries to work.
Thanks again,
Michael
On May 21, 2014, at 3:24 PM, stgates <stgates_at_[hidden]> wrote:
> Hi Michael,
>
> Thanks for the feedback on the Boost libraries you are using.
>
> For date_time, I made some changes to make it easier to contribute back to
> Boost from what I originally had in the repositories. Initially by default
> if you built on an Windows machine that supported store it would produce
> both the store and desktop (existing) binaries. However this made
> contributing back more complicated so I changed it to be opt in. Date_Time
> doesn't use any banned APIs to my knowledge so you can just use straight
> from the master or develop branch.
>
> To try out my work for date_time, system, or any of the other libraries. You
> will need at least the following:
>
> 'winrt' branch from my Boost.Build fork.
> 'winrt' branch from my Boost.Predef fork.
>
> I don't have any trouble building Boost.System locally from my fork for
> store or phone. Here is the command I was using: b2 toolset=msvc-11.0
> windows-api=phone
>
> Steve
>
>
>
> --
> View this message in context: http://boost.2283326.n4.nabble.com/How-to-build-boost-for-ARM-to-use-on-Windows-Phone-tp4662579p4662687.html
> Sent from the Boost - Build mailing list archive at Nabble.com.
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk