List Info

Thread: Help - Can't build QuantlibAddin




Help - Can't build QuantlibAddin
country flaguser name
United States
2007-02-28 21:00:09
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
FilesQuantLibAddin-0.3.14gensrcbuildvcBuildLog.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 qlTermStructures, 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
QuantLib-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/quantlib
-users

Re: Help - Can't build QuantlibAddin
user name
2007-03-01 10:27:36
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
FilesQuantLibAddin-0.3.14gensrcbuildvcBuildLog.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
QuantLibAddingensrcMakefile.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=scriptsgensrc.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
QuantLibAddingensrc and do something like

"C:Python25python.exe"
".scriptsgensrc.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
QuantLib-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/quantlib
-users

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )