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 <lists(a)informa.tiker.net
"Keith R. Brafford" <keith.brafford(a)gmail.com>
> 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