Boost errors during compilation
- Keywords:
- compilation boost
Due to changes between boost version 1.33 and boost version 1.34, you may encounter errors during compilation similar to the following:
../../Python/
'std::vector<
esys::lsm:
../../Python/
overloaded 'len(const boost::
../../Python/
esys::lsm:
/usr/include/
boost::
This occurs when compiling with boost-1.34. If you should encounter this problem, make the following changes in the source code then 'make clean' and 'make' again:
1/ in Python/
* on line 44, replace "const int numElements = len(pythonList);" with "const int numElements = esys::lsm:
* on line 57, replace "const int numElements = len(pythonTulple);" with "const int numElements = esys::lsm:
* on line 70, replace "const int numElements = len(pythonList);" with "const int numElements = esys::lsm:
(remove the quotation marks when making the replacements)
2/ in Python/
* on line 29, replace "return boost::
3/ in Python/
* just check that "#include <boost/