
hi all,
please, I'm looking for some directions for installing the math toolkit:
1) downloaded math toolkit headers:
http://www.boost-consulting.com/vault/index.php?action=downloadfile&filename=math_toolkit_headers.zip&directory=Math%20-%20Numerics&PHPSESSID=4b1683a7d53de7a335475fb29128b9b4
2) As per instructions in
http://www.boost-consulting.com/vault/index.php?action=downloadfile&filename=math_toolkit.html&directory=Math%20-%20Numerics&PHPSESSID=4b1683a7d53de7a335475fb29128b9b4
i.e.
Extract to a directory separate from your boost tree, then set the
environment variable BOOST_ROOT to point to a copy of boost-1.34
(release branch cvs) or to 1.35 (cvs HEAD).
I now have in my directory structure:
/usr/local/boost_1_34_1
/usr/local/boost/math
and in ./bashrc I added
export BOOST_ROOT="/usr/local/boost_1_34_1"
3) I have added "/usr/local/boost/math" in the include path of the
compiler (I use eclipse cdt)
4) in main.cpp:
#include

e r wrote:
4) in main.cpp:
#include
//warning: boost/math/fpclassify.hpp: No such file or directory
That suggests that the include path isn't set up correctly. However, there's a much easier way: all the math_toolkit code is included in the Boost-1.35 release, so you may just want to install that instead. HTH, John.

John Maddock wrote:
e r wrote:
4) in main.cpp:
#include
//warning: boost/math/fpclassify.hpp: No such file or directory That suggests that the include path isn't set up correctly.
However, there's a much easier way: all the math_toolkit code is included in the Boost-1.35 release, so you may just want to install that instead.
HTH, John.
Much easier indeed: thanks!
participants (2)
-
e r
-
John Maddock