[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-frameworks-devel
Subject: Re: OSX/CI system: analitza build broken on branch frameworks
From: Nicolás_Alvarez <nicolas.alvarez () gmail ! com>
Date: 2014-07-10 17:13:59
Message-ID: CANPC-tvSVvHjqaw4k10-WfX9zn2mo-yfGqBVAfnXbJ=V+i_Fwg () mail ! gmail ! com
[Download RAW message or body]
2014-07-10 6:25 GMT-03:00 Aleix Pol <aleixpol@kde.org>:
> On Thu, Jul 10, 2014 at 6:48 AM, Marko Käning <mk-lists@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
_______________________________________________
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic