|
From: Klaus S. <kl...@sp...> - 2012-01-26 21:45:52
|
Hi Patrick does this error occurs in sparseilupreconditioner.cpp? This class is using some features of boost::numeric::ublas, which are causing problems with some compilers (at least VC++ 10). If you set QL_NO_UBLAS_SUPPORT then the problem should disappear. cheers Klaus On Thursday 26 January 2012 16:54:53 hix li wrote: > ciao Luigi, > > I am using GNU GCC compiler for 64 bits windows. > > Patrick > > > > > ________________________________ > From: Luigi Ballabio <lui...@gm...> > To: hix li <hi...@ya...> > Cc: "qua...@li..." > <qua...@li...> Sent: Tuesday, January 17, 2012 > 6:35:56 PM > Subject: Re: [Quantlib-users] building quantlib 1.1 with code::blocks > > Hi Patrick, > what compiler does Code::Blocks use? > > Luigi > > On Fri, Jan 6, 2012 at 11:42 AM, hix li <hi...@ya...> wrote: > > I have installed boost_1_48 and was trying to build quantlib 1.1 in > > Code::Blocks. > > > > It came out with the following error: > > > > D:\boost\boost_1_48_0\boost\numeric\ublas\vector_of_vector.hpp 301 error: > > call of overloaded 'ref(boost::numeric::ublas::compressed_vector<int, 0u, > > boost::numeric::ublas::unbounded_array<unsigned int, > > std::allocator<unsigned int> >, > > boost::numeric::ublas::unbounded_array<int, std::allocator<int> > > > > >>&)' is ambiguous > > > > This error points to the command line "vector_data_value_type& vd (ref > > (data () [elementM])); " in the file vector_of_vector.hpp > > > > Is it really a bug or I missed something before I compile the quantlib? > > > > Thanks! > > > > Patrick > > > > > > ------------------------------------------------------------------------- > >----- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a > > complex infrastructure or vast IT resources to deliver seamless, secure > > access to virtual desktops. With this all-in-one solution, easily deploy > > virtual desktops for less than the cost of PCs and save 60% on VDI > > infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > > _______________________________________________ > > QuantLib-users mailing list > > Qua...@li... > > https://lists.sourceforge.net/lists/listinfo/quantlib-users |