Posted by
Billy Ng-5 on
URL: http://quantlib.414.s1.nabble.com/QuantLib-Users-IborIndex-Fixings-vs-Bloomberg-Fixings-tp5632p5648.html
Hi,
Any document about what functions are ported/accessible from Java via SWIG?
How to add in extra functions using the *.i files, I believe?
Couple more problems in compiling and executing the examples under Windows.
1. Rename the QuantLib.dll to QuantLibJNI.dll
2. Specify where to find it by
java -cp %CLASSPATH% -Djava.library.path=%QuantLibJNI% examples.EquityOptions
Billy
-----Original Message-----
From: Billy Ng [mailto:
[hidden email]]
Sent: Saturday, April 07, 2012 1:29 PM
To:
[hidden email]
Subject: Re: [Quantlib-users] SWIG Java
Finally I have completed the SWIG for Java under Windows and MS Visual Studio 2008 based on Francis Duffy's email dated 2011-06-28
http://sourceforge.net/mailarchive/message.php?msg_id=27720498A few problems encountered which may be useful to put it down for others reference
1. The *.i SWIG interface files for Java under Windows is in the SVN under QuantLib-SWIG\SWIG.
2. It is better to download QuantLib again to make sure having the same version
e.g. the SVN QL_HEX_VERSION is 0x010300f0, whereas the Website QuantLib 1.2 QL_HEX_VERSION is 0x010200f0
3. In creating the quantlib_wrap project in VS: Win32 Application Wizard->Next ->Console application -> DLL-> Finish. You CANNOT uncheck "precompiled
headers", instead check "Empty Project"
4. In building the quantlib_wrap project, it creates another QuantLib.lib(much smaller in size) along with QuantLib.dll, it may override the same lib for the QuantLib project and giving an error "Cannot find or open QuantLib.lib"
Hope that may smooth your next installation
Billy
-----Original Message-----
From: Billy Ng [mailto:
[hidden email]]
Sent: Wednesday, April 04, 2012 11:23 AM
To:
[hidden email]
Subject: [Quantlib-users] SWIG Java
Hi,
I am going to implement a Pricer for a Java based Trading System using QuantLib.
How to build the *.i SWIG interface files for Java under Windows? Are those generic files for any C++ - Java interface or it is specific for QuantLib and needed to be generated per installation?
I have searched in the Mailing List and follow the email on Quantlib Java Module on Windows.... sent from Francis Duffy dated 2011-06-28
Many Thanks
Billy
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users