DanielOgorchock / joycond

userspace daemon to combine joy-cons from the hid-nintendo kernel driver
GNU General Public License v3.0
340 stars 68 forks source link

"sudo make install" returns error #78

Open zornsllama opened 2 years ago

zornsllama commented 2 years ago

When running sudo make install, I receive the following error.

CMakeFiles/joycond.dir/build.make:131: recipe for target 'CMakeFiles/joycond.dir/src/virt_ctlr_combined.cpp.o' failed
make[2]: *** [CMakeFiles/joycond.dir/src/virt_ctlr_combined.cpp.o] Error 1
CMakeFiles/Makefile2:99: recipe for target 'CMakeFiles/joycond.dir/all' failed
make[1]: *** [CMakeFiles/joycond.dir/all] Error 2
Makefile:135: recipe for target 'all' failed
make: *** [all] Error 2

Above this are a number of further error messages, all of which look like this (suggesting some kind of variable name incompatibilities):

virt_ctlr_combined.cpp:277:56: error: 'BTN_TRIGGER_HAPPY4' was not declared in this scope
         libevdev_enable_event_code(virt_evdev, EV_KEY, BTN_TRIGGER_HAPPY4, NULL);

Does anyone know how I might resolve this? Thanks!