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

Failing to build on Arch Linux #44

Closed nigeil closed 10 years ago

nigeil commented 10 years ago

I was unable to build this program using the standard "qmake && make". Errors occur during the build process, pertaining almost exclusively to private member violations. I'd imagine this is an issue with a new version of GCC - I'm using GCC 4.9.1 for the build process. Below is a sample (I can provide a full list if desired):

src/yubikeylogger.h: In member function ‘void SettingPage::restoreDefaults()’: src/yubikeylogger.h:68:20: error: ‘static QString YubiKeyLogger::defaultLogFilename()’ is private static QString defaultLogFilename(); ^

klali commented 10 years ago

This sounds odd.. YubiKeyLogger::defaultLogFilename() is declared as a public function

I don't have immediate access to anything with gcc 4.9 so not able to check this instantly..

/klas

klali commented 10 years ago

nvm, good catch. This was an error introduced in fe42bd453f347f6da68551294549832095336bf2