Finally, all works now... Just summarise the tip here: If your build system have gcc and msvc(say, 2010), you must be careful about the building system.
You can use BOOST_COMPILER = 'msvc' in siteconf.py, but sometimes fail. At that time, maybe you can try "python setup.py build -c msvc" cheers! Great software~ Great Andreas Klöckner ;-) On Wed, May 8, 2013 at 9:04 PM, HaveF <[email protected]> wrote: > Use the command: > > python setup.py build -c msvc > > ...the build system finally use vs...(very strange behavior) > > Building.... > > > > > On Wed, May 8, 2013 at 8:57 PM, HaveF <[email protected]> wrote: > >> Sorry to bother again... >> I still can't solve the problem... >> I remember(a month before) I used >> >> set VS90COMNTOOLS=%VS100COMNTOOLS% >> >> and then >> python setup.py build >> all things would be done... >> >> But today I can't find the way to out... >> >> In the cmd of VS2010, I see the bin path of VS2010 is on the top...like: >> Path=C:\Prog\vs2010\VC\BIN\amd64;... >> But the build system want gcc always...;-( >> log: >> ... >> running build_ext >> building '_driver' extension >> ... >> C:\Anaconda\Scripts\gcc.bat -DMS_WIN64 -mdll -O -Wall >> -DBOOST_PYTHON_SOURCE.... >> ... >> >> >> >> >> On Wed, May 8, 2013 at 5:12 PM, HaveF <[email protected]> wrote: >> >>> Hi, all, >>> >>> I install Anaconda(with gcc) recently, and also have VS2010 before. >>> Today, when I build pycuda from VS2010 command line, using: >>> >>> python setup.py build >>> >>> from the cmd, I see some error related with gcc, >>> but I want to build pycuda with vs2010, I change the siteconf.py >>> >>> BOOST_COMPILER = 'msvc' >>> >>> but, the building process still use gcc... >>> >>> >>> >>> >>> -- >>> -- >>> Sincerely, >>> >>> HaveF >>> >> >> >> >> -- >> -- >> Sincerely, >> >> HaveF >> > > > > -- > -- > Sincerely, > > HaveF > -- -- Sincerely, HaveF
_______________________________________________ PyCUDA mailing list [email protected] http://lists.tiker.net/listinfo/pycuda
