Re: QuantLib-SWIG-0.3.11 cygwin compilation failure
Posted by Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/Problems-to-use-Quantlib-tp4598p4602.html
On 03/14/2006 03:18:54 PM, Jerry Ji wrote:
> Hum... sys.platform in Cygwin returns 'cygwin'. In fact, I have
> already updated my setup.py to have the compiler settings portion
> directed to the original 'win32' section (primarily because I had my
> QuantLib compiled in MS VC and don't think Cygwin gcc would be able
> to link .lib or .dll successfully) --
I see. But if you compiled QuantLib in VC++, you'll have to use the
same compiler for the Python extension as well---and use Python for
Windows, not the one coming with cygwin. Cygwin will try to use gcc, so
it will need a library compiled with gcc. You'll have to cd to the
QuantLib-SWIG/Python directory and run "python setup.py build" from a
DOS shell.
Luigi
----------------------------------------
A programming language is low-level when its programs require attention
to the irrelevant.
-- Alan Perlis