[PyOpenCL] OpenGL interop on Mac OS X patch
Keith Brafford
keith.brafford at gmail.com
Thu Feb 24 16:35:14 PST 2011
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
More information about the PyOpenCL
mailing list