On Tue, Dec 9, 2014 at 6:48 AM, Thomas Patrick Kelly <[email protected]> wrote: > Hi, > > When installing dolfin, I manage to get to 96%, then the following errors > pop up > > [ 96%] Building CXX object > dolfin/swig/modules/mesh/CMakeFiles/_mesh.dir/modulePYTHON_wrap.cxx.o > /home/thomaskelly/FEniCS/dolfin/swig/modules/mesh/modulePYTHON_wrap.cxx:2978:21: > warning: invalid suffix on literal; C++11 requires a space between literal > and identifier [-Wliteral-suffix] > "in method '" name"', argument "argn" of type '"type"'" > ^ > /home/thomaskelly/FEniCS/dolfin/swig/modules/mesh/modulePYTHON_wrap.cxx:2978:39: > warning: invalid suffix on literal; C++11 requires a space between literal > and identifier [-Wliteral-suffix] > "in method '" name"', argument "argn" of type '"type"'" > ^ > /home/thomaskelly/FEniCS/dolfin/swig/modules/mesh/modulePYTHON_wrap.cxx:2980:3: > warning: invalid suffix on literal; C++11 requires a space between literal > and identifier [-Wliteral-suffix] > "invalid null reference "SWIG_ArgFail_Fmt(type, name, argn) > ^ > /home/thomaskelly/FEniCS/dolfin/swig/modules/mesh/modulePYTHON_wrap.cxx:2982:3: > warning: invalid suffix on literal; C++11 requires a space between literal > and identifier [-Wliteral-suffix] > "in method '"name"', output value of type '"type"'" > ^ > /home/thomaskelly/FEniCS/dolfin/swig/modules/mesh/modulePYTHON_wrap.cxx:2982:20: > warning: invalid suffix on literal; C++11 requires a space between literal > and identifier [-Wliteral-suffix] > "in method '"name"', output value of type '"type"'" > ^ > /home/thomaskelly/FEniCS/dolfin/swig/modules/mesh/modulePYTHON_wrap.cxx: In > function ‘int SWIG_AsVal_MPI_Comm(PyObject*, MPI_Comm*)’: > /home/thomaskelly/FEniCS/dolfin/swig/modules/mesh/modulePYTHON_wrap.cxx:4862:43: > error: ‘SWIGTYPE_p_MPI_Comm’ was not declared in this scope > int res = SWIG_ConvertPtr(input,&argp,SWIGTYPE_p_MPI_Comm, 0); > ^ > /home/thomaskelly/FEniCS/dolfin/swig/modules/mesh/modulePYTHON_wrap.cxx:2974:37: > note: in definition of macro ‘SWIG_ConvertPtr’ > SWIG_convert_ptr(obj, pptr, type, flags) > > The error seems to be "error: ‘SWIGTYPE_p_MPI_Comm’ was not declared in this > scope" > > dependencies like ufl fiat instant PETSc SLEPc etc have all been built from > scratch. I have tried local installs and system-wide installs. > > My platform is Linux CentOS 7.
I think you need to update SWIG. Which version of SWIG do you have? Johannes _______________________________________________ fenics-support mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics-support
