|
I am having trouble compiling Java sources generated during
QuantLib-SWIG-0.3.13.zip default installation procedures.
Installation goes well all the way to the end, however the resulting
Java files have a number of calls to int.swigValue() similar to the
example below:
public void setValue(double arg0, int arg1) {
quantlibJNI.IntervalPrice_setValue(swigCPtr, arg0, arg1.swigValue());
}
Of course, it is not a valid Java construct.
In timeseries.i, you see
(...)
void setValues(Real, Real, Real, Real);
(...)
what generates a consistent code, and
(...)
void setValue(Real, IntervalPrice::Type);
(...)
what is giving trouble...
Changing all Interval::Type types to Real fixes the problem, but I am
pretty sure that may make the library unusable...
Any suggestions?
Thanks,
--jmfj.
|