Error building Guile bindings

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Error building Guile bindings

rickythesk8r
I have Quantlib 0.3.14 installed in Gentoo Linux 2.6.19-gentoo-r2.
Working with the SWIG interface to Guile obtained via cvs, and having
completed the step

quile -s setup.scm wrap
--> swig -guile -c++ -Linkage passive -scmstub -gh -I../SWIG -o
quantlib_wrap.cpp quantlib.i
[no further output]

I proceeded to

guile -s setup.scm build
--> g++ -DHAVE_CONFIG_H -c -fpic -I/usr/include -I/usr/local/include -g
-O2 quantlib_wrap.cpp

The first error message that emerged was

quantlib_wrap.cpp:1601:6: error: #error using an old version of
QuantLib, please update

Thereafter the errors ("no matching function call for ....") came
cascading out.

Have I done something wrong? I don't really believe I am using "an old
version" of Quantlib.

Thanks in advance for your help.