Closed sabun123 closed 8 years ago
This is what I could find in a quick google search: https://svn.boost.org/trac/boost/ticket/8204
Boost is (was) clashing with a define in GLX headers. This was worked around in boost version 1.53.
A workaround for GLXOSD would be to make sure that glx.h and boost-xpressive are not being included in the same compilation unit.
I have boost 1.54 here, so I won't be able to test a fix.
@myromance123 : can you still reproduce the error? From what I could tell in the latest glxosd source, ConfigurationManager.cpp no longer has glx.h in its include hierarchy, so it should work now.
#define None
seems to come from X.h, so I think this error still exists. If you have a sufficiently old boost, that is.
I attempted a fix in #38. @myromance123 : If you still have SteamOS, or something else using boost < 1.53, then please test :)
I will try to set up a Travis-CI build bot for GLXOSD, so we can test fixes like this one more easily.
Pull request #43 merged into development fixes another one of these clashes. GLXOSD successfully built on travis-ci (Ubuntu 12.04), which does have a very old version of boost. I think it's time to close this issue, unless you want to wait for the commit to appear in a released version?
I do not have my SteamOS machine with me, and it will be quite a while before I get it back and am able to test it. Thus, I'll take your word for it right now. Apologies for the late reply, I'll close this for now :)
Hi, Currently in SteamOS if I attempt to run
make all
aftercmake -G "Unix Makefiles
I will get issues with compiling when referencing the boost libraries.The error (there's more, but the beginning pinpoints first occurrence):
I believe this occurs because of this issue here.
In SteamOS, when attempting to install the required dependencies for compiling GLXOSD, the SteamOS dev libraries seem to be different compared to the normal Debian Wheezy dev libraries for the following:
libgl1-mesa-dev libglu1-mesa-dev libfontconfig1-dev libfreetype6-dev
If I try to force the Debian packages to be installed, this is what I get:
I can install the dependencies normally without forcing it to take from Debian's repositories, but it will mix and match. It will take the ones it can from Debian, and the above will be taken from the SteamOS repository but then the issue with the Boost library happens.
Any advice or guidance on how to overcome this problem? If I were to build GLXOSD on the same machine, but in Ubuntu 14.10, would I be able to bring that over to SteamOS for the
make install
process?