On Mittwoch 27 Januar 2010, Robert Pickel wrote:
After attempting to go through the process of building with mingw32 on
win7, I discovered the include file features.h is missing.
FWIW, I managed to get PyCUDA built for Python 2.6 on Win7 64 bit using
the (free) MSVS2008 Express following the instructions on the following
page:
http://ryan.bergstrom.ca/2009/07/pycuda-on-windows-x64.html
I got this to work, but a couple of tiny modifications:
* Download the 32 bit versions of all the CUDA stuff, except the driver
which you can only install the 64 bit version of
* You need to create some environment variables at the end. First of
all, put the Boost DLL files on the path, then the CUDA\bin path, then
all of the MS VS 2008 Express files - to get these you can run the VS
command line, write "set path" and copy all the visual studio related
bits (see below). Here are all the things I had to add to my PATH env var:
D:\Programming\boost_1_40_0\stage\lib;D:\CUDA\bin;C:\Program Files
(x86)\Microsoft Visual Studio 9.0\Common7\IDE;C:\Program Files
(x86)\Microsoft Visual Studio 9.0\VC\BIN;C:\Program Files
(x86)\Microsoft Visual Studio
9.0\Common7\Tools;C:\Windows\Microsoft.NET\Framework\v3.5;C:\Windows\Microsoft.NET\Framework\v2.0.50727;C:\Program
Files (x86)\Microsoft Visual Studio 9.0\VC\VCPackages;C:\Program
Files\Microsoft SDKs\Windows\v6.0A\bin
* Finally, you need to create a HOME variable that points to your home
directory, probably C:\Users\Your name.
* One last step, if you're me you have a space in your username. Oops.
If so, you'll need to create a new variable USERNAME which has the 8
letter version of your username, in my case "Dan Goodman" becomes
DanGoo~1. This change makes PyCuda work and doesn't seem to break
anything else.
Dan
_______________________________________________
PyCUDA mailing list
[email protected]
http://tiker.net/mailman/listinfo/pycuda_tiker.net