adabru / BleWinrtDll

BLE for Unity 3d in Windows without UWP.
Do What The F*ck You Want To Public License
169 stars 53 forks source link

Nuget Package Microsoft.Windows.CppWinRT needed to build solution #16

Open nathanrona opened 3 years ago

nathanrona commented 3 years ago

Cloned project and tried to build according to instructions in Readme.md, however build failed on error "wait_for is not a member of winrt::impl"

Found solution being installing the Nuget Package Microsoft.Windows.CppWinRT,

  1. Right-click on Refernces in solution window.
  2. Click manage Nuget packages...
  3. Click browse tab
  4. Find Microsoft.Windows.CppWinRT
  5. Install After that building worked.
adabru commented 3 years ago

Thanks for sharing!

adabru commented 2 years ago

If someone could create a pull request that fixes this issue, that would be highly appreciated!

playg8 commented 2 years ago

image

After this, still have error posted.

adabru commented 3 months ago

I found someone who fixed it: https://github.com/FeuFeve/BleWinrtDll/commit/7a6ba261ec807325c7eee124a609aaba4e377802

If someone uses the fix, feel free to create a pull request. The commit above has some other changes that may need to go to the .gitignore?