error compiling swap example

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

error compiling swap example

positronium Silano

Hello,

i was triyng to compile the  swapvaluation.cpp example on a SUN Solaris Server by using  a SUN compiler with the following parameters:

 CC -DHAVE_CONFIG_H -I. -I../../ql   -I../.. -I../.. -library=stlport4 -I/summit-homedir/tengi09/DO10/iccrea_V5.4.0/src/app/boost_1_46_1/installation/prefix/include  -g -c -o swapvaluation.o swapvaluation.cpp

The compilation failed with the following errors:

"../../ql/termstructures/yield/piecewiseyieldcurve.hpp", line 189: Error: A class template name was expected instead of QuantLib::Bootstrap<QuantLib::Curve>.
"swapvaluation.cpp", line 314:     Where: While specializing "QuantLib::PiecewiseYieldCurve<QuantLib::Discount, QuantLib::LogLinear, QuantLib::IterativeBootstrap<QuantLib::Curve>>".

I succesfully installed Boost 1.46.1 and Quantlib 1.1 and we got the same error triyng to compile other examples including the PiecewiseYieldCurve class.

Thanks in advance for your help





------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users