Login  Register

gensrc.py fails

Posted by Grześ Andruszkiewicz on Jun 13, 2013; 10:51am
URL: http://quantlib.414.s1.nabble.com/gensrc-py-fails-tp14365.html

Hi,

I am trying to compile QuantlibXL on a new laptop and I am getting the following error:
1>------ Build started: Project: qlgensrc, Configuration: All Win32 ------
1>Build started 13/06/2013 11:47:33.
1>Build:
1> 
1>  Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
1>  Copyright (C) Microsoft Corporation.  All rights reserved.
1> 
1>      ..\..\gensrc\gensrc.py -a --oh_dir=..\..\ObjectHandler
1>    File "C:\Users\Grzes\Documents\quantlib\gensrc\gensrc.py", line 51
1>      print USAGE_ERROR % { 'scriptName' : sys.argv[0] }
1>                      ^
1>  SyntaxError: invalid syntax
1>NMAKE : fatal error U1077: '..\..\gensrc\gensrc.py' : return code '0x1'
1>  Stop.

Any ideas? Unfortunately I don't know python well enough myself...

Grzegorz

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev