link error compiling xll

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

link error compiling xll

Giuseppe Di Poto
Good morning

I have some problem compiling ql xll in debug. Maybe I miss something. Can you help me?

I got the release xll but having the following errors:

1>------ Build started: Project: ohgensrc, Configuration: All Win32 ------
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 -xdlv --oh_dir=..
1>    File "C:\build_ql_1_5_0\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.
1>C:\Programmi\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command "NMAKE /f Makefile.vc" exited with code 2.
2>------ Build started: Project: qlgensrc, Configuration: All Win32 ------
2>  
2>  Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
2>   ..\..\gensrc\gensrc.py -a --oh_dir=..\..\ObjectHandler
2>  Copyright (C) Microsoft Corporation.  All rights reserved.
2>  
2>    File "C:\build_ql_1_5_0\gensrc\gensrc.py", line 51
2>      print USAGE_ERROR % { 'scriptName' : sys.argv[0] }
2>                      ^
2>  SyntaxError: invalid syntax
2>NMAKE : fatal error U1077: '..\..\gensrc\gensrc.py' : return code '0x1'
2>  Stop.
2>C:\Programmi\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command "NMAKE /f Makefile.vc" exited with code 2.
3>------ Build started: Project: QuantLibObjects, Configuration: Release (static runtime) Win32 ------
3>  QuantLibObjects2_vc10.vcxproj -> C:\build_ql_1_5_0\QuantLibAddin\.\lib\QuantLibObjects-vc100-mt-s-1_4_0.lib
========== Build: 1 succeeded, 2 failed, 7 up-to-date, 0 skipped ==========

while compiling in debug I got a linking error + the same errors of the release compiling:

1>------ Build started: Project: ohgensrc, Configuration: All Win32 ------
1>  
1>  Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
1>   ..\..\gensrc\gensrc.py -xdlv --oh_dir=..
1>  Copyright (C) Microsoft Corporation.  All rights reserved.
1>  
1>    File "C:\build_ql_1_5_0\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.
1>C:\Programmi\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command "NMAKE /f Makefile.vc" exited with code 2.
2>------ Build started: Project: qlgensrc, Configuration: All Win32 ------
2>  
2>  Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
2>   ..\..\gensrc\gensrc.py -a --oh_dir=..\..\ObjectHandler
2>  Copyright (C) Microsoft Corporation.  All rights reserved.
2>  
2>    File "C:\build_ql_1_5_0\gensrc\gensrc.py", line 51
2>      print USAGE_ERROR % { 'scriptName' : sys.argv[0] }
2>                      ^
2>  SyntaxError: invalid syntax
2>NMAKE : fatal error U1077: '..\..\gensrc\gensrc.py' : return code '0x1'
2>  Stop.
2>C:\Programmi\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command "NMAKE /f Makefile.vc" exited with code 2.
3>------ Build started: Project: QuantLibObjects, Configuration: Debug (static runtime) Win32 ------
3>  QuantLibObjects2_vc10.vcxproj -> C:\build_ql_1_5_0\QuantLibAddin\.\lib\QuantLibObjects-vc100-mt-sgd-1_4_0.lib
4>------ Build started: Project: QuantLibXLStatic, Configuration: Debug (static runtime) Win32 ------
4>     Creating library .\buildStatic\vc100\Debug (static runtime)/QuantLibXL-vc100-mt-sgd-1_4_0.lib and object .\buildStatic\vc100\Debug (static runtime)/QuantLibXL-vc100-mt-sgd-1_4_0.exp
4>LINK : fatal error LNK1210: exceeded internal ILK size limit; link with /INCREMENTAL:NO
========== Build: 1 succeeded, 3 failed, 6 up-to-date, 0 skipped ==========

Thank you in advance

Giuseppe



------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: link error compiling xll

igitur
Read the discussion at http://quantlib.10058.n7.nabble.com/problems-compiling-QuantLibXL-from-td15602.html and see if the suggestion of explicitly calling python.exe solves your problem.

regards

Francois Botha


On 28 July 2014 12:09, Giuseppe Di Poto <[hidden email]> wrote:
Good morning

I have some problem compiling ql xll in debug. Maybe I miss something. Can you help me?

I got the release xll but having the following errors:

1>------ Build started: Project: ohgensrc, Configuration: All Win32 ------
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 -xdlv --oh_dir=..
1>    File "C:\build_ql_1_5_0\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.
1>C:\Programmi\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command "NMAKE /f Makefile.vc" exited with code 2.
2>------ Build started: Project: qlgensrc, Configuration: All Win32 ------
2>  
2>  Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
2>   ..\..\gensrc\gensrc.py -a --oh_dir=..\..\ObjectHandler
2>  Copyright (C) Microsoft Corporation.  All rights reserved.
2>  
2>    File "C:\build_ql_1_5_0\gensrc\gensrc.py", line 51
2>      print USAGE_ERROR % { 'scriptName' : sys.argv[0] }
2>                      ^
2>  SyntaxError: invalid syntax
2>NMAKE : fatal error U1077: '..\..\gensrc\gensrc.py' : return code '0x1'
2>  Stop.
2>C:\Programmi\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command "NMAKE /f Makefile.vc" exited with code 2.
3>------ Build started: Project: QuantLibObjects, Configuration: Release (static runtime) Win32 ------
3>  QuantLibObjects2_vc10.vcxproj -> C:\build_ql_1_5_0\QuantLibAddin\.\lib\QuantLibObjects-vc100-mt-s-1_4_0.lib
========== Build: 1 succeeded, 2 failed, 7 up-to-date, 0 skipped ==========

while compiling in debug I got a linking error + the same errors of the release compiling:

1>------ Build started: Project: ohgensrc, Configuration: All Win32 ------
1>  
1>  Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
1>   ..\..\gensrc\gensrc.py -xdlv --oh_dir=..
1>  Copyright (C) Microsoft Corporation.  All rights reserved.
1>  
1>    File "C:\build_ql_1_5_0\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.
1>C:\Programmi\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command "NMAKE /f Makefile.vc" exited with code 2.
2>------ Build started: Project: qlgensrc, Configuration: All Win32 ------
2>  
2>  Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
2>   ..\..\gensrc\gensrc.py -a --oh_dir=..\..\ObjectHandler
2>  Copyright (C) Microsoft Corporation.  All rights reserved.
2>  
2>    File "C:\build_ql_1_5_0\gensrc\gensrc.py", line 51
2>      print USAGE_ERROR % { 'scriptName' : sys.argv[0] }
2>                      ^
2>  SyntaxError: invalid syntax
2>NMAKE : fatal error U1077: '..\..\gensrc\gensrc.py' : return code '0x1'
2>  Stop.
2>C:\Programmi\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command "NMAKE /f Makefile.vc" exited with code 2.
3>------ Build started: Project: QuantLibObjects, Configuration: Debug (static runtime) Win32 ------
3>  QuantLibObjects2_vc10.vcxproj -> C:\build_ql_1_5_0\QuantLibAddin\.\lib\QuantLibObjects-vc100-mt-sgd-1_4_0.lib
4>------ Build started: Project: QuantLibXLStatic, Configuration: Debug (static runtime) Win32 ------
4>     Creating library .\buildStatic\vc100\Debug (static runtime)/QuantLibXL-vc100-mt-sgd-1_4_0.lib and object .\buildStatic\vc100\Debug (static runtime)/QuantLibXL-vc100-mt-sgd-1_4_0.exp
4>LINK : fatal error LNK1210: exceeded internal ILK size limit; link with /INCREMENTAL:NO
========== Build: 1 succeeded, 3 failed, 6 up-to-date, 0 skipped ==========

Thank you in advance

Giuseppe



------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users



------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users