Re: Building QuantLib for Python on Win XP

Posted by newbie73 on
URL: http://quantlib.414.s1.nabble.com/Building-QuantLib-for-Python-on-Win-XP-tp1356p1357.html

Just figured it out ... needed to use a \\ to avoid having an escape character used in the path string.

Thanks!

- Luis
newbie73 wrote
I have compiled (in release mode) the QuantLib .8.1 library.  Now I am trying to run the Python installation with: python setup.py install in the Swig/Python directory.  I have set QL_DIR = C:\QuantLib, although the actual built files are in c:\QuantLib\bin\Release

Python tries to load the boost libraries but is unable to find them and throws the error:

Cannot open include file: 'boost/config.hpp'

Shouldn't the setup.py script be using the pre-compiled binaries instead of rebuilding the libraries from source?

Should I set QL_DIR = C:\QuantLib\bin\Release, or am I doing something else incorrectly?