|
From: Penschke, W. <Wal...@co...> - 2005-02-18 13:55:51
|
Hi Eric, sorry that I could not respong to you earlier. Before I get come to your response to my initial email I'd like to address that I have problems getting QuantLibAddIn compiled from the actual development backup tar-ball. With QL and ObjectHandler everything went fine. Here is what I did (Linux as OS): - Downloaded the development tar ball and extracted it locally. - Set CVSROOT to the just extracted local CVS repository and checked out the modules QuantLib, ObjectHandler and QuantLibAddin. - Compiled QuantLib and ObjectHandler successfully like that: $ ./autogen.sh $ ./configure --prefix=`pwd` $ make $ make install - Tried to compile QuantLibAddin like that: $ ./autogen.sh $ ./configure --prefix=`pwd` CPPFLAGS="-I<PATH_TO_OBJECTHANDLER> -I<PATH_TO_QUANTLIB>/include" LDFLAGS="-L<PATH_TO_OBJECTHANDLER>/lib -L<PATH_TO_QUANTLIB>/lib" $ make This make command seems to compile and link the directory QuantLibAddin/qla/objects successfully but runs into problems with the directory QuantLibAddin/qla/functions. Here is the end of the generated output: --- SCHNIPP --- g++ -DHAVE_CONFIG_H -I. -I. -I../../qla -I../.. -I/home/wpe/projects/quantlib_cvs_devel/ObjectHandler/ -I/home/wpe/projects/quantlib_cvs_devel/QuantLib/include -g -O2 -Wall -MT vanillaoption.lo -MD -MP -MF .deps/vanillaoption.Tpo -c vanillaoption.cpp -o vanillaoption.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=link g++ -g -O2 -Wall -L/home/wpe/projects/quantlib_cvs_devel/ObjectHandler/lib -L/home/wpe/projects/quantlib_cvs_devel/QuantLib/lib -o libObjects.la asianoption.lo barrieroption.lo basketoption.lo cliquetoption.lo dividendvanillaoption.lo forwardvanillaoption.lo optionutils.lo stochasticprocess.lo vanillaoption.lo ar cru .libs/libObjects.a .libs/asianoption.o .libs/barrieroption.o .libs/basketoption.o .libs/cliquetoption.o .libs/dividendvanillaoption.o .libs/forwardvanillaoption.o .libs/optionutils.o .libs/stochasticprocess.o .libs/vanillaoption.o ranlib .libs/libObjects.a creating libObjects.la (cd .libs && rm -f libObjects.la && ln -s ../libObjects.la libObjects.la) make[3]: Leaving directory `/opt/projects/quantlib_cvs_devel/QuantLibAddin/qla/objects' Making all in functions make[3]: Entering directory `/opt/projects/quantlib_cvs_devel/QuantLibAddin/qla/functions' make[3]: *** No rule to make target `options.cpp', needed by `options.lo'. Stop. make[3]: Leaving directory `/opt/projects/quantlib_cvs_devel/QuantLibAddin/qla/functions' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/opt/projects/quantlib_cvs_devel/QuantLibAddin/qla' make[1]: *** [all] Error 2 make[1]: Leaving directory `/opt/projects/quantlib_cvs_devel/QuantLibAddin/qla' make: *** [all-recursive] Error 1 [wpe@metallica QuantLibAddin]$ --- SCHNAPP --- Having a look in the corresponding QuantLibAddin/qla/functions/Makefile it seems that it expects a source file options.cpp. However in the corresponding directory there is no such file. Any help would be highly appreciated. Thanks in advance. wpe |