It builds and seems to work (at ~1000 fps) using msvc9 with the code changes I mentioned before.

The "vcvarsall" error indicates that you don't have the correct version of Visual Studio installed. Instead of Visual Studio 2008 Pro, the default compiler for Python 2.6-3.2, you can try to use the "Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1" as described at <http://wiki.cython.org/64BitCythonExtensionsOnWindows>

Christoph


On 12/16/2011 7:37 AM, Gary Daniels wrote:

I was hoping someone that got it to compile with VC would post the changes needed to make it work. I get error messages about compiler-specific files missing, like "vcvarsall" I think it was. I don't use VC and gave up trying to figure it out since it works fine with gcc.

On Thu, Dec 15, 2011 at 4:03 PM, Ryexander <[email protected] <mailto:[email protected]>> wrote:

    the setup.py file uses paths specifically for lynix systems. I can set
    the paths to find my local files properly but it's a pain. you may
    want to fix that.

    On Dec 14, 4:46 pm, Gary Daniels <[email protected]
    <mailto:[email protected]>> wrote:
    > Did you get it to compile and work under Windows with vc?
    >
    > I tried to build it with vc but get error messages about files
    missing and
    > I ran out of patience tracking them down.
    >
    > It works fine for me using MinGW and gcc.
    >
    > On Mon, Dec 12, 2011 at 11:18 AM, Christoph Gohlke
    <[email protected] <mailto:[email protected]>>wrote:
    >
    >
    >
    >
    >
    >
    >
    > > 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]
    <mailto:[email protected]>>  wrote:
    >
    > >>> On Mon, Dec 12, 2011 at 3:56 AM, anatoly
    techtonik<[email protected] <mailto:[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] <mailto:[email protected]>.
    > > To unsubscribe from this group, send email to
    pyglet-users+unsubscribe@**
    > > googlegroups.com <http://googlegroups.com>
    <pyglet-users%[email protected]
    <mailto:pyglet-users%[email protected]>>.
    > > For more options, visit this group
    athttp://groups.google.com/** <http://groups.google.com/**>
    > >
    group/pyglet-users?hl=en<http://groups.google.com/group/pyglet-users?hl=en>
    > > .

    --
    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]
    <mailto:[email protected]>.
    To unsubscribe from this group, send email to
    [email protected]
    <mailto:pyglet-users%[email protected]>.
    For more options, visit this group at
    http://groups.google.com/group/pyglet-users?hl=en.


--
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.

--
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