Boost logo

Boost :

Subject: [boost] Problems building Boost libraries for Windows Store when C++/CX is involved
From: Mikael Olenfalk (mikael.olenfalk_at_[hidden])
Date: 2015-10-05 05:48:23


I am working on porting the boost libraries we depend on to winrt, most
porting is rather straightforward (basically switch from win32 apis which
are 20 years old to apis which are 15 years old :D ).

However I have hit a bit of a problem when compiling Boost.Log. Boost.Log
depends on Boost.Asio which uses C++/CX to call some of the newer Store
APIs (Windows::Networking and friends).

When I build I get these errors:

..\..\..\libs\log\src\dump_ssse3.cpp: fatal error C1107: could not find
assembly 'platform.winmd': please specify the assembly search path using
/AI or by setting the LIBPATH environment variable

    call "C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\vcvarsall.bat" x86 store >nul
cl /Zm800 /ZW /EHsc -nologo

(As you can see I have monkey-patched msvc.jam to append the "store"
argument to vcvarsall.bat - to no avail :( -- the monkey-patch is here if
you want to look at it: )

The @response file looks like this:

-TP /Z7 /Od /Ob0 /W3 /GR /MDd /Zc:forScope /Zc:wchar_t /wd4675 /EHs
/arch:SSE2 /bigobj /wd4003 /wd4456 /wd4459 /wd4503 -c



Boost list run by bdawes at, gregod at, cpdaniel at, john at