khampf / g13

libusb driver for the g13
23 stars 15 forks source link

gmock.h missing. #28

Open Aganthor opened 2 years ago

Aganthor commented 2 years ago

Can't compile. I have all the prerequisites. Here is the error output: /home/lucb/programming/software_build/g13/testKeys.cpp:14:10: fatal error: gmock/gmock.h: No such file or directory 14 | #include "gmock/gmock.h" | ^~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/runtests.dir/build.make:230: CMakeFiles/runtests.dir/testKeys.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:166: CMakeFiles/runtests.dir/all] Error 2 make: *** [Makefile:91: all] Error 2

I'm running Garuda Linux and my system is up-to-date.

hjkatz commented 2 years ago

I just got this working and had to install the following dependencies:

$ sudo apt-get install -y liblog4cpp5-dev libusb-1.0-0-dev libevdev-dev libgmock-dev

I think the missing library here is libgmock-dev