Subject: Re: [Boost-build] Errors when building for Windows Phone 8
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2015-03-27 12:50:07


AMDG

On 03/27/2015 02:04 AM, Jan Deinhard wrote:
> I want to build Boost 1.57 for Windows Phone 8 but when I run b2 like so
>
> b2 toolset=msvc-12.0 variant=release architecture=arm windows-api=phone
>
> I get the following error for all targets:
>
><snip>
> I suppose the German part translates to:
>
> '/Zm800' is not recognized as an internal or external command, operable program or batch file.
>
> My guess is that b2 failes to set the compiler. When I use b2 like so
>
> b2 toolset=msvc-12.0 variant=release
>
> it compiles just fine.
>
> What is wrong with my b2 command? Is there anything I can do or is the build system broken for Windows Phone?
>

 From the error message, it looks like the setup
script isn't being found. I think the scripts are
looking for VC\WPSDK\WP81\vcvarsphoneall.bat or
VC\WPSDK\vcvarsphoneall.bat. Can you check that
one of these files exists?

In Christ,
Steven Watanabe