OSX/CI system: analitza build broken on branch frameworks

Nicolás Alvarez nicolas.alvarez at gmail.com
Thu Jul 10 17:13:59 UTC 2014


2014-07-10 6:25 GMT-03:00 Aleix Pol <aleixpol at kde.org>:
> On Thu, Jul 10, 2014 at 6:48 AM, Marko Käning <mk-lists at email.de> wrote:
>>
>> Thanks, now it there is more progress, but there’s s till a build failure
>> later on. See below.
>>
>> Greets,
>> Marko
>>
>>
>> ———
>>
>>
>>
>>  80%] Building CXX object
>> analitzaplot/CMakeFiles/AnalitzaPlot.dir/plotter3d.cpp.o
>> [ 81%] Building CXX object
>> analitzaplot/CMakeFiles/AnalitzaPlot.dir/AnalitzaPlot_automoc.cpp.o
>> /Users/marko/WC/KDECI-builds/analitza/analitzaplot/plotter3d.cpp:30:10:
>> fatal error: 'GL/gl.h' file not found
>> #include <GL/gl.h>
>>          ^
>>
>
> Do you know how we can ensure that GL/gl.h is available on mac? It used to
> work, at least...

"Apparently someone at Apple thought that it was a fantastic idea for
the header to be in a different place to every other platform in
existence." -- https://lists.apple.com/archives/mac-games-dev/2007/Jun/msg00030.html

You need:
#ifdef __APPLE__
#include <OpenGL/gl.h>
#else
#include <GL/gl.h>
#endif

-- 
Nicolás


More information about the Kde-frameworks-devel mailing list