
Hello everyone, I've searched the boost website and the mailing list archives back to january and didn't find any helpful information on my subject. My question is whether there are plans to support compiling the boost library for Windows 8 using only the WinRT APIs. That is, to support boost for Windows Store/Metro Style apps in Windows 8. Or is there already a way (e.g. via preprocessor direcitve) that I didn't find, to disable the unsupported Win32 API calls when compiling on Windows? Cheers Johannes

On Fri, Oct 5, 2012 at 2:48 AM, Johannes Sartisohn < jsartisohn@niksoftware.com> wrote:
Hello everyone,
I've searched the boost website and the mailing list archives back to january and didn't find any helpful information on my subject. My question is whether there are plans to support compiling the boost library for Windows 8 using only the WinRT APIs. That is, to support boost for Windows Store/Metro Style apps in Windows 8. Or is there already a way (e.g. via preprocessor direcitve) that I didn't find, to disable the unsupported Win32 API calls when compiling on Windows?
Cheers
Johannes
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
This is actually a really good question. I'm not sure it could be done for all libraries (Interprocess for example), but certainly a lot of the libraries that don't currently compile could probably be 'ported' (as lots of the APIs that were removed from WinRT have counterparts that are basically the same thing, but slightly newer versions with different params). Bump.

Le 04/10/12 18:48, Johannes Sartisohn a écrit :
Hello everyone,
I've searched the boost website and the mailing list archives back to january and didn't find any helpful information on my subject. My question is whether there are plans to support compiling the boost library for Windows 8 using only the WinRT APIs. That is, to support boost for Windows Store/Metro Style apps in Windows 8. Or is there already a way (e.g. via preprocessor direcitve) that I didn't find, to disable the unsupported Win32 API calls when compiling on Windows?
Hi, I don't know the differences between Windows 8 / WinRT and Win32. Any patch for Boost.Chrono and Boost.Thread is welcome. In addition we will need a regular Tester for this platform, otherwise it will be impossible to check if the patches work as expected. Best, Vicente

So, just for the record, there is currently no support for building boost for Windos 8/Store/Metro Apps (using the WinRT API), and the plans to support it are far from concrete. Sadly I cannot offer to work on the patches, since the we decided to remove the boost dependencies from our codebase. But for the ones willing to dive in, this is a good starting point: http://msdn.microsoft.com/en-us/library/windows/apps/br205762.aspx http://msdn.microsoft.com/en-us/library/windows/apps/br211377.aspx As Vicente said, the main things that are broken are Boost.Thread and Boost.Chrono, but Boost.Filesystem also needs a good look. And if you want to jump right into the code, build boost with the following commandline params: .\b2 cxxflags="-DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0602" linkflags="/APPCONTAINER" Ceers Johannes
participants (3)
-
Johannes Sartisohn
-
Joshua Boyce
-
Vicente J. Botet Escriba