Hi all, I had troubles building a recent git version (2011.1beta3) of pyopencl on Mac OS X 10.6.7 (Macbook Pro), Python 2.7.1 from python.org. Compiling wrap_mempool.cpp gave a couple of errors like:
/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/bits/localefwd.h:58:34: error: macro "isspace" passed 2 arguments, but takes just 1 There seem to be OS X specific macro redefinitions in Python.h (more precisely: pyport.h) of 2.7 that trigger these errors. As a workaround I found that after adding #include "Python.h" at the very beginning of wrap_mempool.cpp everything compiles fine. Perhaps there are better ways to fix this problems (rearrange order or includes), I didn't try. With this I am now able to use GL interoperability on my Mac, thank you guys! Gregor Thalhammer _______________________________________________ PyOpenCL mailing list [email protected] http://lists.tiker.net/listinfo/pyopencl
