Boost logo

Boost :

Subject: Re: [boost] Problems building Boost libraries for Windows Store when C++/CX is involved
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2015-10-05 11:53:54

On 05.10.2015 12:48, Mikael Olenfalk wrote:
> Hi,
> 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:
> compile-c-c++
> ..\..\..\bin.v2\libs\log\build\msvc-14.0\debug\log-api-winnt\threading-multi\windows-api-store\dump_ssse3.obj
> dump_ssse3.cpp
> ..\..\..\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

dump_ssse3.cpp (as well as other dump*.cpp files) are not related to
Boost.ASIO or networking in general. I don't think the error above is
related to Boost.ASIO.

That said, I'm quite far from modern Windows development currently and I
don't understand the error. I have no idea what an assembly or
platform.winmd in particular is. The code in dump_ssse3.cpp uses
compiler intrinsics to generate SSSE3-optimized x86 code, so maybe
there's some limitation about using the intrinsics.

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