Re: calendar problem when calling quantlib lib from java

Posted by Lingyun Shi on
URL: http://quantlib.414.s1.nabble.com/calendar-problem-when-calling-quantlib-lib-from-java-tp5595p5597.html

Hi, N.Jean:

I worked with Pierre these days to try to solve this issue.
Thanks for your suggestion "Setting the right library linking flag(boost_1_34_1) ". I added " -I/usr/local/include/boost-1_34_1 " option when build shared library, and it works!

Lingyun Shi

Nicola Jean wrote
I experienced a problem very similar to yours when I was trying to use
the swig wrapped version of QuantLib in Python. DayCounter() was
working but ActualActual(ActualActual::ISDA) completely froze my
python console, probably due to a memory leak. After few tries I
realized that in QuantLib-SWIG/setup.py I was including boost_1_34_1
but I was linking against an older version of boost.
Setting the right library linking flag(boost_1_34_1) solved my problem.
Hope this help.
N.Jean

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