Helllo guys So far I am using QuantLib in C++ and everything works fine. On the other side with SWIG, I face some problems. When I try to build the "NQuantLibc", it fails with the error: Error 1 error LNK1104: cannot open file 'QuantLib-vc90-mt-gd-0_9_9.lib' G:\The QuantLib\QuantLib-SWIG-1.0\CSharp\cpp\LINK NQuantLibc The Quantlib 0.9.9 file that I am using is called "QuantLib-vc90-mt-sgd-0_9_9.lib". How can I make the project look for the correct .lib file (sgd instead of gd)? P.S: I went here to download QuantLib-SWIG-1.1, but the GNU tarball that I downloaded did not have the "*.cs" files required for the project. I would like to use ZeroCouponInflationSwaps, which are only included in the newest version Any help would be highly useful On 10/03/2011 16:01, Pavel wrote: Dear Luigi, ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Hi Theologis,
Just make sure that you are building the same version of the C++ and NQuantlibC project ie. both need to be the same build. I think the options available are Debug (static runtime) , Debug, Release and Release (Static Runtime). Just make sure both projects are the same.
The cs files are generated when you run the swig.cmd file from the QuantLib-SWIG\CSharp folder
On 12 March 2011 02:20, Theologis Chapsalis <[hidden email]> wrote:
-- Ahmad Mahomed ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Thank you very much Ahmad!
I will give it a try to see if it works. Theo On 14/03/2011 09:52, Ahmad Mahomed wrote: Hi Theologis, ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Free forum by Nabble | Edit this page |