|
From: Florent G. <flo...@gm...> - 2009-07-28 08:59:50
|
Hi Sylvain,
I had the same problem with Python 3. The solution I used is quite simple: I
removed version 3 and installed Python v2.6, added it to my path, ran the
compilation, and everything went well.
Florent
2009/7/27 Sylvain Bertrand <syl...@gm...>
> 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 "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
> Qua...@li...
> https://lists.sourceforge.net/lists/listinfo/quantlib-dev
>
>
|