You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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<virtual_device>& slot);
| ^~~~~~~~~~
source/core/uinput.h:34:43: error: expected ‘,’ or ‘...’ before ‘<’ token
34 | int watch_for_ff(int fd, std::shared_ptr<virtual_device>& slot);
| ^
source/core/uinput.h:40:22: error: ‘weak_ptr’ is not a member of ‘std’
40 | std::map<int, std::weak_ptr<virtual_device>> ff_slots;
| ^~~~~~~~
source/core/uinput.h:16:1: note: ‘std::weak_ptr’ is defined in header ‘’; did you forget to ‘#include ’?
15 | #include
+++ |+#include
16 |
source/core/uinput.h:40:22: error: ‘weak_ptr’ is not a member of ‘std’
40 | std::map<int, std::weak_ptr<virtual_device>> ff_slots;
| ^~~~~~~~
source/core/uinput.h:40:22: note: ‘std::weak_ptr’ is defined in header ‘’; did you forget to ‘#include ’?
source/core/uinput.h:40:31: error: template argument 2 is invalid
40 | std::map<int, std::weak_ptr<virtual_device>> ff_slots;
| ^~~~~~~~~~~~~~
source/core/uinput.h:40:31: error: template argument 4 is invalid
source/core/uinput.h:40:45: error: expected unqualified-id before ‘>’ token
40 | std::map<int, std::weak_ptr<virtual_device>> ff_slots;
| ^~
make: *** [Makefile:60: source/core/slot_manager.o] Error 1
The text was updated successfully, but these errors were encountered:
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<virtual_device>& slot);
| ^~~~~~~~~~
source/core/uinput.h:34:43: error: expected ‘,’ or ‘...’ before ‘<’ token
34 | int watch_for_ff(int fd, std::shared_ptr<virtual_device>& slot);
| ^
source/core/uinput.h:40:22: error: ‘weak_ptr’ is not a member of ‘std’
40 | std::map<int, std::weak_ptr<virtual_device>> ff_slots;
| ^~~~~~~~
source/core/uinput.h:16:1: note: ‘std::weak_ptr’ is defined in header ‘’; did you forget to ‘#include ’?
15 | #include
+++ |+#include
16 |
source/core/uinput.h:40:22: error: ‘weak_ptr’ is not a member of ‘std’
40 | std::map<int, std::weak_ptr<virtual_device>> ff_slots;
| ^~~~~~~~
source/core/uinput.h:40:22: note: ‘std::weak_ptr’ is defined in header ‘’; did you forget to ‘#include ’?
source/core/uinput.h:40:31: error: template argument 2 is invalid
40 | std::map<int, std::weak_ptr<virtual_device>> ff_slots;
| ^~~~~~~~~~~~~~
source/core/uinput.h:40:31: error: template argument 4 is invalid
source/core/uinput.h:40:45: error: expected unqualified-id before ‘>’ token
40 | std::map<int, std::weak_ptr<virtual_device>> ff_slots;
| ^~
make: *** [Makefile:60: source/core/slot_manager.o] Error 1
The text was updated successfully, but these errors were encountered: