Login  Register

Re: issue building current QuantLibXL VC9

Posted by Piter Dias-4 on Jul 29, 2009; 12:14am
URL: http://quantlib.414.s1.nabble.com/issue-building-current-QuantLibXL-VC9-tp12837p12840.html

Sylvain,

Try to compile the "Release (static)" version. I had the same problem with "Release" version.

Regards,


Sylvain Bertrand escreveu:
Hi All,

Moving to Python 2.6 worked fine, thanks.
Now I have the XLL,  which seems to load in Excel 2007, however no
"ql...." functions is made available. Is there a way to ensure the XLL
is properly loaded?

Thanks,
Sylvain



On Tue, Jul 28, 2009 at 4:59 AM, Florent
Grenier[hidden email] wrote:
  
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 [hidden email]
    
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
  


------------------------------------------------------------------------------
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