[PyOpenCL] OpenGL interop on Mac OS X patch
Andreas Kloeckner
lists at informa.tiker.net
Thu Feb 24 22:35:52 PST 2011
On Fri, 25 Feb 2011 01:13:24 -0500, "Keith R. Brafford" <keith.brafford at gmail.com> wrote:
> Not yet:
>
> src/wrapper/wrap_cl.hpp:2979: error: ‘cl_gl_context_info’ has not been
> declared
> src/wrapper/wrap_cl.hpp: In function ‘boost::python::api::object
> pyopencl::get_gl_context_info_khr(boost::python::api::object, int)’:
> src/wrapper/wrap_cl.hpp:2987: error: ‘cl_gl_context_info’ has not been
> declared
> src/wrapper/wrap_cl.hpp:2990: warning: ‘weak_import’ attribute ignored
> src/wrapper/wrap_cl.hpp:3005: error: ‘CL_CURRENT_DEVICE_FOR_GL_CONTEXT_KHR’
> was not declared in this scope
> src/wrapper/wrap_cl.hpp:3014: error: ‘CL_DEVICES_FOR_GL_CONTEXT_KHR’ was not
> declared in this scope
> src/wrapper/wrap_cl.hpp:2979: error: ‘cl_gl_context_info’ has not been
> declared
> src/wrapper/wrap_cl.hpp: In function ‘boost::python::api::object
> pyopencl::get_gl_context_info_khr(boost::python::api::object, int)’:
> src/wrapper/wrap_cl.hpp:2987: error: ‘cl_gl_context_info’ has not been
> declared
> src/wrapper/wrap_cl.hpp:2990: warning: ‘weak_import’ attribute ignored
> src/wrapper/wrap_cl.hpp:3005: error: ‘CL_CURRENT_DEVICE_FOR_GL_CONTEXT_KHR’
> was not declared in this scope
> src/wrapper/wrap_cl.hpp:3014: error: ‘CL_DEVICES_FOR_GL_CONTEXT_KHR’ was not
> declared in this scope
> lipo: can't figure out the architecture type of:
> /var/folders/94/94UbZElmF2ORu76IVjMg8U+++TI/-Tmp-//ccDcCQ8u.out
> error: command 'gcc-4.0' failed with exit status 1
> make: *** [all] Error 1
And another try. (Just in case you were wondering: I had to mess with
this code because it had stopped compiling in the case of no GL
sharing. Go figure.)
Thanks,
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/20110225/c6a64286/attachment.pgp>
More information about the PyOpenCL
mailing list