building quantlib 1.1 with code::blocks

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

building quantlib 1.1 with code::blocks

hix li
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: building quantlib 1.1 with code::blocks

Luigi Ballabio
Hi Patrick,
    what compiler does Code::Blocks use?

Luigi


On Fri, Jan 6, 2012 at 11:42 AM, hix li <[hidden email]> 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
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-users
>

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: building quantlib 1.1 with code::blocks

hix li
ciao Luigi,

I am using GNU GCC compiler for 64 bits windows.

Patrick



From: Luigi Ballabio <[hidden email]>
To: hix li <[hidden email]>
Cc: "[hidden email]" <[hidden email]>
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 <[hidden email]> 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
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-users
>



------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: building quantlib 1.1 with code::blocks

Klaus Spanderen-2

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 <[hidden email]>
> To: hix li <[hidden email]>
> Cc: "[hidden email]"
> <[hidden email]> 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 <[hidden email]> 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
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/quantlib-users



------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users