Hi,
I'm trying to build Quantlib SWIG for python, but i face the following issue (i tried to find an answer to my problem in the forum but i did not find any close solution). I have checkouted Quantlib 1.7 with Git, built it with Visual Express 2008. Then i specified the LIB, QL_DIR and INCLUDE envir variables. now i use the python setup.py wrap command, but i get an error 'swig' is not recognized as an internal or external command. FYI, i use Anaconda 2.7 32bit. What am i missing? Thanks Michel |
On Wed, Nov 4, 2015 at 9:53 AM Michel <[hidden email]> wrote: Hi, -- <http://leanpub.com/implementingquantlib> ------------------------------------------------------------------------------ _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
Hi Luigi,
Thanks. I figured out that i could build the python bindings without SWIG. I don't have the issue anymore after having installed the prebuilt SWIG binaries found here: http://www.swig.org/download.html BR Michel |
Glad it helped. Just to explain: you can build the bindings without SWIG if you start from a QuantLib-SWIG release, because we generate the wrappers ourselves and include them in the archive. If you check out the sources from the git repo, then the wrappers are not included and you need SWIG. Luigi On Thu, Nov 5, 2015 at 10:29 AM Michel <[hidden email]> wrote: Hi Luigi, -- <http://leanpub.com/implementingquantlib> ------------------------------------------------------------------------------ _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
Free forum by Nabble | Edit this page |