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

compile error (wrl/implements.h: no such file or directory) #96

Open
nikich340 opened this issue Jan 27, 2024 · 0 comments
Open

compile error (wrl/implements.h: no such file or directory) #96

nikich340 opened this issue Jan 27, 2024 · 0 comments

Comments

@nikich340
Copy link

nikich340 commented Jan 27, 2024

I've added wintoastlib.h and wintoastlib.cpp and linked psapi in CMakeLists to my Qt cmake project, but when trying to compile (even without creating any toast) this error appears. I've checked this repo but haven't found if I should download any additional sources/libs to fix this.
OS: Windows 10

D:/QT_projects/TestToast/wintoastlib.h:28:10: fatal error: wrl/implements.h: No such file or directory
   28 | #include <wrl/implements.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
21:45:41: The process "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" exited with code 1.
Error while building/deploying project SimpleAskerServer (kit: Desktop Qt 6.6.1 MinGW 64-bit)
When executing step "Build"

If I remove this include for a test, the same error happens for wrl/event.h and windows.ui.notifications.h.

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