-
Notifications
You must be signed in to change notification settings - Fork 3
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
pok3rconf fails to build on g++ 4.8 #1
Comments
Interesting, on gcc 4.8 i added |
I get about the same error on gcc/g++ 5.3.1/6.2.1/7.3.1 This is on OpenSUSE 42.3. I will look into this more later today, perhaps I am missing some library |
FWIW it compiles fine if you comment out the check for SSL. I'm upgrading my system to the newer version of OpenSuSe today, will see if that makes any difference. |
Updated to OpenSUSE 15 and there is no longer an error. Unsure if you want to close this or not. |
Hmm, qt must be using some compiler trick for that ssl check that 4.8 doesn't support. I'm not quite at the point where I need to determine which distros/versions I need to support, but I'll keep this in mind. As for documentation, I've been holding back until I'm confident the firmware for each supported keyboard won't make the keyboard a brick. If I made it too easy to soon, I know people will try flashing unstable firmware. |
I got the same error on gcc/g++ 7.3.1 on the older OpenSUSE, so I don't think it's just a compiler issue. Maybe some optional qt package got rolled into base or the old version had an incomplete package. |
Needs to pass flags -std=gnu++11 or c++11.
Looking into this, simplest solution would be to force set cmake_minimum_required to 3.1 and set(CMAKE_CXX_STANDARD 11).
However, doing so, it still fails to compile:
Unfortunately, I was not able to figure this one out, I do believe I have all necessary QT dependencies.
The text was updated successfully, but these errors were encountered: