Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gmock.h missing. #28

Open
Aganthor opened this issue Jul 2, 2022 · 1 comment
Open

gmock.h missing. #28

Aganthor opened this issue Jul 2, 2022 · 1 comment

Comments

@Aganthor
Copy link

Aganthor commented Jul 2, 2022

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
Copy link

hjkatz commented Aug 3, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants