Hi,
I'm trying to build quantlib (version 0.4.0) using ms visual c++ 7.1. I'm getting the following errors. Can someone help me figure out what's wrong, pls. Build Log attached. Thanks much. John _________________________________________________________________ Mortgage refinance is hot 1) Rates near 30-yr lows 2) Good credit get intro-rate 4.625%* https://www2.nextag.com/goto.jsp?product=100000035&url=%2fst.jsp&tm=y&search=mortgage_text_links_88_h2a5f&s=4056&p=5117&disc=y&vers=743 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users BuildLog.htm (49K) Download Attachment |
On Wed, 2007-03-28 at 20:18 -0500, AAA BBB wrote:
> Hi, > I'm trying to build quantlib (version 0.4.0) using ms visual c++ 7.1. I'm > getting the following errors. Can someone help me figure out what's wrong, > pls. Build Log attached. John, the latest VC++7.1 implementation of std::vector<bool> compiles fine when Microsoft extensions are enabled, but triggers an error when compiled in ANSI-compliance mode. The error is the first one in your build log, namely, c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include \vector(1112) : error C2065: '_Myoff' : undeclared identifier In order to fix it, you'll have to edit line 1112 of vector and replace "_Myoff" with "this->_Myoff". Later, Luigi ---------------------------------------- Innovation is hard to schedule. -- Dan Fylstra ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
On Thu, 2007-03-29 at 15:55 +0200, Luigi Ballabio wrote:
> In order to fix it, you'll have to edit line 1112 of vector and replace > "_Myoff" with "this->_Myoff". Following up to myself: there might be other lines to edit. You'll have to perform the replacement throughout the whole method being defined. Luigi ---------------------------------------- Humphrey's Requirements Uncertainty Principle: For a new software system, the requirements will not be completely known until after the users have used it. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
In reply to this post by AAA BBB
Hi Luigi,
Thanks much for the answer. I'm a relatively new user for vc++, and hence may be a dumb question. Could you pls tell me how to enable the Microsoft extentions ? I have no idea what those are. Thanks much again. John >From: Luigi Ballabio <[hidden email]> >To: AAA BBB <[hidden email]> >CC: [hidden email] >Subject: Re: [Quantlib-users] compilation problem with vc++ 7.1 >Date: Thu, 29 Mar 2007 15:55:03 +0200 > >On Wed, 2007-03-28 at 20:18 -0500, AAA BBB wrote: > > Hi, > > I'm trying to build quantlib (version 0.4.0) using ms visual c++ 7.1. >I'm > > getting the following errors. Can someone help me figure out what's >wrong, > > pls. Build Log attached. > >John, > the latest VC++7.1 implementation of std::vector<bool> compiles fine >when Microsoft extensions are enabled, but triggers an error when >compiled in ANSI-compliance mode. The error is the first one in your >build log, namely, > >c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include >\vector(1112) : error C2065: '_Myoff' : undeclared identifier > >In order to fix it, you'll have to edit line 1112 of vector and replace >"_Myoff" with "this->_Myoff". > >Later, > Luigi > > >---------------------------------------- > >Innovation is hard to schedule. >-- Dan Fylstra > > _________________________________________________________________ 5.5%* 30 year fixed mortgage rate. Good credit refinance. Up to 5 free quotes - *Terms https://www2.nextag.com/goto.jsp?product=100000035&url=%2fst.jsp&tm=y&search=mortgage_text_links_88_h2a5d&s=4056&p=5117&disc=y&vers=910 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
On Fri, 2007-03-30 at 08:58 -0500, AAA BBB wrote:
> Thanks much for the answer. I'm a relatively new user for vc++, and hence > may be a dumb question. Could you pls tell me how to enable the Microsoft > extentions ? I have no idea what those are. Open the project properties. In the tree on the left-side of the dialog, select C/C++ and then Language. You'll find a switch for enabling/disabling language extensions. As for what extension they are precisely, I'm not sure... Later, Luigi ---------------------------------------- If I do not want others to quote me, I do not speak. -- Phil Wayne ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Free forum by Nabble | Edit this page |