Re: SWIG(java) UnsatisfiedLinkError
Posted by
静涛 王 on
Apr 17, 2013; 3:18am
URL: http://quantlib.414.s1.nabble.com/SWIG-java-UnsatisfiedLinkError-tp13957p14217.html
Hi.
Finally I have completed the SWIG for Java under Windows and MS Visual Studio 2010 based on Francis Duffy's email.
the UnsatisfiedLinkError is the methord doesn't exist in the quantlibJNL.dll file.
thanks
jingtao wang
From:
[hidden email]To:
[hidden email];
[hidden email]CC:
[hidden email]Subject: RE: [Quantlib-users] SWIG(java) UnsatisfiedLinkError
Date: Fri, 12 Apr 2013 19:19:08 +0800
Hi.
The methord's name In the QuantLibJNL.dll file like :
===========================================
Java_org_quantlib_QuantLibJNI_SWIGTARGETUpcast
===========================================
but the QuantlibJNL.class in the QuantLib.jar is:
===========================================
public static final native long TARGET_SWIGUpcast(long paramLong);
===========================================
This is the reason?
if it is.
How can resolve it?
thanks
jingtao wang
From:
[hidden email]To:
[hidden email];
[hidden email]CC:
[hidden email]Subject: RE: [Quantlib-users] SWIG(java) UnsatisfiedLinkError
Date: Fri, 1 Feb 2013 14:03:41 +0800
thanks.
I'll try. If i can resolved the error.
I'll report it.
jingtao wang
> Date: Wed, 30 Jan 2013 11:25:23 +0100
> Subject: Re: [Quantlib-users] SWIG(java) UnsatisfiedLinkError
> From:
[hidden email]> To:
[hidden email]> CC:
[hidden email];
[hidden email]>
> Right. For instance, does your project for the C++ library include
> <ql/time/calendars/brazil.cpp>?
>
> Luigi
>
> On Wed, Jan 30, 2013 at 11:11 AM, Bojan Nikolic <
[hidden email]> wrote:
> >
> > One thing to check is that all of the dependencies of the JNI dll can be
> > satisfied -- best to use the "windows dependency walker" for this.
> >
> > Best,
> > Bojan
> >
> > --
> > Bojan Nikolic || http://www.bnikolic.co.uk
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users