Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebView2Browser Sample (C++) Will Not Build X64 in VS2022 OOB, also does not support ARM64 #250

Closed
laultman opened this issue Jul 31, 2024 · 4 comments

Comments

@laultman
Copy link

This is just one of many problems with the whole Getting Started collection. First it will not build as-is right out of the box on a Windows Surface Pro 10 i7, Windows 11 23H2, VS2022 17.10.5.
All references to the cpprest nuget are not found. Manually fixing the include paths results in 17 errors related to the cpprest nuget package, as unresolved externals. Uninstalling the package and reinstalling did not resolve the issue. Updating the package to the latest from nuget.org did not change the outcome. Fails out of the box in X64. The project does not support ARM64.

Additionally, there is not a version build for ARM64 in the native cpprest.

@laultman
Copy link
Author

laultman commented Aug 1, 2024

See answers here and the discussion.

@laultman
Copy link
Author

This package had dependencies on cpprestsdk and winhttppal that prevent builds for dozens of reasons due to dependencies that have been changed or are now "non-standard" deprecated. Simply rolling back to earlier version of c++ does not fix issues because some of the projects have dependencies to the winrt requiring c++/17 or higher. Suppressing the error does not fix the real problem. Currently it has very limited use and almost not backward compatibility for older libraries.

@laultman
Copy link
Author

laultman commented Sep 2, 2024

This was a complete dead-end. I have it working now in HoloLens 2 in a native C++ without any Windows UI frameworks e.g. WinUI, WPF. It is running in UWP c++ native built on the Core App (C++/WinRT) VS app template.

@laultman
Copy link
Author

laultman commented Sep 2, 2024

Closing this thread.

@laultman laultman closed this as completed Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant