Error Building On RedHat - #include <X11/extensions/scrnsaver.h> Not Found
Running into trouble when trying to compile a project on Linux ( RedHat 7.3 ) with the following error:
fatal error: X11/extensions/scrnsaver.h: No such file or directory #include <X11/extensions/scrnsaver.h>
I've tried installing various things like libXScrnSaver but they either don't help or say they already exist.
Can you explain how this error relates to Qt ?
@SGaist - I'm running Qt Creator on RedHat 7.3, trying to compile a Qt project that would otherwise compile on the previous version of Linux I was using.
Looking for assistance with a problem I'm encountering on a Qt forum where others may have run into the same issue.
Well, do you have a file /usr/include/X11/extensions/scrnsaver.h ?
I don't know about Red Hat, but for Ubuntu you have to install libxss-dev to be able to develop your own programs using this extension.
@aha_1980 - The file isn't there. I did try installing that and others, for whatever reason it seems like it doesn't support the screen saver and won't install it.
Do you have
@SGaist - Yes, that has been installed. I just ran across a piece of information that looks like for the Developer Enterprise edition of RedHat it seems the screen saver is not supported, so that may be why it's not adding that to the extensions in my attempts. That will be unfortunate if that is the case.