Re: QUANTLIB BermudanSwaption debug error
Posted by
Luigi Ballabio on
May 20, 2016; 11:28am
URL: http://quantlib.414.s1.nabble.com/QUANTLIB-BermudanSwaption-debug-error-tp17440p17466.html
This seems more an Intellisense problem, or of some libraries getting out of sync. Did you manage to make it work since your last post?
Luigi
I open the BermudanSwaption project and built the solution successfully. Before that I have built quantlib library QuantLib-vc120-mt-gd.
But when I debug the BermudanSwaption by F11, I got an error.
"
1 IntelliSense: no instance of constructor "QuantLib::Constraint::Constraint" matches the argument list c:\Users\JASON\Desktop\work\QuantLib-1.7.1\ql\models\model.hpp 103 48 BermudanSwaption
"
I attach the error screen.
The reason I debug the BermudanSwaption is that I try to see how the HULL WHITE model formula and numerical calibration is applied and how the LevenbergMarquardt processes here.
--------------------------------------------
On Wed, 4/27/16, Luigi Ballabio <[hidden email]> wrote:
Subject: Re: [Quantlib-users] QUANTLIB INSTALLATION ISSUE LINK : fatal error LNK1104: cannot open file 'QuantLib-vc100-mt.lib'.
To: "Howard Zhang" <[hidden email]>, "QuantLib users" <[hidden email]>
Date: Wednesday, April 27, 2016, 12:42 PM
You're
trying to start the library itself, not the program. Set the
example you want to run as the startup project, or whatever
it's called.
On 17:51,
Wed, Apr 27, 2016 Howard Zhang <[hidden email]>
wrote:
It builds all examples and quantlib successfully after I
reinstall the windows 7 and the visual studio 2013. The
quantlib libraries are built successfully into the
quanlib1.7\lib folder .
Now I try to debug one of the examples, bermudaswaption by
F5. I got the message " can not start program
\quanlib-1.7.1\.\lib\quantlib-vc120-mt-gd.lib
". Actually the quantlib-vc120-mt-gd.lib is built into
\quanlib-1.7.1\lib\. It seems that it does not
get the right directory name.
How can I solve it?
--------------------------------------------
On Tue, 4/26/16, Luigi Ballabio <[hidden email]>
wrote:
Subject: Re: [Quantlib-users] QUANTLIB INSTALLATION ISSUE
LINK : fatal error LNK1104: cannot open file
'QuantLib-vc100-mt.lib'.
To: [hidden email],
"QuantLib users" <[hidden email]>
Date: Tuesday, April 26, 2016, 4:08 AM
Are
you sure you created the vc110 lib with the Visual
Studio
2010 compiler? Does it work if you just rename
it?
Luigi
P.S. Please keep the mailing list in
cc as this might be useful to others.
On Mon, Apr 25,
2016 at 11:32 PM <[hidden email]>
wrote:
Visual studio 2010
with boost 1_60_0 and quantlib 1.7.1. Thanks!
--
Sent from myMail app for Android
Monday, 25 April 2016, 03:07PM -05:00 from Luigi
Ballabio
<[hidden email]>:
What version of Visual
Studio are you
using?
Luigi
On Mon, Apr 25, 2016 at 6:51 PM Howard Zhang
<[hidden email]>
wrote:
The build of the quantlib lib is successful and the
file
\QuantLib....\lib\QuantLib--vc110-mt.lib is
created .
Then I try to build bermudaswaption and got error
LINK : fatal error LNK1104: cannot open file
'QuantLib-vc100-mt.lib'.
It seems that the created library is for VC 11
(vc110-mt.lib
)and then VC 10 library('QuantLib-vc100-mt.lib')
is
searched to link. How can I solve it? Thanks a lot!
------------------------------------------------------------------------------
Find and fix application performance issues faster with
Applications Manager
Applications Manager provides deep performance insights
into
multiple tiers of
your business applications. It resolves application
problems
quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users