Skip to content

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

@MuhammedZakir

Description

@MuhammedZakir

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions