Hi,
I am trying to build Quantlib Addin. I am following the instructions as specified in "Build Tutorial" of QuantLibAddin. All steps prior to "Install and Build QuantLibAddin" were successfully completed. But when I start building QuantLibAddin (which is the last one before one could actually start using the tool), I get many errors most of them related to missing file. The error msg that I get are: ---------------------- NMAKE : fatal error U1073: don't know how to make 'C:\Program' Stop. Project : error PRJ0019: A tool returned an error code from "Performing Makefile project actions" Build log was saved at "file://c:\Program Files\QuantLibAddin-0.3.14\gensrc\build\vc\BuildLog.htm" gensrc - 2 error(s), 0 warning(s) ------ Build started: Project: QuantLibObjects, Configuration: Release Win32 ------ Compiling... marketmodels.cpp .\qlo/marketmodels.hpp(30) : fatal error C1083: Cannot open include file: 'ql/MarketModels/Products/OneStep/onestepcaplets.hpp': No such file or directory swaptionvolstructure.cpp .\qlo/swaptionvolstructure.hpp(26) : fatal error C1083: Cannot open include file: 'ql/Volatilities/swaptionvolcubebysabr.hpp': No such file or directory cmsmarket.cpp .\qlo/termstructures.hpp(25) : fatal error C1083: Cannot open include file: 'ql/TermStructures/piecewiseflatforward.hpp': No such file or directory capletvolstructure.cpp ---------------------------------- When I checked the ql\TermStructures, I don't find these files. Environment/Install information: IDE : MS Visual C++ 2005 Quantlib Version : QuantLib-0.4.0 Quantlib Xl Version : QuantLibXL-src-0.3.14 Quantlib Addin Version : QuantLibAddin-0.3.14 Could some one in the group help in resolving this. Pls let me know if you need additional information. Any help is greatly appreciated. Rgds, Balaji. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Hi Balaji,
> NMAKE : fatal error U1073: don't know how to make 'C:\Program' > Stop. > Project : error PRJ0019: A tool returned an error code from "Performing Makefile project actions" > Build log was saved at "file://c:\Program Files\QuantLibAddin-0.3.14\gensrc\build\vc\BuildLog.htm" > gensrc - 2 error(s), 0 warning(s) That's the start of your problems. gensrc is failing to create the source code for the addins, so all the subsequent failures occur because the autogenerated files are missing. Looks like the build is getting confused by spaces in pathnames, it's trying to reference a file under 'C:\Program Files' and crashes on 'C:\Program'. I haven't seen that before, what version of Windows are you running? The command that is failing is contained in file QuantLibAddin\gensrc\Makefile.vc. You need to identify which line is trying to reference a file under 'C:\Program Files', some possibilities include !INCLUDE $(GENSRC_DIR)\dependencies.vc SCRIPT=scripts\gensrc.py set PYTHONPATH=$(PYTHONPATH);$(GENSRC_DIR)\import Depending on how you set up your environment. What is it that you installed under 'C:\Program Files' - python? gensrc? QuantLibAddin? You might be able to fix the problem by enclosing the offending pathname in quotes e.g. !INCLUDE "$(GENSRC_DIR)\dependencies.vc" Though I did some quick tests on my machine (XP SP2) and it seems to handle spaces in pathnames OK without quotes. Otherwise you could try getting gensrc to run at the DOS command line. Ensure that GENSRC_DIR is set correctly, then cd to QuantLibAddin\gensrc and do something like "C:\Python25\python.exe" ".\scripts\gensrc.py" "-a" > Environment/Install information: > IDE : MS Visual C++ 2005 > Quantlib Version : QuantLib-0.4.0 > Quantlib Xl Version : QuantLibXL-src-0.3.14 > Quantlib Addin Version : QuantLibAddin-0.3.14 QuantLibAddin/QuantLibXL version 0.3.14 requires QuantLib version 0.3.14 and will not build against QuantLib version 0.4.0. QLA/QLXL version 0.4.0 will be released in the next day or two. Regards, Eric ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Free forum by Nabble | Edit this page |