Wait...it was my fault! I forgot I had commented out the context
acquisition line and replaced it with my own before I realized I had a
wrongly compiled pyopencl:
#context = cl.Context(properties=[(cl.context_properties.PLATFORM,
platform)] + get_gl_sharing_context_properties())
context = cl.Context(properties=[(cl.context_properties.PLATFORM,
I returned it to its correct state and it works fine now.
Any idea why the pip thing doesn't do it for me though?
On Tue, Apr 29, 2014 at 10:24 PM, Keith R. Brafford <
I tried that, and no luck:
Then I did:
pip uninstall pyopencl
git clone http://git.tiker.net/trees/pyopencl.git
git submodule init
git submodule update
python configure.py --cl-enable-gl
python setup.py build
python setup.py install
And now I get this:
So...Yay! I can run gl_interop_demo.py and it works well, but when I try
to run the particle demo I get a "Segfault 11" error.
Segmentation fault: 11
with a "Python quit unexpectedly" message box popping up.
On Tue, Apr 29, 2014 at 10:00 PM, Andreas Kloeckner <
"Keith R. Brafford"
I am trying to use pip to install pyopencl on
OSX, but I can't get
pyopencl.have_gl() to return True.
How can I tell pip to compile the module such that I can get gl
Create a $HOME/.aksetup-defualts.py with one line:
CL_HAVE_GL = True
Then run the pip install. That should do it. If not, come back and yell