|
Ublas : |
Subject: Re: [ublas] Example of use of boost::numeric::bindings::lapack with symmetric or triangular matrices?
From: Rutger ter Borg (rutger_at_[hidden])
Date: 2011-06-11 13:28:07
On 2011-06-11 05:06, Stuart Anderson wrote:
> stuart_at_Turing:/tmp$ cd ~/Desktop
>
> stuart_at_Turing:~/Desktop$ g++ -L -llapack -L -lblas -lgfortran
> hello-world.cpp -o hello_world
>
> hello-world.cpp:1:49: fatal error:
> boost/numeric/bindings/std/vector.hpp: No such file or directory
> compilation terminated.
>
Right. You could try to use recent version of the bindings, which reside
at the boost sandbox repository located at
http://svn.boost.org/svn/boost/sandbox/numeric_bindings/ . To obtain a
copy, install subversion, and issue a command like
$ svn co http://svn.boost.org/svn/boost/sandbox/numeric_bindings/
and keep it in some subdirectory under ~. Then, try
g++ .... -I ~/path/to/bindings
HtH,
Cheers,
Rutger