[KDE/Mac] [Kde-games-devel] OSX/CI: ksudoku fails to build on branch master

Ian Wadham iandw.au at gmail.com
Wed Jan 21 03:44:40 UTC 2015

Hi Marko,

See the following change, re OpenGL on Apple OS X:

We need to look for OpenGL/gl.h on OS X, not GL/gl.h.

On 21/01/2015, at 7:10 AM, Marko Käning wrote:
> although ksudoku succeeds on Linux/CI [1] I do have a problem on the OSX/CI
> system due to the OpenGL includes not being found:
> ---
> .
> .
> .
> In file included from /Users/marko/WC/KDECI-builds/kf5-qt5/ksudoku/src/gui/views/roxdokuview.h:34:
> /Users/marko/WC/KDECI-builds/kf5-qt5/ksudoku/src/gui/views/ArcBall.h:43:10: fatal error: 'GL/gl.h' file not found
> #include <GL/gl.h>                                                                                             // Header File For The OpenGL32 Library
>         ^
> 1 error generated.

Maybe this is failing because Q_WS_MAC is no longer defined in Qt 5?  Try
Q_OS_MAC --- or something else?

If it works, kubrick and ksudoku repositories will BOTH need to be changed,
on the frameworks branch.

Cheers, Ian W.

More information about the kde-mac mailing list