On 12/12/2011 7:35 AM, Alejandro Castellanos wrote:
I keep trying to build tileC with setup tools but it gives me an
error:


tileC.c:4:31: fatal error: numpy/arrayobject.h: No such file or
directory
compilation terminated


I do have numpy on my system, so I other than that I dunno what I'm
doing wrong; maybe the wrong command in setup tools?

On 12 dic, 07:12, Gary Daniels<[email protected]>  wrote:
On Mon, Dec 12, 2011 at 3:56 AM, anatoly techtonik<[email protected]>wrote:

It will be useful as an drop-in speedup extensions for pyglet. I don't
know if it will require inventing a new API in pyglet, though.
I haven't really tested it enough to submit it for anything official. I
posted it mainly as a working starting point for those who might need fast
scrolling. As a complete OpenGL newb, I had considerable trouble piecing
together the theories and suggestions on the mailing list and from Google
searches to get working code.

In setup.py, try `import numpy` and use

    library_dirs = ['/usr/local/lib', numpy.get_include()],

Using Visual C compiler, the OpenGL library is 'opengl32' and 'windows.h' needs to be included before 'GL/gl.h' (in tileC.c). MSVC doesn't know `0b00000001` constants; change them to decimal values.

Christoph

--
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en.

Reply via email to