Re: [Bayes++] Re: [jamboost] bjam use help
Brought to you by:
mistevens
From: Lucas V. <lvi...@mi...> - 2005-02-02 18:17:56
|
>Release versions of Bayes++ have Jamfiles for Boost Build version 1 and >version 2. I assume you are using '2003.8-4' which is the latest stable >release. It would be worth trying 'bjam --v2' to see if it works in your >case. > > > Yes I am using that release. a simple 'bjam --v2' spits out: --------------------- /home/poobarr/boost_1_32_0/tools/build/v2/build/feature.jam:431: in feature.validate-value-string from module feature error: "gcc" is not a known value of feature <toolset> error: legal values: /home/poobarr/boost_1_32_0/tools/build/v2/build/property.jam:249: in validate1 from module property /home/poobarr/boost_1_32_0/tools/build/v2/build/property.jam:272: in property.validate from module property /home/poobarr/boost_1_32_0/tools/build/v2/tools/builtin.jam:170: in variant from module builtin project-root.jam:7: in modules.load from module Jamfile</home/poobarr/Bayes++> /home/poobarr/boost_1_32_0/tools/build/v2/build/project.jam:301: in load-jamfile from module project /home/poobarr/boost_1_32_0/tools/build/v2/build/project.jam:68: in project.load from module project /home/poobarr/boost_1_32_0/tools/build/v2/build-system.jam:80: in load from module build-system /home/poobarr/boost_1_32_0/tools/build/v2/kernel/modules.jam:259: in import from module modules /home/poobarr/boost_1_32_0/tools/build/v2/kernel/bootstrap.jam:120: in boost-build from module /home/poobarr/boost_1_32_0/boost-build.jam:12: in module scope from module ------------------ so I tried ' bjam "--v2 -sTOOLS=gcc" ' which is more promising but fails so I tried ' bjam "--v2 -sBOOST=/usr/local/include/boost-1_32/ -sTOOLS=gcc" ' which fails in a similar manner >>v2 all you should need to set is >>"-sBOOST=/usr/local/include/boost-1_32/". >> >> >Bayes++ picks up it's settings from 'BOOST_ROOT' as described in "compiling >the examples". > > Okay I made sure BOOST_ROOT was set to /usr/local/include/boost-1_32/" (it already was) and still compilation errors the errors boil down to the following, on all build attempts that get past the basic necessities (ie it tries to compile) is this an include issue or is this a g++ version issue? Thanks for the help, reading over the links that Rene provided now but I wanted to get this email out while I had a chance. Lucas --------------------------------------------- [poobarr@mm122947-pc Bayes++]$ bjam "--v2 -sTOOLS=gcc" ...found 1697 targets... ...updating 36 targets... gcc-C++-action bin/bin/Bayes++/BayesFilter/libBayesFilter.a/gcc/debug/bayesFlt.o In file included from /home/poobarr/Bayes++/BayesFilter/matSupSub.hpp:120, from /home/poobarr/Bayes++/BayesFilter/bayesFlt.hpp:21, from /home/poobarr/Bayes++/BayesFilter/bayesFlt.cpp:16: /home/poobarr/Bayes++/BayesFilter/uBLASmatrix.hpp:28: `row' not declared /home/poobarr/Bayes++/BayesFilter/uBLASmatrix.hpp:29: `column' not declared /home/poobarr/Bayes++/BayesFilter/uBLASmatrix.hpp:212: syntax error before `(' token /home/poobarr/Bayes++/BayesFilter/uBLASmatrix.hpp:217: semicolon missing after declaration of `Bayesian_filter_matrix::detail::FMMatrix<MatrixBase>' /home/poobarr/Bayes++/BayesFilter/uBLASmatrix.hpp:218: ISO C++ forbids defining types within return type /home/poobarr/Bayes++/BayesFilter/uBLASmatrix.hpp:218: `sorry, not implemented: /home/poobarr/Bayes++/BayesFilter/uBLASmatrix.hpp:218: `parm_decl' not supported by dump_type <type error>' is not an aggregate type /home/poobarr/Bayes++/BayesFilter/uBLASmatrix.hpp:218: syntax error before `(' token /home/poobarr/Bayes++/BayesFilter/uBLASmatrix.hpp:220: ISO C++ forbids declaration of `sub_column' with no type /home/poobarr/Bayes++/BayesFilter/uBLASmatrix.hpp: In function `int Bayesian_filter_matrix::detail::sub_column(unsigned int, unsigned int, unsigned int)': /home/poobarr/Bayes++/BayesFilter/uBLASmatrix.hpp:221: `matrix_vector_slice' undeclared in namespace `boost::numeric::ublas' /home/poobarr/Bayes++/BayesFilter/uBLASmatrix.hpp:221: `MatrixBase' undeclared (first use this function) /home/poobarr/Bayes++/BayesFilter/uBLASmatrix.hpp:221: (Each undeclared identifier is reported only once for each function it appears in.) /home/poobarr/Bayes++/BayesFilter/uBLASmatrix.hpp:221: invalid use of `this' in non-member function /home/poobarr/Bayes++/BayesFilter/uBLASmatrix.hpp: At global scope: /home/poobarr/Bayes++/BayesFilter/uBLASmatrix.hpp:255: parse error before `<' token --------------------------------------- (and so on) > > >>PS. It looks like the docs on the Bayes++ web page are out of date. >> >> >I double checked. Docs are up to date, they were updated only about a week ago >to match the 2003.8-4 release. > >Probably best to continue this discussion on the bayesclasses-general list or >via personal mail. > >Michael > > > |