[PyOpenCL] OpenGL interop on Mac OS X patch
Andreas Kloeckner
lists at informa.tiker.net
Thu Feb 24 20:01:22 PST 2011
On Fri, 25 Feb 2011 00:35:14 +0000 (UTC), Keith Brafford <keith.brafford at gmail.com> wrote:
> Andreas Kloeckner <lists at ...> writes:
>
>
> > Ok, I didn't understand that bit. Turns out that cl_ext.h was never
> > included on Apple. I've made another attempt to fix this--can you please
> > try again?
>
> Not quite there yet:
>
> /Developer/SDKs/MacOSX10.6.sdk/usr/include/AvailabilityMacros.h:108:14: warning:
> #warning Building for Intel with Mac OS X Deployment Target < 10.4 is invalid.
> /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/OpenCL.framework
> /Headers/cl_gl_ext.h:53:
> error: ‘cl_gl_platform_info’ has not been declared
> /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/OpenCL.framework
> /Headers/cl_gl_ext.h:53:
> error: ‘cl_gl_platform_info’ has not been declared
> src/wrapper/wrap_cl.hpp: In function ‘cl_context_properties
> pyopencl::get_apple_cgl_share_group()’:
> src/wrapper/wrap_cl.hpp:2803: error: ‘CGLShareGroupObj’ was not declared in this
> scope
> src/wrapper/wrap_cl.hpp:2803: error: expected `;' before ‘kCGLShareGroup’
> src/wrapper/wrap_cl.hpp:2805: error: ‘kCGLShareGroup’ was not declared in this
> scope
> src/wrapper/wrap_cl.hpp: In function ‘cl_context_properties
> pyopencl::get_apple_cgl_share_group()’:
> src/wrapper/wrap_cl.hpp:2803: error: ‘CGLShareGroupObj’ was not declared in this
> scope
> src/wrapper/wrap_cl.hpp:2803: error: expected `;' before ‘kCGLShareGroup’
> src/wrapper/wrap_cl.hpp:2805: error: ‘kCGLShareGroup’ was not declared in this
> scope
> lipo: can't figure out the architecture type of:
> /var/folders/94/94UbZElmF2ORu76IVjMg8U+++TI/-Tmp-//ccihIgwQ.out
> error: command 'gcc-4.0' failed with exit status 1
> make: *** [all] Error 1
I made another attempt--thanks for your patience!
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.tiker.net/pipermail/pyopencl/attachments/20110224/228476c1/attachment.pgp>
More information about the PyOpenCL
mailing list