Actually, the problem could be that the new compiler is not being called. If I install the fenics dependencies using hashDist method, but install dolfin, ffc, fiat, and instant 1.5 manually, as well as pointing CMAKE_CXX_COMPILER to the newer g++, the error goes away.
On 13 January 2015 at 00:56, Thomas Patrick Kelly <[email protected]> wrote: > I also get the same error with gcc 4.8.2 on CentOS 6. This implies the > compiler is not the problem. > > On 12 January 2015 at 09:15, Jan Blechta <[email protected]> > wrote: > >> On Sun, 11 Jan 2015 18:46:04 +0000 >> Thomas Patrick Kelly <[email protected]> wrote: >> >> > Hi, >> > >> > When I the fenics-install script to build dolfin, I get the following >> > error at the final stage (dolfin itself) >> > >> > error: no matching function for call to >> > 'dolfin::Parameters::add(const char [21], std::string&, >> > <brace-enclosed initializer list>)' >> > >> > This error has been previously noted and thought to be due to an old >> > compiler (gcc 4.4). However, I have installed a newer gcc (4.7.2). >> > The error persists even with a clean removal and reinstall of all >> > dependencies. Is there a minimal version of gcc needed for dolfin? >> >> Hard to say but GCC 4.6.3-1ubuntu5 (changelog here >> https://launchpad.net/ubuntu/precise/+source/gcc-4.6/+changelog) is >> known to work. >> >> Jan >> > >
_______________________________________________ fenics-support mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics-support
