superquadratic / rtmidi-python

Python wrapper for RtMidi
MIT License
56 stars 2 forks source link

Ready-to-use version #11

Closed josephernest closed 10 years ago

josephernest commented 10 years ago

@superquadratic Guido, do you think it would be possible to provide a ready-to-use win64 version for python 2.7 ? I'm stuck with C compiling (I don't have Visual Studio etc.)...

EDIT: Now I have Visual C++ but I still get some errors. Do you think you could do a win64 installer ?

superquadratic commented 10 years ago

Unfortunately, I cannot provide an amd64 installer. Building one requires Visual Studio 2008 (not just the Express version) which I don't have. If anyone has VS 2008 (including the 64-bit compiler) and a 64-bit Python 2.7, creating the installer is a one-liner: python setup.py bdist_wininst

For what it's worth, I have created a 32-bit Windows Installer for Python 2.7 and uploaded it to PyPI. Maybe that is an option for you.

josephernest commented 10 years ago

Ok thanks for answer @superquadratic ! Why VS2008 Express is not enough, is there some specific material required?

I really need a 64bit installer ;) Do you have an idea who could help me to build one?

josephernest commented 10 years ago

@superquadratic I finally achieved to do it (Windows SDK 7.0 is enough, no need to install MSVC2008 Pro) : here is the installer : https://dl.dropboxusercontent.com/u/83031018/rtmidi-python-0.2.1.win-amd64-py2.7.exe

Do you want to host it on your website? It could be useful for lots of people. It also would be useful to host it here : http://www.lfd.uci.edu/~gohlke/pythonlibs/

Best regards

2014-02-04 Guido Lorenz notifications@github.com:

Unfortunately, I cannot provide an amd64 installer. Building one requires Visual Studio 2008 (not just the Express version) which I don't have. If anyone has VS 2008 (including the 64-bit compiler) and a 64-bit Python 2.7, creating the installer is a one-liner: python setup.py bdist_wininst

For what it's worth, I have created a 32-bit Windows Installer for Python 2.7 and uploaded it to PyPIhttps://pypi.python.org/pypi/rtmidi-python#downloads. Maybe that is an option for you.

Reply to this email directly or view it on GitHubhttps://github.com/superquadratic/rtmidi-python/issues/11#issuecomment-34111085 .

superquadratic commented 10 years ago

Nice! I just found out about the Windows SDK solution myself and uploaded a 64-bit installer to PyPI. :)

josephernest commented 10 years ago

Thank you very much ! I see we both have found the same solution :)

Not on the same topic, but close to it : I don't know if you use PyAudio (but http://people.csail.mit.edu/hubert/pyaudio/) but here is a more tricky problem : how to compile PyAudio for 2.7 x64 with ASIO support enabled ! A real nightmare !

2014-02-04 Guido Lorenz notifications@github.com:

Closed #11 https://github.com/superquadratic/rtmidi-python/issues/11.

Reply to this email directly or view it on GitHubhttps://github.com/superquadratic/rtmidi-python/issues/11 .