Login  Register

Re: issue building current QuantLibXL VC9

Posted by Piter Dias-4 on Jul 27, 2009; 11:14pm
URL: http://quantlib.414.s1.nabble.com/issue-building-current-QuantLibXL-VC9-tp12837p12841.html

Sylvain,

I there three missing files in the QuantLib and QuantLibXL project. I believe most of you see is because of using wrong Python version. Some files are generated on compiling time and you need correct Python version for that.
Please take a look at my previous e-mails where I related which files I had include in order to compile both QuantLib and QuantLibXL.

Regards,


Sylvain Bertrand escreveu:
Hi All,


1st issue:

FYI, there seem to be several include directories missing for the QuantLibXL solution vc9 file.
Not sure who's maintaining that part, but that's something to be aware of.


2nd issue:

gensrc.py gives an error... I would debug but I have never used python (v3.1 used here):

3>------ Rebuild All started: Project: qlgensrc, Configuration: All Win32 ------
3>Performing Makefile project actions
3>Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
3>Copyright (C) Microsoft Corporation.  All rights reserved.
3> if not exist build\vc mkdir build\vc
3> ..\..\gensrc\gensrc.py -a --oh_dir=..\..\ObjectHandler
2>flock.c
3>  File "c:\Documents and Settings\sbertrand\My Documents\trunk\gensrc\gensrc.
py", line 51
3>    print USAGE_ERROR % { 'scriptName' : sys.argv[0] }
3>                    ^
3>SyntaxError: invalid syntax
3>NMAKE : fatal error U1077: '..\..\gensrc\gensrc.py' : return code '0x1'
3>Stop.
3>Project : error PRJ0019: A tool returned an error code from "Performing Makefile project actions"
3>Build log was saved at <a class="moz-txt-link-rfc2396E" href="file://c:\DocumentsandSettings\sbertrand\MyDocuments\trunk\QuantLibAddin\gensrc\build\vc\BuildLog.htm">"file://c:\Documents and Settings\sbertrand\My Documents\trunk\QuantLibAddin\gensrc\build\vc\BuildLog.htm"
3>qlgensrc - 2 error(s), 0 warning(s)


Am I doing something wrong?


Regards,
Sylvain

------------------------------------------------------------------------------

_______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev