Having build problems.

Posted by liam_herron on
URL: http://quantlib.414.s1.nabble.com/Having-build-problems-tp2024.html

I checked the code out 10 days ago and built it and it worked
fine.  Just recently, I updated the code base and I am getting
the following error:

/bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../../ql
-I../.. -I../..    -g -O3 -pedantic -Wall -c compoundforward.cpp
rm -f .libs/compoundforward.lo
c++ -DHAVE_CONFIG_H -I. -I. -I../../ql -I../.. -I../.. -g -O3 -pedantic
-Wall -Wp,-MD,.deps/compoundforward.pp -c compoundforward.cpp  -fPIC -DPIC
compoundforward.cpp: In method `void
QuantLib::TermStructures::CompoundForward::bootstrap () const':
compoundforward.cpp:150: no matching function for call to `vector<Rate,
allocator<Rate> >::at (Size &)'
compoundforward.cpp:151: no matching function for call to
`vector<QuantLib::Date, allocator<QuantLib::Date> >::at (Size &)'
compoundforward.cpp:152: no matching function for call to
`vector<QuantLib::Date, allocator<QuantLib::Date> >::at (unsigned int)'
compoundforward.cpp:157: no matching function for call to `vector<Rate,
allocator<Rate> >::at (Size &)'
compoundforward.cpp:158: no matching function for call to
`vector<QuantLib::Date, allocator<QuantLib::Date> >::at (Size &)'
compoundforward.cpp:163: no matching function for call to
`vector<QuantLib::Date, allocator<QuantLib::Date> >::at (size_t)'
compoundforward.cpp:164: no matching function for call to
`vector<QuantLib::Date, allocator<QuantLib::Date> >::at (unsigned int)'
compoundforward.cpp:144: warning: `double prev' might be used
uninitialized in this function
compoundforward.cpp: In method `void
QuantLib::TermStructures::CompoundForward::validateInputs () const':
compoundforward.cpp:186: no matching function for call to
`vector<QuantLib::Date, allocator<QuantLib::Date> >::at (Size &)'
make[3]: *** [compoundforward.lo] Error 1
make[3]: Leaving directory
`/home/herronli/QuantLib/QuantLib/ql/TermStructures'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/herronli/QuantLib/QuantLib/ql'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/home/herronli/QuantLib/QuantLib/ql'
make: *** [all-recursive] Error 1


Any ideas?

Liam Herron

_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.com