Re: BasisPointValue and ZSpread methods do not exist for JAVA

Posted by Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/BasisPointValue-and-ZSpread-methods-do-not-exist-for-JAVA-tp14052p14059.html

It seems like the jar is updated, but the shared library containing
the C++ wrapper code is not. When you run

make -C Java

after modifying cashflows.i, you should see first swig being run, and
then the wrappers being compiled (this last step will take quite a
while). Do you see it? Also, is it possible that you're picking up an
old version of libQuantLibJNI.so instead of the one you just compiled?

Luigi

On Wed, Feb 20, 2013 at 11:17 AM, sergvil <[hidden email]> wrote:

> Hello Luigi,
>
> I'm working on linux and I'm following instructions from this link to build
> SWIG. The article has been written by Tito Ingargiola, who belongs to this
> mailing list.
>
> http://puppetmastertrading.com/blog/2008/06/14/using-quantlib-from-java/
> <http://puppetmastertrading.com/blog/2008/06/14/using-quantlib-from-java/>
>
> First, I modify cashflows.i, adding the code I need. Then I only execute the
> instructions described on "Building Quantlib-SWIG" section (I think that
> QuantLib is not necessary because I had built it one time at the beginning,
> is it?).
>
> On Eclipse I can put the method on code with no errors (so it seems that
> methods are correctly added to QuantLib.jar). But on execution time eclipse
> shows the error I wrote on my last reply.
>
> Thank you very much.
>
>
>
>
>
> --
> View this message in context: http://quantlib.10058.n7.nabble.com/BasisPointValue-and-ZSpread-methods-do-not-exist-for-JAVA-tp14052p14058.html
> Sent from the quantlib-users mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> QuantLib-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-users

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users