Yubico / yubikey-personalization-gui

YubiKey Personalization GUI
https://developers.yubico.com/yubikey-personalization-gui
BSD 2-Clause "Simplified" License
198 stars 38 forks source link

fatal error: yubikey.h: No such file or directory #include <yubikey.h> #78

Closed vladanghene closed 7 years ago

vladanghene commented 7 years ago

Can't compile under Fedora. When it gets to /lib/ folder it throws this fatal error:

compiling yubikeyutil.cpp
yubikeyutil.cpp:30:10: fatal error: yubikey.h: No such file or directory
 #include <yubikey.h>
          ^~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:250: yubikeyutil.o] Error 1

Indeed, there is no such header file in libs folder. There is only yubikeyutil.h Tried to compile using g++. Steps I took: cloned this repo - ran qmake-qt4 && make as instructed by readme.

vladanghene commented 7 years ago

for anyone encountering this in the future, you need to install headers dnf install libyubikey-devel and it works afterwards.