[kde-freebsd] [Bug 195105] devel/qt5 cannot find GL/gl.h with Clang

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 21 12:51:37 UTC 2014


Max Brazhnikov <makc at FreeBSD.org> changed:

           What    |Removed                     |Added
                 CC|                            |makc at FreeBSD.org

--- Comment #5 from Max Brazhnikov <makc at FreeBSD.org> ---
(In reply to Raphael Kubo da Costa from comment #3)
> In any case, I thought this wouldn't be a problem for CMake-based ports like
> Stellarium, since I'd expect them to look for GL headers and libraries and
> include them appropriately. Does Stellarium do that?

projects may not use GL directly, in this case they don't bother to look for GL
headers and libraries. But QtGui/qopengl.h refers to GL/gl.h, which is under
/usr/local/include on FreeBSD, therefore this include path must be passed
explicitly to compiler. I wonder why this problem reveals itself with clang
only, base gcc should suffer from the same.

You are receiving this mail because:
You are the assignee for the bug.

More information about the kde-freebsd mailing list