I am trying to compile this project: https://github.com/bucienator/ble-win-cpp
After cloning the repository, I got the error "wait_for" is not a member of "winrt :: impl". Using NuGet, I added the Microsoft.Windows.CppWinRT package to the project. But after that my imports of all libraries broke:
#include <winrt / Windows.Foundation.h>
#include <winrt / Windows.Devices.Bluetooth.h>
#include <winrt / Windows.Devices.Enumeration.h>
#include <winrt / Windows.Devices.Bluetooth.Advertisement.h>
#include <winrt / Windows.Devices.Bluetooth.GenericAttributeProfile.h>
#include <winrt / Windows.Storage.Streams.h>
Tell me how do I get Visual Studio to compile my project?