$include_dir="/home/hyper-archives/ublas/include"; include("$include_dir/msg-header.inc") ?>
From: e r (erwann.rogard_at_[hidden])
Date: 2008-04-05 23:06:06
Thomas Klimpel wrote:
>> but not the example here:
>>
>> http://boost.cvs.sourceforge.net/boost-sandbox/boost-sandbox/libs/numeric/bindings/lapack/test/ublas_potrf_potrs.cc?revision=1.2&view=markup
> 
>> first I have to comment out utils.h and init_symm and print_m (what is utils.h?)
> 
> you may try the following patch instead
> 
> Index: libs/numeric/bindings/lapack/test/utils.h
> ===================================================================
> --- libs/numeric/bindings/lapack/test/utils.h	(Revision 43794)
> +++ libs/numeric/bindings/lapack/test/utils.h	(Arbeitskopie)
> @@ -101,8 +101,9 @@
>  template <typename M>
>  struct matr_access_traits {
>    typedef typename 
> -  boost::numeric::bindings::traits::matrix_traits<M>::value_type val_t;
> -  typedef val_t& ref_t; 
> +  M::reference ref_t;
> +  //boost::numeric::bindings::traits::matrix_traits<M>::value_type val_t;
> +  //typedef val_t& ref_t; 
>    static ref_t elem (M& m, size_t i, size_t j) { return m (i, j); }
>  };
> 
> Index: boost/numeric/bindings/lapack/posv.hpp
> ===================================================================
> --- boost/numeric/bindings/lapack/posv.hpp	(Revision 43794)
> +++ boost/numeric/bindings/lapack/posv.hpp	(Arbeitskopie)
> @@ -27,6 +27,7 @@
>  #  include <boost/type_traits/is_same.hpp>
>  #endif 
>  
> +#include <cassert>
>  
>  namespace boost { namespace numeric { namespace bindings { 
> 
> 
>> second, here's what i get:
> 
> I also get the impression that something with your include path is wrong.
> 
> Regards,
> Thomas
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> ublas mailing list
> ublas_at_[hidden]
> http://listarchives.boost.org/mailman/listinfo.cgi/ublas
Hi and thanks for the previous answers. I'm still going to need a bit of
help.
Unfortunately, I am not qualified enough to understand the above "patch".
Anyhow, the main conclusion was that there was a problem with include
path, e.g. boost/numeric/bindings/lapack/lapack.h: No such file or directory
So I downloaded the latest boost bindings
http://news.tiker.net/news.tiker.net/download/software/boost-bindings/boost-bindings-20080405.tar.gz
and ran
        ./configure
        make
        make install
from the extracted directory, which contains lapack.h.
However, this file is still not present in /usr/local/.../lapack/, only
lapack.hpp. Probably, here's the reason: the make file contains:
for header in `find boost -name '*.hpp'`; do \
          install -D $$header /usr/local/include/boost-bindings/$$header ; \
          done
What should I do from here?