[KDE/Mac] OSX/CI: ksudoku fails to build on branch master
Marko Käning
mk-lists at email.de
Tue Jan 20 20:10:56 UTC 2015
Hi folks,
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.
make[2]: *** [src/gui/CMakeFiles/ksudoku_gui.dir/views/ArcBall.cpp.o] Error 1
24 warnings generated.
7 warnings generated.
1 warning and 1 error generated.
make[2]: *** [src/gui/CMakeFiles/ksudoku_gui.dir/views/roxdokuview.cpp.o] Error 1
make[1]: *** [src/gui/CMakeFiles/ksudoku_gui.dir/all] Error 2
make: *** [all] Error 2
KDE Continuous Integration Build
== Building Project: ksudoku - Branch frameworks
.
.
.
---
This header file is supplied by the mesa port on MacPorts:
---
$ port provides /opt/local/include/GL/gl.h
/opt/local/include/GL/gl.h is provided by: mesa
MVM2:trojita marko$ port contents mesa
Port mesa contains:
/opt/local/include/GL/gl.h
/opt/local/include/GL/gl_mangle.h
/opt/local/include/GL/glext.h
/opt/local/include/GL/glu.h
/opt/local/include/GL/glu_mangle.h
/opt/local/include/GL/glx.h
/opt/local/include/GL/glx_mangle.h
/opt/local/include/GL/glxext.h
/opt/local/include/GL/osmesa.h
/opt/local/include/GL/vms_x_fix.h
/opt/local/include/GL/wglext.h
/opt/local/include/GL/wmesa.h
/opt/local/include/KHR/khrplatform.h
/opt/local/include/VG/openvg.h
/opt/local/include/VG/vgext.h
/opt/local/include/VG/vgplatform.h
/opt/local/include/VG/vgu.h
/opt/local/lib/libGL.1.dylib
/opt/local/lib/libGL.dylib
/opt/local/lib/libGLU.1.dylib
/opt/local/lib/libGLU.dylib
/opt/local/lib/libOSMesa.8.dylib
/opt/local/lib/libOSMesa.dylib
/opt/local/lib/libOpenVG.1.dylib
/opt/local/lib/libOpenVG.dylib
/opt/local/lib/pkgconfig/gl.pc
/opt/local/lib/pkgconfig/glu.pc
/opt/local/lib/pkgconfig/osmesa.pc
/opt/local/lib/pkgconfig/vg.pc
---
but not even this configurational change made it build on the CI system:
---
$ cat ~/scripts/config/build/ksudoku/kf5-qt5-darwin-mavericks.cfg
[DEFAULT]
configureExtraArgs=-DCMAKE_PREFIX_PATH=/opt/local
---
neither does this:
---
$ cat ~/scripts/config/build/ksudoku/darwin-mavericks.cfg
[DEFAULT]
configureExtraArgs=-I/opt/local/include -L/opt/local/lib
---
What else could I try?
Regards,
Marko
[1] http://build.kde.org/view/FAILED/job/ksudoku_master_qt5/
More information about the kde-mac
mailing list