64-bit support?

42 views
Skip to first unread message

iisdev

unread,
Apr 17, 2012, 7:26:18 AM4/17/12
to Rabbyt
Is Rabbyt compatible with the 64-bit version of Python 2.7?

Matthew Marshall

unread,
Apr 17, 2012, 3:10:09 PM4/17/12
to rab...@googlegroups.com
Sure it works :-) I've just uploaded a binary distribution so you don't have to compile it yourself.

MWM

iisdev

unread,
Apr 18, 2012, 9:17:32 AM4/18/12
to Rabbyt
> Sure it works :-) I've just uploaded a binary distribution so you don't
> have to compile it yourself.

I'm sorry - I didn't provide enough information. I'm running the 64-
bit version of Python 2.7 on Windows 7 (64-bit), not Linux.

A lot of the installers on the PyPI pages aren't correctly identifying
the version of Python installed on 64-bit Windows (and therefore are
refusing to install correctly). It's a known issue but it looks like
no one is taking ownership of it. A lot of users have to resort to
manually copying registry entries. This isn't really a good solution
(imo). I did find some unofficial 64-bit builds for many extensions
here:

<http://www.lfd.uci.edu/~gohlke/pythonlibs/>

I didn't see one for Rabbyt though.. and I'm also wary of downloading
unofficial binaries..

I use PyCrypto and I found a great article that helped me build it
here:

<http://blog.victorjabur.com/2011/06/05/compiling-python-2-7-modules-
on-windows-32-and-64-using-msvc-2008-express/>

The resulting file (pycrypto-2.5.win-amd64-py2.7.exe) installs
correctly on a 64-bit version of both Windows 7 and Vista (I haven't
tried XPx64). It's easier to tell my users to install this as a pre-
requisite for my game then giving them a step by step list of
instructions on editing their registry.

What I'd like to do is build Rabbyt-0.8.3.win-amd64-py2.7.exe myself.
I downloaded the source through the bitbucket site here:

<https://bitbucket.org/mmarshall/rabbyt/>

it looks like it's missing some C source files. There was a source
archive on the PyPI page that (looks) like it has everything. Btw -
which site has the most up-to-date source - should I be using
bitbucket over PyPI or the other way around?

When I tried to compile Rabbyt from the PyPI source archive I received
a LOT of warnings about double to float conversions, unresolved
external symbols (opengl development headers which apparently I don't
have yet) and then it failed with exit status 1120.

After a good amount of time I found out that Pyglet isn't compatible
with the 64-bit version of Python. I thought I would ask about
Rabbyt's compatibility before investigating any further into getting a
working 64-bit installer.

Does anyone here have Rabbyt working on Windows 64-bit (XP/Visa/7)
with a 64-bit version of Python? (I already know that it works with
the 32-bit version of Python on those same Window's versions.)

Is there a specific version of the opengl headers that I need? (gl.h
and glu.h) (and where can I find them for Windows?) Are those the only
dependencies?

Thanks and I apologize ahead of time if this was long and wordy. :)

Matthew Marshall

unread,
Apr 18, 2012, 12:33:50 PM4/18/12
to rab...@googlegroups.com
I've never tried it on 64-bit windows, but it should work.

Most of the C files are generated with Pyrex. These generated files are included in the source release so that you can build it without installing pyrex. If you want to build from the repository you'll need in install pyrex to generate the files.

I've only used mingw to build rabbyt, so there might be something extra you need to do in msvc 2008 to link with the OpenGL libraries. (There are a few sparse notes on how I built the windows installers in the INSTALL file.)

MWM

On Tuesday, April 17, 2012 6:26:18 AM UTC-5, iisdev wrote:
Is Rabbyt compatible with the 64-bit version of Python 2.7?


On Tuesday, April 17, 2012 6:26:18 AM UTC-5, iisdev wrote:

iisdev

unread,
Apr 20, 2012, 8:44:16 AM4/20/12
to Rabbyt
> I've only used mingw to build rabbyt, so there might be something extra you
> need to do in msvc 2008 to link with the OpenGL libraries. (There are a few
> sparse notes on how I built the windows installers in the INSTALL file.)

I couldn't get it to build with MinGW-w64. On the off chance that it's
my environment... I'll set up a virtual machine later on to try it
again with a fresh install.

In the meantime.. the last packages (for Windows) on the PyPI page
were created in 2009. Would you mind updating them with the following:

- Rabbyt-0.8.3-py2.7-win32.egg
- Rabbyt-0.8.3.win32-py2.7.exe

Thanks!

Reply all
Reply to author
Forward
0 new messages