|
Boost : |
Subject: Re: [boost] [build] How do I build for windows phone?
From: Vladimir Prus (vladimir.prus_at_[hidden])
Date: 2015-11-04 14:20:24
Hi John,
On 04-Nov-15 8:54 PM, John Maddock wrote:
> Boost.Build evidently has options for building for windows store and windows phone. The store builds work fine for me,
> but the phone builds fail as there is no compiler on the command line generated:
>
> ../../../bjam config_info msvc-14.0 windows-api=phone -d2
>
> ...found 179 targets...
> ...updating 5 targets...
This was previously reported, at:
http://permalink.gmane.org/gmane.comp.lib.boost.devel/263303
I believe Visual Studio team is aware of the problem, but there's no public URL to track the progress.
> file
> ..\..\..\bin.v2\libs\config\test\config_info.test\msvc-14.0\debug\link-static\runtime-link-static\windows-api-phone\config_info.obj.rsp
>
> "config_info.cpp"
> -Fo"..\..\..\bin.v2\libs\config\test\config_info.test\msvc-14.0\debug\link-static\runtime-link-static\windows-api-phone\config_info.obj"
> -TP /Z7 /Od /Ob0 /W3 /GR /Zc:forScope /Zc:wchar_t /MTd /wd4675 /EHs -c
> -DBOOST_ALL_NO_LIB=1
> -DWINAPI_FAMILY=WINAPI_FAMILY_PHONE_APP
> -D_WIN32_WINNT=0x0602
> "-I..\..\.."
> compile-c-c++
> ..\..\..\bin.v2\libs\config\test\config_info.test\msvc-14.0\debug\link-static\runtime-link-static\windows-api-phone\config_info.obj
>
>
> /Zm800 -nologo
> @"..\..\..\bin.v2\libs\config\test\config_info.test\msvc-14.0\debug\link-static\runtime-link-static\windows-api-phone\config_info.obj.rsp"
>
>
> '/Zm800' is not recognized as an internal or external command,
> operable program or batch file.
>
> Any ideas what I'm doing wrong?
Using Visual Studio 2015, apparently ;-)
> BTW I can't find any docs mentioning these options - and it's something end users building Boost may well need?
It's mentioned at:
https://github.com/boostorg/build/wiki/Windows
These are still too much in a flux to bother adding to 'persistent' documentation.
> Finally a supplementary question: has anyone succeeded in running regression tests on either the store or phone
> platforms? If I run:
>
> /bjam config_info msvc-14.0 windows-api=store
>
> I get:
>
> testing.capture-output
> ..\..\..\bin.v2\libs\config\test\config_info.test\msvc-14.0\debug\link-static\runtime-link-static\windows-api-store\config_info.run
>
> ====== BEGIN OUTPUT ======
> Access is denied.
>
> EXIT STATUS: 5
>
> Along with a screen message saying the app can't be run on my PC.
>
> Any ideas?
This was:
https://github.com/boostorg/build/pull/26
As you can see from the last comment, there is no longer any interest in having testing
for Windows Runtime to work.
Are you asking with the general coverage in mind, or do you have particular motivation to
add Windows Runtime support?
- Volodya
-- Vladimir Prus http://vladimirprus.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk