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

[Compilation error] no type named 'path' in namespace 'std::filesystem' #23

Open
MuhammedZakir opened this issue Mar 30, 2022 · 0 comments

Comments

@MuhammedZakir
Copy link

File: https://github.com/pqrs-org/Karabiner-DriverKit-VirtualHIDDevice/blob/main/include/pqrs/karabiner/driverkit/virtual_hid_device_service/constants.hpp

#include <filesystem> solved this. I didn't open a PR because I am not sure if that's the correct thing to do.

This is not an urget issue like the one above, but, I am getting deprected warnings about kIOMasterPortDefault. To solve this, I guess one could do:

#ifdef __MAC_12_0
  #define __kIOMainPortDefault kIOMainPortDefault
#else
  #define __kIOMainPortDefault kIOMasterPortDefault
#endif

If you are fine with above changes (feel free to correct me), I can open a PR.

MuhammedZakir added a commit to MuhammedZakir/Karabiner-DriverKit-VirtualHIDDevice that referenced this issue Mar 31, 2022
error: no type named 'path' in namespace 'std::filesystem'

ref: https://pqrs-org/issues/23
MuhammedZakir added a commit to MuhammedZakir/Karabiner-DriverKit-VirtualHIDDevice that referenced this issue Mar 31, 2022
error: no type named 'path' in namespace 'std::filesystem'

ref: pqrs-org#23
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