dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #08033
Re: build problems
Anders Logg skrev den 23/05-2008 følgende:
> See if it works now.
>
> I didn't get this on my laptop so I guess it's a 64bit problem.
Thanks, it fixed the problem.
Ola
> --
> Anders
>
>
> On Fri, May 23, 2008 at 04:09:56PM +0200, Ola Skavhaug wrote:
> > 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
> > _______________________________________________
> > DOLFIN-dev mailing list
> > DOLFIN-dev@xxxxxxxxxx
> > http://www.fenics.org/mailman/listinfo/dolfin-dev
References