← Back to team overview

dolfin team mailing list archive

error: 'struct boost::filesystem::basic_path<std::basic_string<char>, boost::filesystem::path_traits>::string_type' has no member named 'string'

 

Building DOLFIN on the fenics-dev PPA fails on Ubuntu 11.04 with the
following error:

[ 28%] Building CXX object dolfin/CMakeFiles/dolfin.dir/io/XDMFFile.cpp.o
cd /build/buildd/dolfin-1.0.0/obj-x86_64-linux-gnu/dolfin &&
/usr/bin/g++   -Ddolfin_EXPORTS -DBOOST_UBLAS_NDEBUG -DHAS_HDF5
-DHAS_TRILINOS -DHAS_UMFPACK -DHAS_CHOLMOD -DHAS_SCOTCH -DHAS_CGAL
-DHAS_ZLIB -DHAS_MPI -DHAS_OPENMP -DDOLFIN_VERSION=\"1.0.0+\"
-DMPICH_IGNORE_CXX_SEEK -g -O2  -frounding-math -frounding-math
-fopenmp -O2 -g -fPIC -I/build/buildd/dolfin-1.0.0
-I/usr/include/libxml2 -I/usr/include/trilinos
-I/usr/include/suitesparse -I/usr/include/scotch -isystem
/usr/lib/openmpi/include -isystem /usr/lib/openmpi/include/openmpi
-o CMakeFiles/dolfin.dir/io/XDMFFile.cpp.o -c
/build/buildd/dolfin-1.0.0/dolfin/io/XDMFFile.cpp
/build/buildd/dolfin-1.0.0/dolfin/io/XDMFFile.cpp: In member function
'virtual void dolfin::XDMFFile::operator<<(std::pair<const
dolfin::Function*, double>)':
/build/buildd/dolfin-1.0.0/dolfin/io/XDMFFile.cpp:264:22: error:
'struct boost::filesystem::basic_path<std::basic_string<char>,
boost::filesystem::path_traits>::string_type' has no member named
'string'
/build/buildd/dolfin-1.0.0/dolfin/io/XDMFFile.cpp: In member function
'void dolfin::XDMFFile::write_mesh_function(const
dolfin::MeshFunction<T>&)':
/build/buildd/dolfin-1.0.0/dolfin/io/XDMFFile.cpp:403:18: error:
'struct boost::filesystem::basic_path<std::basic_string<char>,
boost::filesystem::path_traits>::string_type' has no member named
'string'
/build/buildd/dolfin-1.0.0/dolfin/io/XDMFFile.cpp: In member function
'void dolfin::XDMFFile::xml_mesh_topology(pugi::xml_node&,
dolfin::uint, dolfin::uint, std::string) const':
/build/buildd/dolfin-1.0.0/dolfin/io/XDMFFile.cpp:486:49: error:
'struct boost::filesystem::basic_path<std::basic_string<char>,
boost::filesystem::path_traits>::string_type' has no member named
'string'
/build/buildd/dolfin-1.0.0/dolfin/io/XDMFFile.cpp: In member function
'void dolfin::XDMFFile::xml_mesh_geometry(pugi::xml_node&,
dolfin::uint, dolfin::uint, std::string) const':
/build/buildd/dolfin-1.0.0/dolfin/io/XDMFFile.cpp:514:20: error:
'struct boost::filesystem::basic_path<std::basic_string<char>,
boost::filesystem::path_traits>::string_type' has no member named
'string'

The Boost version is 1.42.0. The full buildlog is available here:

  https://launchpadlibrarian.net/119202826/buildlog_ubuntu-natty-amd64.dolfin_1.0.0-2%2Bbzr6981~ppa1~natty1_FAILEDTOBUILD.txt.gz

Johannes