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
win32_window.cc(57,14): error C3861: 'FlutterDesktopGetDpiForMonitor': identifier not found #672
Comments
Yes, we're aware of this issue; it's why the CI status is red at the moment. The Flutter engine roll that contained the change adding that API was reverted (for unrelated reasons), which broke a recent change landed here. I expect the Flutter engine will roll forward again shortly, but if that hasn't happened by tomorrow we'll temporarily revert the change here using that API. I'd like to hold off if possible because there have been other PRs since that touched surrounding code, so it's not a clean revert unfortunately. In the very short term, you can either hack around it as above, or use Flutter at |
Ok great, hacking around it is fine for us :) Just wanted to log in case it wasn't known. |
The Flutter engine roller is running again, so this is fixed. |
Hi, @stuartmorgan. I'm facing the same problem. Tks. |
@toy-lin As noted above this was fixed 5 days ago; you should use the latest version of Flutter, not an old one. That suggestion was only a temporary workaround during the ~day where it was broken on head. If you try to run the latest FDE against that hash now, you will have other issues, as other changes have landed requiring newer versions of Flutter. |
I have updated flutter on the master channel with "flutter upgrade" and it sends an error when trying to run the application in windows. $ flutter doctor • No issues found! $ flutter run --verbose -d windows -v #0 throwToolExit (package:flutter_tools/src/base/common.dart:14:3) I appreciate the help :) |
@fer9917 I don't see anything in that log suggesting it's related to this issue; please file a new bug. |
Thanks you |
Trying to build with the latest master versions, and getting this error on Windows 10:
win32_window.cc(57,14): error C3861: 'FlutterDesktopGetDpiForMonitor': identifier not found
Hardcoding the value above got me to a new error:
win32_window.cc(56,12): error C2220: the following warning is treated as an error win32_window.cc(56,12): warning C4189: 'monitor': local variable is initialized but not referenced
Removing the unused
monitor
variable allowed build to complete successfully.The text was updated successfully, but these errors were encountered: