Issue rebuilding QuantlibAddin

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

Issue rebuilding QuantlibAddin

Lapin
Hi,

I have been trying rebuilding QLaddin 0.9.7 today.
I have installed the packages as indicated in the doc (by the way there should be mention that you can not use Python 3.0 - I use 2.6 version). I have also installed the Platform SDK since I use VC2005 express.

Everything should be fine, but I end up with few errors like this one.

3>usage: c:\Documents and Settings\xxx\yyy\gensrc\gensrc.py -[flags] --oh_dir
3>    where [flags] specify that source code is to be generated for any of:
3>        x - Excel addin
3>        o - OpenOffice.org Calc addin
3>        p - C++ addin
3>        v - ValueObjects code
3>        e - Enumerations
3>        l - Loops
3>        s - Serialization
3>        d - Doxygen documentation files
3>    or
3>        a - All of the above
3>    or
3>        h - display this help message
3>    and --oh_dir specifies the path to the root directory of the
3>    ObjectHandler source code tree.
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\xxx\yyy\ObjectHandler\gensrc\build\vc\BuildLog.htm"
3>ohgensrc - 2 error(s), 0 warning(s)

It is coming from the Python script but since I don't have expertise in it I am totally stuck and it drives me crazy...
Any idea how to look since Google was not of any help on this error?
Is my path too long that could trigger the error?

Regards
Reply | Threaded
Open this post in threaded view
|

Re: Issue rebuilding QuantlibAddin

Lapin
OK seems to be solved.

Python has to be installed on C:\Program Files\Python_xxx


Yomi wrote
Hi,

I have been trying rebuilding QLaddin 0.9.7 today.
I have installed the packages as indicated in the doc (by the way there should be mention that you can not use Python 3.0 - I use 2.6 version). I have also installed the Platform SDK since I use VC2005 express.

Everything should be fine, but I end up with few errors like this one.

3>usage: c:\Documents and Settings\xxx\yyy\gensrc\gensrc.py -[flags] --oh_dir
3>    where [flags] specify that source code is to be generated for any of:
3>        x - Excel addin
3>        o - OpenOffice.org Calc addin
3>        p - C++ addin
3>        v - ValueObjects code
3>        e - Enumerations
3>        l - Loops
3>        s - Serialization
3>        d - Doxygen documentation files
3>    or
3>        a - All of the above
3>    or
3>        h - display this help message
3>    and --oh_dir specifies the path to the root directory of the
3>    ObjectHandler source code tree.
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\xxx\yyy\ObjectHandler\gensrc\build\vc\BuildLog.htm"
3>ohgensrc - 2 error(s), 0 warning(s)

It is coming from the Python script but since I don't have expertise in it I am totally stuck and it drives me crazy...
Any idea how to look since Google was not of any help on this error?
Is my path too long that could trigger the error?

Regards
Reply | Threaded
Open this post in threaded view
|

Re: Issue rebuilding QuantlibAddin

Luigi Ballabio
On Thu, 2009-05-07 at 10:43 -0700, Yomi wrote:
> OK seems to be solved.
>
> Python has to be installed on C:\Program Files\Python_xxx

Strange--that's not the default location (it's C:\Python26).

Eric, maybe the scripts should be modified to work with the default
installation?

Luigi


--

The surest way to make a monkey of a man is to quote him.
-- Robert Benchley



------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Issue rebuilding QuantlibAddin

Ferdinando Ametrano-4
On Fri, May 8, 2009 at 9:34 AM, Luigi Ballabio <[hidden email]> wrote:
>> Python has to be installed on C:\Program Files\Python_xxx
>
> Strange--that's not the default location (it's C:\Python26).
>
> Eric, maybe the scripts should be modified to work with the default
> installation?

scripts do work with the default installation: I'm using C:\Python24
I have no idea what was going on in Yomi's case

ciao -- Nando

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users