|
From: <tar...@li...> - 2011-01-31 07:04:39
|
Thanks Peter, now the tuorial works fine! regards, Paolo >----Messaggio originale---- >Da: pca...@vo... >Data: 30/01/2011 12.10 >A: <qua...@li...> >Ogg: Re: [Quantlib-dev] R: Re: R: Adding new function to QuantLib XL > >I had the same problem, look here: > > >Hi, this was on this list some weeks ago (Linker Error LNK1106: invalid > >file or disk full, can not seek to ...). > > > >This error can be observed on different machines (with most probably no > >disk problems) and different MSVC versions (at least 2005 and 2008) when > >linking the ql xll. The error is reproduceable on certain "source code > >configurations". > > > >I googled two possible solutions which are > > > >using linker option /OPT:NOICF > >using linker option /IGNOREIDL > > > >The second has no effect in my enviroment, but the first one seems to > >have solved the problem, hopefully forever. > > >since i use /OPT:NOICF the problem disappeared. perhaps this setting >should be done in the released project files also? > >Peter > >Am 30.01.2011 09:04, schrieb tar...@li...: >> Right! >> >> but I got now this strange error: >> >> fatal error LNK1106: invalid file or disk full: cannot seek to 0xEB5C5C >> >> I got this on QuantLibXLStatic >> >> >> it sounds to me quite strange becasue my disk is not full ..I have more than >> 30 GB free >> >> any clue? >> thansk again, >> Paolo >> >>> ----Messaggio originale---- >>> Da: eri...@na... >>> Data: 29/01/2011 21.39 >>> A: "tar...@li..."<tar...@li...> >>> Cc:<qua...@li...> >>> Ogg: Re: [Quantlib-dev] R: Adding new function to QuantLib XL >>> >>> Hi Paolo, >>> >>>>> is there any repository where I can find similar examples ? >>> Sorry, the tutorial you found is all we got. >>> >>>> following the example in the website I've previously stated, I can do >>>> everithing till when I need to build quantlibxl which returns me the >>>> following >>>> errors >>> Looks like you omitted to add file(s) to the projects. If you follow >>> the tutorial exactly as written it should compile fine. >>> >>> Regards, >>> Eric >>> >>> >> >> >> ------------------------------------------------------------------------------ >> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >> Finally, a world-class log management solution at an even better price- free! >> Download using promo code Free_Logger_4_Dev2Dev. Offer expires >> February 28th, so secure your free ArcSight Logger TODAY! >> http://p.sf.net/sfu/arcsight-sfd2d >> _______________________________________________ >> QuantLib-dev mailing list >> Qua...@li... >> https://lists.sourceforge.net/lists/listinfo/quantlib-dev > > >------------------------------------------------------------------------------ >Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >Finally, a world-class log management solution at an even better price-free! >Download using promo code Free_Logger_4_Dev2Dev. Offer expires >February 28th, so secure your free ArcSight Logger TODAY! >http://p.sf.net/sfu/arcsight-sfd2d >_______________________________________________ >QuantLib-dev mailing list >Qua...@li... >https://lists.sourceforge.net/lists/listinfo/quantlib-dev > |
|
From: <tar...@li...> - 2011-01-31 14:50:35
|
Hi , may be you can help me on this small homework.... I can build the xll file adding the stock class as explained into the tutorial (http://quantlib.org/quantlibaddin/extend__tutorial.html) What I tried to do it was just insert into the xll a simple inline function (just for a test). The steps I followed are: 1. add in QuantLibAddin/qlo the file myfun.hpp having the content: #ifndef qla_myfun_hpp #define qla_myfun_hpp #include <oh/libraryobject.hpp> namespace QuantLibAddin { inline double myfun(double npv) { return npv; } } #endif 2. then I've added a new category into QuantLibAddin\gensrc\config\categories. xml <categoryName>myfun</Vategoryname> 3. then I added a new xml file into QuantLibAddin\gensrc\metadata\Functions heving the following contents <Category name='myfun'> <description>test</description> <displayName>myfun</displayName> <xlFunctionWizardCategory>QuantLib - Financial</xlFunctionWizardCategory> <includes> <include>qlo/myfun.hpp</include> </includes> <copyright> Copyright (C) 2010 </copyright> <Functions> <Procedure name='qlMyFun'> <alias>QuantLibAddin::myfun</alias> <SupportedPlatforms> <!--SupportedPlatform name='Excel' calcInWizard='false'/--> <SupportedPlatform name='Excel'/> <!--SupportedPlatform name='Cpp'/--> </SupportedPlatforms> <ParameterList> <Parameters> <Parameter name='npv'> <type>double</type> <tensorRank>scalar</tensorRank> <description>npv value</description> </Parameter> </Parameters> </ParameterList> <ReturnValue> <type>double</type> <tensorRank>scalar</tensorRank> </ReturnValue> </Procedure> </Functions> </Category> 4. Then I go to build qlgensrc and I get the following error fatal error U1077: '..\..\gensrc\gensrc.py' : return code '0x1' Any clue? Thanks Regards, Paolo >----Messaggio originale---- >Da: pca...@vo... >Data: 30/01/2011 12.10 >A: <qua...@li...> >Ogg: Re: [Quantlib-dev] R: Re: R: Adding new function to QuantLib XL > >I had the same problem, look here: > > >Hi, this was on this list some weeks ago (Linker Error LNK1106: invalid > >file or disk full, can not seek to ...). > > > >This error can be observed on different machines (with most probably no > >disk problems) and different MSVC versions (at least 2005 and 2008) when > >linking the ql xll. The error is reproduceable on certain "source code > >configurations". > > > >I googled two possible solutions which are > > > >using linker option /OPT:NOICF > >using linker option /IGNOREIDL > > > >The second has no effect in my enviroment, but the first one seems to > >have solved the problem, hopefully forever. > > >since i use /OPT:NOICF the problem disappeared. perhaps this setting >should be done in the released project files also? > >Peter > >Am 30.01.2011 09:04, schrieb tar...@li...: >> Right! >> >> but I got now this strange error: >> >> fatal error LNK1106: invalid file or disk full: cannot seek to 0xEB5C5C >> >> I got this on QuantLibXLStatic >> >> >> it sounds to me quite strange becasue my disk is not full ..I have more than >> 30 GB free >> >> any clue? >> thansk again, >> Paolo >> >>> ----Messaggio originale---- >>> Da: eri...@na... >>> Data: 29/01/2011 21.39 >>> A: "tar...@li..."<tar...@li...> >>> Cc:<qua...@li...> >>> Ogg: Re: [Quantlib-dev] R: Adding new function to QuantLib XL >>> >>> Hi Paolo, >>> >>>>> is there any repository where I can find similar examples ? >>> Sorry, the tutorial you found is all we got. >>> >>>> following the example in the website I've previously stated, I can do >>>> everithing till when I need to build quantlibxl which returns me the >>>> following >>>> errors >>> Looks like you omitted to add file(s) to the projects. If you follow >>> the tutorial exactly as written it should compile fine. >>> >>> Regards, >>> Eric >>> >>> >> >> >> ------------------------------------------------------------------------------ >> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >> Finally, a world-class log management solution at an even better price- free! >> Download using promo code Free_Logger_4_Dev2Dev. Offer expires >> February 28th, so secure your free ArcSight Logger TODAY! >> http://p.sf.net/sfu/arcsight-sfd2d >> _______________________________________________ >> QuantLib-dev mailing list >> Qua...@li... >> https://lists.sourceforge.net/lists/listinfo/quantlib-dev > > >------------------------------------------------------------------------------ >Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >Finally, a world-class log management solution at an even better price-free! >Download using promo code Free_Logger_4_Dev2Dev. Offer expires >February 28th, so secure your free ArcSight Logger TODAY! >http://p.sf.net/sfu/arcsight-sfd2d >_______________________________________________ >QuantLib-dev mailing list >Qua...@li... >https://lists.sourceforge.net/lists/listinfo/quantlib-dev > |
|
From: Luigi B. <lui...@gm...> - 2011-01-31 15:08:19
|
On Mon, 2011-01-31 at 15:50 +0100, tar...@li... wrote: > 4. Then I go to build qlgensrc and I get the following error > > fatal error U1077: '..\..\gensrc\gensrc.py' : return code '0x1' Look further up, in the text that is output before the fatal error. gensrc should have told you what's wrong in your xml. Luigi -- I've finally learned what `upward compatible' means. It means we get to keep all our old mistakes. -- Dennie van Tassel |
|
From: <tar...@li...> - 2011-02-03 15:36:18
|
The Peter's advice works perfect for the QLXL project....I didnt need it for other QL prj. >----Messaggio originale---- >Da: lui...@gm... >Data: 03/02/2011 16.30 >A: "Peter Caspers"<pca...@vo...> >Cc: <qua...@li...> >Ogg: Re: [Quantlib-dev] R: Re: R: Adding new function to QuantLib XL > >On Sun, 2011-01-30 at 12:10 +0100, Peter Caspers wrote: >> since i use /OPT:NOICF the problem disappeared. perhaps this setting >> should be done in the released project files also? > >Possibly. Is this needed for the XL project only, or also for all the >others? > >Luigi > > >-- > >Skinner's Constant (or Flannagan's Finagling Factor): >That quantity which, when multiplied by, divided by, added to, >or subtracted from the answer you got, gives you the answer you >should have gotten. > > > >------------------------------------------------------------------------------ >Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >Finally, a world-class log management solution at an even better price-free! >Download using promo code Free_Logger_4_Dev2Dev. Offer expires >February 28th, so secure your free ArcSight Logger TODAY! >http://p.sf.net/sfu/arcsight-sfd2d >_______________________________________________ >QuantLib-dev mailing list >Qua...@li... >https://lists.sourceforge.net/lists/listinfo/quantlib-dev > |
|
From: Peter C. <pca...@vo...> - 2011-02-03 19:55:37
|
yes, it is only needed in the qlxl project (both msvc 80 und 90) Peter Am 03.02.2011 16:36, schrieb tar...@li...: > The Peter's advice works perfect for the QLXL project....I didnt need it for > other QL prj. > >> ----Messaggio originale---- >> Da: lui...@gm... >> Data: 03/02/2011 16.30 >> A: "Peter Caspers"<pca...@vo...> >> Cc:<qua...@li...> >> Ogg: Re: [Quantlib-dev] R: Re: R: Adding new function to QuantLib XL >> >> On Sun, 2011-01-30 at 12:10 +0100, Peter Caspers wrote: >>> since i use /OPT:NOICF the problem disappeared. perhaps this setting >>> should be done in the released project files also? >> Possibly. Is this needed for the XL project only, or also for all the >> others? >> >> Luigi >> >> >> -- >> >> Skinner's Constant (or Flannagan's Finagling Factor): >> That quantity which, when multiplied by, divided by, added to, >> or subtracted from the answer you got, gives you the answer you >> should have gotten. >> >> >> >> ------------------------------------------------------------------------------ >> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >> Finally, a world-class log management solution at an even better price-free! >> Download using promo code Free_Logger_4_Dev2Dev. Offer expires >> February 28th, so secure your free ArcSight Logger TODAY! >> http://p.sf.net/sfu/arcsight-sfd2d >> _______________________________________________ >> QuantLib-dev mailing list >> Qua...@li... >> https://lists.sourceforge.net/lists/listinfo/quantlib-dev >> > |