[MacPorts] #35148: gegl 0.2.0_0 Syntax error before 'AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER'
MacPorts
noreply at macports.org
Sat Aug 4 21:23:09 PDT 2012
#35148: gegl 0.2.0_0 Syntax error before
'AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER'
-----------------------------+----------------------------------------------
Reporter: jovo@… | Owner: snc@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.1
Keywords: tiger leopard | Port: gegl
-----------------------------+----------------------------------------------
Comment(by jeremyhu@…):
Replying to [comment:15 snc@…]:
> Thanks to mdbecque for trying out the suggested find/replace, but he
ends up with another error:
> {{{
> :info:build ../../gegl/opencl/cl_gl.h:37:30: error: OpenGL/CGLDevice.h:
No such file or directory
> }}}
/System/Library/Frameworks/OpenGL.framework/Headers/CGLDevice.h appeared
in Snow Leopard and contains:
{{{
#include <OpenGL/CGLTypes.h>
typedef struct CGLShareGroupRec *CGLShareGroup;
typedef struct CGLShareGroupRec *CGLShareGroupObj;
CGLShareGroupObj CGLGetShareGroup(CGLContextObj ctx);
}}}
Check if the code actually needs the ShareGroup declarations. If not, try
replacing the include with an include of <OpenGL/CGLTypes.h>
--
Ticket URL: <https://trac.macports.org/ticket/35148#comment:16>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list