Re: QuantLib Python Bindings - Windows

Posted by Bojan Nikolic on
URL: http://quantlib.414.s1.nabble.com/QuantLib-Python-Bindings-Windows-tp1064p1074.html


Luigi Ballabio <[hidden email]> writes:

>> building 'QuantLib._QuantLib' extension
>> C:\Python26\Scripts\gcc.exe
>
> I think Python 2.6 looks for VC++2008.  From the above, it looks like it
> doesn't find it, ignores VC++2010, and tries gcc.  I guess you'll have
> to stick with VC++2008...

Publicly distributed Python 2.6 was built with VC++2008.  Although you
might get away with it, it is best to build extensions with same
compiler version that was used to build Python itself, and distutils
indeed looks for the version of VC that the Python it finds was built
with.

A possible alternative to downgrading to VC++2008 is to recompile Python
itself using your VC++2010. I believe that would solve your problem, but
have not tried it myself...


--
Bojan Nikolic          ||          http://www.bnikolic.co.uk/ql/

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users