Re: PayoffInterpreter: specify new pay-offs and price them without code recompilation

Posted by Klaus Spanderen-2 on
URL: http://quantlib.414.s1.nabble.com/PayoffInterpreter-specify-new-pay-offs-and-price-them-without-code-recompilation-tp9776p9782.html

Hi

strange. Do you compile it (the whole project) as part of the quantlib? If you
want I'll send you me VS project.

On Monday 24 September 2007 11:34 am, HFQuant wrote:

> Hi,
>
> I am using VS 2005 professional edition and the last Quantlib version
> 0.8.1.
>
> So i changed  your include statements in the EquityOption.cpp file,
> basically including QuantLib.hpp and deleting the others.
>
>
> thks
>
> Klaus Spanderen-2 wrote:
> > On Thursday 20 September 2007 5:21 pm, HFQuant wrote:
> >> Hi,
> >>
> >> i tried to you your tool and running the example EquityOption.cpp. It
> >> compiles but crashes at run time.
> >> Did you have such a feedback before ? (0xC0000005: Access violation
> >> reading
> >> location 0x2183120a.)
> >>
> >> thanks
> >
> > arrg. No hadn't had this feedback before;-(. What operating system are
> > you using? On windows you might want to include the  payoff interpreter
> > project
> > into your quantlib project to avoid any parameter clashes.
> >
> > I checked the source code on Linux using g++-4.1 and on Windows with
> > Visual
> > Studio Express. On Linux the memory checker valgrind didn't report a
> > memery
> > leak or any access violation. I'm compiling against a recent QL version
> > from
> > the SVN head. I
> >
> > cheers
> >
> > --
> > Klaus Spanderen
> > Ludwig Erhard Str. 12
> > 48734 Reken (Germany)
> > E-Mail: [hidden email] (remove NOSPAM from the address)
> >
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2005.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > QuantLib-dev mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/quantlib-dev

--
Klaus Spanderen
Ludwig Erhard Str. 12
48734 Reken (Germany)
E-Mail: [hidden email] (remove NOSPAM from the address)


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev