I've been trying to compile this on Linux Mint and I get a whole bunch of errors (pasted below). I have no idea what any of this means, any ideas what's going on here and how I might be able to get it to work? Thanks
make -f Makefile
compiling source/core/slot_manager.cpp...
In file included from source/core/slot_manager.h:8,
from source/core/slot_manager.cpp:1:
source/core/uinput.h:34:33: error: ‘std::shared_ptr’ has not been declared
34 | int watch_for_ff(int fd, std::shared_ptr& slot);
| ^~~~~~
source/core/uinput.h:34:43: error: expected ‘,’ or ‘...’ before ‘<’ token
34 | int watch_for_ff(int fd, std::shared_ptr& slot);
| ^
source/core/uinput.h:40:22: error: ‘weak_ptr’ is not a member of ‘std’
40 | std::map<int, std::weak_ptr> ff_slots;
| ^~~~
source/core/uinput.h:16:1: note: ‘std::weak_ptr’ is defined in header ‘’; did you forget to ‘#include ’?
15 | #include
I've been trying to compile this on Linux Mint and I get a whole bunch of errors (pasted below). I have no idea what any of this means, any ideas what's going on here and how I might be able to get it to work? Thanks
make -f Makefile compiling source/core/slot_manager.cpp... In file included from source/core/slot_manager.h:8, from source/core/slot_manager.cpp:1: source/core/uinput.h:34:33: error: ‘std::shared_ptr’ has not been declared 34 | int watch_for_ff(int fd, std::shared_ptr& slot);
| ^& slot);
| ^
source/core/uinput.h:40:22: error: ‘weak_ptr’ is not a member of ‘std’
40 | std::map<int, std::weak_ptr> ff_slots;
| ^’; did you forget to ‘#include ’?
15 | #include
~~~~~ source/core/uinput.h:34:43: error: expected ‘,’ or ‘...’ before ‘<’ token 34 | int watch_for_ff(int fd, std::shared_ptr~~~ source/core/uinput.h:16:1: note: ‘std::weak_ptr’ is defined in header ‘