Vu Nguyen <futu...@...> writes: > I then removed the binary installation and try building pycuda from source > instead. > Following the guide on pycuda wiki, I created the siteconf.py file. > When I ran "python setup.py build", I get this error > > c:\pycuda-0.94rc\src\cpp\cuda.hpp(32) : > fatal error C1021: invalid preprocessor command 'warning' > error: command '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe"' > failed with exit status 2 > > Please enlighten me... > >
I modified cuda.hpp, removed all the #warning statements. I tried 'python setup.py build' again, it went through. But then the final link command return another error: LINK : fatal error LNK1104: cannot open file 'libboost_thread-vc90-mt-1_42.lib' error: command '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\link.exe"' failed with exit status 1104 I used BoostPro installer and all my dll and lib files have no 'lib' prefix. Is there anyway that I can force setup.py to link boost_thread_... instead of libboost_...? Thanks in advance, -VN _______________________________________________ PyCUDA mailing list PyCUDA@tiker.net http://lists.tiker.net/listinfo/pycuda