thebrowsercompany / windows-samples

Sample Apps for Swift on Windows
MIT License
271 stars 15 forks source link

Error generating bindings- Could not find type 'Point' in namespace 'Windows.Foundation' #1

Closed paytontech closed 1 year ago

paytontech commented 1 year ago

Hello, I am trying to compile the sample app on Windows 11 (Insider) 22H2 build 23536.1000, and I am getting the following error while generating bindings: swiftwinrt : error Could not find type 'Point' in namespace 'Windows.Foundation' This feels like a swiftwinrt error, but I was told to put it here. I'd be happy to provide any extra information. Thanks!

stevenbrix commented 1 year ago

thanks @paytontech! i think this issue is due to a missing windows sdk. you should have 10.0.20348.0 installed. i realize this isn't in the pre-requisites.

hironichu commented 1 year ago

Well that fixes the prebuild, however the following step doesnt work...

image

paytontech commented 1 year ago

yup! problem solved. thank you!

paytontech commented 1 year ago

Well that fixes the prebuild, however the following step doesnt work...

image

i'm having the exact same issue

stevenbrix commented 1 year ago

@paytontech this should be fixed now! please file an issue if you're having more problems