LFC <liufubu...@gmail.com> writes: > Dear All, > > Sorry to interrupt you by this way. > > When I tried to test the sample code GlInterop.py, I met a problem as below: > > ----------------------------------------------------------------------------------------------------------------------------------- > File "GlInterop.py", line 15, in <module> > import pycuda.gl as cuda_gl > File > "/usr/local/lib/python2.7/dist-packages/pycuda-2013.1.1-py2.7-linux-x86_64.egg/pycuda/gl/__init__.py", > > line 4, in <module> > raise ImportError("PyCUDA was compiled without GL extension support") > ImportError: PyCUDA was compiled without GL extension support > ----------------------------------------------------------------------------------------------------------------------------------- > > I tried to switch on the "CUDA_ENABLE_GL" in setup.py and re-compile pyCUDA. > > But, it doesn't work. My system is Ubuntu 12.04 and CUDA 6.0.
You need to rm -Rf build before you reinstall. Andreas
pgpAbpK6Pv3Ov.pgp
Description: PGP signature
_______________________________________________ PyCUDA mailing list PyCUDA@tiker.net http://lists.tiker.net/listinfo/pycuda