← Back to team overview

dolfin team mailing list archive

build problems

 

Seems to me something has broken the dolfin build:

dolfin/mesh/MeshData.cpp: In member function ‘void dolfin::MeshData::disp()
const’:
dolfin/mesh/MeshData.cpp:116: error: ambiguous overload for ‘operator<<’ in
‘dolfin::cout.dolfin::LogStream::operator<<(((const char*)"Array<uint> of size
")) << ((dolfin::Array<unsigned
int>*)it.std::_Rb_tree_const_iterator<_Tp>::operator-> [with _Tp =
std::pair<const std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, dolfin::Array<unsigned int>*>]()->std::pair<const
std::basic_string<char, std::char_traits<char>, std::allocator<char> >,
dolfin::Array<unsigned int>*>::second)->dolfin::Array<unsigned
int>::<anonymous>.std::vector<_Tp, _Alloc>::size [with _Tp = unsigned int,
_Alloc = std::allocator<unsigned int>]()’
./dolfin/log/LogStream.h:27: note: candidates are: dolfin::LogStream&
dolfin::LogStream::operator<<(const char*) <near match>
./dolfin/log/LogStream.h:28: note:                 dolfin::LogStream&
dolfin::LogStream::operator<<(const std::string&) <near match>
./dolfin/log/LogStream.h:29: note:                 dolfin::LogStream&
dolfin::LogStream::operator<<(int)
./dolfin/log/LogStream.h:30: note:                 dolfin::LogStream&
dolfin::LogStream::operator<<(unsigned int)
./dolfin/log/LogStream.h:31: note:                 dolfin::LogStream&
dolfin::LogStream::operator<<(dolfin::real)
./dolfin/log/LogStream.h:32: note:                 dolfin::LogStream&
dolfin::LogStream::operator<<(dolfin::complex)
./dolfin/log/LogStream.h:33: note:                 dolfin::LogStream&
dolfin::LogStream::operator<<(const dolfin::LogStream&) <near match>
dolfin/mesh/Point.h:104: note:                 dolfin::LogStream&
dolfin::operator<<(dolfin::LogStream&, const dolfin::Point&)
scons: *** [dolfin/mesh/MeshData.os] Error 1
scons: building terminated because of errors.

Is this an easy fix?

(Using dolfin with ublas backend only, fresh from the mercurial repos).

Ola


Follow ups