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 |
Hi Richard,
> 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 Looks like gensrc is not picking up your changes for some reason. In file QuantLibAddin\gensrc\Makefile.vc, one of the dependencies is metadata\functions\*.xml. So for example if you have added a new xml file to directory metadata\functions, gensrc should pick that up and autogenerate the corresponding code. Try doing a full rebuild of the qlgensrc project (only). Is that any better? Are you following exactly the QuantLib::Stock example in the documentation? Or are you trying some variation of your own? If the latter I would suggest you begin by exactly following the given example, get that working before customizing. Regards, Eric ------------------------------------------------------------------------------ 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 |
Free forum by Nabble | Edit this page |