Re: Simple Code

Posted by Fred Nastos on
URL: http://quantlib.414.s1.nabble.com/Simple-Code-tp4403p4405.html

Lorenzo,

Can you add the following line, near the top of the code, say right before
the first "boost::shared_ptr" definition:

        std::cout << QL_VERSION << std::endl

The output should correspond to the same version you mentioned, but it's
a simple check to make sure everything is consistent.

I am also running quantlib on linux, and have no problems.  You
could try compiling the library yourself.  It's quite straightforward.

Fred

On Tuesday 24 January 2006 10:46, L.Isella wrote:

> Hmm. Copying the code from your email and performing the same steps gives
> me: lballabio:~$ ./simple
> Black-Scholes value: 0.0823425
>
> However, I'm using the current CVS version. What QuantLib version are
> you using? I'll try to compile it and reproduce the problem, but it
> will take some time.
>
> Later,
>    Luigi
>
> Thanks for your efforts.
> It is weird indeed...
> I am on Ubuntu Linux and, as I told Dirk, I am using
> the QuantLib version
>
>  libquantlib0-dev version 0.3.9-6ubuntu3.
>
> Sometimes I have had troubles with other tested libraries for some
> "details" (e.g. some function/variable whose name is uppercase in the
> library and called lowercase in the code), but this does not seem the case.
> However, I would be curious to find out if anyone else on Ubuntu/Debian
> experiences the same trouble with that code. Cheers
>
> Lorenzo
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> <a href="http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642">http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
> _______________________________________________
> Quantlib-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-users