Hello,
I tried to compile QuantLibAddin-0.3.13 and following errors below were generated. My OS is Linux 2.6.14-1.1656_FC4smp #1 SMP The version of Quantlib is 0.3.13 and the boost version is 1.32 Thank you in advance for your attention. [tsingh@zurich ~]$ cd QuantLibAddin-0.3.13 [tsingh@zurich QuantLibAddin-0.3.13]$ ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for a BSD-compatible install... /usr/bin/install -c checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C preprocessor... gcc -E checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... g++ -E checking for g77... g77 checking whether we are using the GNU Fortran 77 compiler... yes checking whether g77 accepts -g... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for g77 option to produce PIC... -fPIC checking if g77 PIC flag -fPIC works... yes checking if g77 static flag -static works... yes checking if g77 supports -c -o file.o... yes checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for doxygen... /usr/bin/doxygen checking for sed... /bin/sed configure: creating ./config.status config.status: creating Addins/Calc/Makefile config.status: creating Addins/C/Makefile config.status: creating Addins/Guile/Makefile config.status: creating Clients/Calc/Makefile config.status: creating Clients/C/Makefile config.status: creating Clients/C++/Makefile config.status: creating Clients/Guile/Makefile config.status: creating Docs/Makefile config.status: creating gensrc/Makefile config.status: creating Makefile config.status: creating qlo/Makefile config.status: creating qlo/config.hpp config.status: qlo/config.hpp is unchanged config.status: executing depfiles commands [tsingh@zurich QuantLibAddin-0.3.13]$ make Making all in gensrc make[1]: Entering directory `/home/tsingh/QuantLibAddin-0.3.13/gensrc' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/tsingh/QuantLibAddin-0.3.13/gensrc' Making all in qlo make[1]: Entering directory `/home/tsingh/QuantLibAddin-0.3.13/qlo' make all-am make[2]: Entering directory `/home/tsingh/QuantLibAddin-0.3.13/qlo' if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -g -O2 -Wall -MT asianoption.lo -MD -MP -MF ".deps/asianoption.Tpo" -c -o asianoption.lo asianoption.cpp; \ then mv -f ".deps/asianoption.Tpo" ".deps/asianoption.Plo"; else rm -f ".deps/asianoption.Tpo"; exit 1; fi mkdir .libs g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -g -O2 -Wall -MT asianoption.lo -MD -MP -MF .deps/asianoption.Tpo -c asianoption.cpp -fPIC -DPIC -o .libs/asianoption.o ../qlo/baseinstruments.hpp:29: error: expected template-name before '<' token ../qlo/baseinstruments.hpp:29: error: expected `{' before '<' token ../qlo/baseinstruments.hpp:29: error: expected unqualified-id before '<' token ../qlo/baseinstruments.hpp:32: error: invalid use of undefined type 'class QuantLibAddin::Instrument' ../qlo/baseinstruments.hpp:29: error: forward declaration of 'class QuantLibAddin::Instrument' ../qlo/volatilities.hpp:27: error: expected template-name before '<' token ../qlo/volatilities.hpp:27: error: expected `{' before '<' token ../qlo/volatilities.hpp:27: error: expected unqualified-id before '<' token ../qlo/volatilities.hpp:30: error: invalid use of undefined type 'class QuantLibAddin::BlackVolTermStructure' ../qlo/volatilities.hpp:27: error: forward declaration of 'class QuantLibAddin::BlackVolTermStructure' ../qlo/volatilities.hpp:38: error: invalid use of undefined type 'class QuantLibAddin::BlackVolTermStructure' ../qlo/volatilities.hpp:27: error: forward declaration of 'class QuantLibAddin::BlackVolTermStructure' ../qlo/processes.hpp:27: error: expected template-name before '<' token ../qlo/processes.hpp:27: error: expected `{' before '<' token ../qlo/processes.hpp:27: error: expected unqualified-id before '<' token ../qlo/exercise.hpp:26: error: expected template-name before '<' token ../qlo/exercise.hpp:26: error: expected `{' before '<' token ../qlo/exercise.hpp:26: error: expected unqualified-id before '<' token ../qlo/exercise.hpp:29: error: invalid use of undefined type 'class QuantLibAddin::Exercise' ../qlo/exercise.hpp:26: error: forward declaration of 'class QuantLibAddin::Exercise' ../qlo/exercise.hpp:37: error: invalid use of undefined type 'class QuantLibAddin::Exercise' ../qlo/exercise.hpp:26: error: forward declaration of 'class QuantLibAddin::Exercise' ../qlo/exercise.hpp:42: error: invalid use of undefined type 'class QuantLibAddin::Exercise' ../qlo/exercise.hpp:26: error: forward declaration of 'class QuantLibAddin::Exercise' asianoption.cpp: In constructor 'QuantLibAddin::ContinuousAveragingAsianOption::ContinuousAveragingAsianOption(const QuantLib::Average::Type&, const boost::shared_ptr<QuantLib::GeneralizedBlackScholesProcess>&, const boost::shared_ptr<QuantLib::StrikedTypePayoff>&, const boost::shared_ptr<QuantLib::Exercise>&, const boost::shared_ptr<QuantLib::PricingEngine>&)': asianoption.cpp:35: error: 'libraryObject_' was not declared in this scope asianoption.cpp: In constructor 'QuantLibAddin::DiscreteAveragingAsianOption::DiscreteAveragingAsianOption(const QuantLib::Average::Type&, const double&, const long int&, const std::vector<QuantLib::Date, std::allocator<QuantLib::Date> >&, const boost::shared_ptr<QuantLib::GeneralizedBlackScholesProcess>&, const boost::shared_ptr<QuantLib::StrikedTypePayoff>&, const boost::shared_ptr<QuantLib::Exercise>&, const boost::shared_ptr<QuantLib::PricingEngine>&)': asianoption.cpp:54: error: 'libraryObject_' was not declared in this scope make[2]: *** [asianoption.lo] Error 1 make[2]: Leaving directory `/home/tsingh/QuantLibAddin-0.3.13/qlo' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/tsingh/QuantLibAddin-0.3.13/qlo' make: *** [all-recursive] Error 1 [tsingh@zurich QuantLibAddin-0.3.13]$ |
Hello,
On 8/17/06, TARKESHWAR SINGH <[hidden email]> wrote: > Hello, > > I tried to compile QuantLibAddin-0.3.13 and following errors below were > generated. What version of ObjectHandler are you using? Thanks, Eric |
Hello
On 8/28/06, TARKESHWAR SINGH <[hidden email]> wrote: > The ObjectHandler version is 0.1.3 QuantLibAddin 0.3.13 depends on ObjectHandler version 0.1.4. Please refer to the following document: http://www.quantlibaddin.org/build_tutorial.html Thanks, Eric |
Free forum by Nabble | Edit this page |