Auto generate cod with gensrc

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

Auto generate cod with gensrc

rtan
Hi there
I am trying to autogenerate code as instructed in QuantLibAddin's docs.

3 Autogenerate New Source Code Files

I have successfully created all files and code as instructed. When I
try to 'Build project qlgensrc' using Visual Studio C++ Express,  I do
not get the expected result of new code being generated. I only get

1>------ Build started: Project: qlgensrc, Configuration: All Win32 ------
1>Performing Makefile project actions
1>Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
1>Copyright (C) Microsoft Corporation.  All rights reserved.
1> ..\..\gensrc\gensrc.py -a --oh_dir=..\..\ObjectHandler
1> echo flagged > build\vc\buildflag
1>Build log was saved at
"file://c:\build_ql_0_9_7\QuantLibAddin\gensrc\build\vc\BuildLog.htm"
1>qlgensrc - 0 error(s), 0 warning(s)
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

Am I missing something or is there some configuration/compatiability
issues I am unaware of? The new code is never autogenerated for some
reason. I am using the most recent version of 0.97
Thanks

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Auto generate cod with gensrc

Kim Kuen Tang

Hi Richard,

Richard Tanana schrieb:

> Hi there
> I am trying to autogenerate code as instructed in QuantLibAddin's docs.
>
> 3 Autogenerate New Source Code Files
>
> I have successfully created all files and code as instructed. When I
> try to 'Build project qlgensrc' using Visual Studio C++ Express,  I do
> not get the expected result of new code being generated. I only get
>
> 1>------ Build started: Project: qlgensrc, Configuration: All Win32 ------
> 1>Performing Makefile project actions
> 1>Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
> 1>Copyright (C) Microsoft Corporation.  All rights reserved.
> 1> ..\..\gensrc\gensrc.py -a --oh_dir=..\..\ObjectHandler
> 1> echo flagged > build\vc\buildflag
> 1>Build log was saved at
> "file://c:\build_ql_0_9_7\QuantLibAddin\gensrc\build\vc\BuildLog.htm"
> 1>qlgensrc - 0 error(s), 0 warning(s)
> ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
>  
Did you add a new file to qlgensrc\functions to indicate that it should
generate new functions?
However following the steps indicated by the tutorial
http://quantlib.org/quantlibaddin/extend_tutorial.html#extend_autogenerate
you should be able to add new functions to qladdin.

HTH

Cheers,
Kim

> Am I missing something or is there some configuration/compatiability
> issues I am unaware of? The new code is never autogenerated for some
> reason. I am using the most recent version of 0.97
> Thanks
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> QuantLib-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-users
>
>  


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users