← Back to team overview

dolfin team mailing list archive

Build failure on Windows with MTL4

 

Hi,

trying to build DOLFIN with MTL4 on Windows results in the following error:

g++-sjlj -o dolfin\la\ITLKrylovSolver.o -c -Wall -pipe -ansi -Werror
-DDEBUG -g
-DNDEBUG -O2 -DPACKAGE_VERSION=\"0.8.1\" -DHAS_UMFPACK=1 -DHAS_CHOLMOD=1
-DHAS_MTL4=1 -I. -IC:\local\include -IC:\fenics\src\boost_1_35_0
-IC:\local\include -IC:\fenics\src\SuiteSparse\UMFPACK\Include
-IC:\fenics\src\SuiteSparse\AMD\Include
 -IC:\fenics\src\SuiteSparse\UFconfig
-IC:\fenics\src\SuiteSparse\CHOLMOD\Include
-IC:\fenics\src\SuiteSparse\AMD\Include
-IC:\fenics\src\SuiteSparse\COLAMD\Include
-IC:\fenics\src\SuiteSparse\UFconfig -IC:\fenics\src\mtl4
-IC:\fenics\src\boost_1_35_0 dolfin\la\ITLKrylovSolver.cpp
dolfin\la\ITLKrylovSolver.cpp: In member function 'dolfin::uint
dolfin::ITLKrylovSolver::solve(const dolfin::MTL4Matrix&,
dolfin::MTL4Vector&, const dolfin::MTL4Vector&)':
dolfin\la\ITLKrylovSolver.cpp:69: error: function 'int* _errno()' is
initialized like a variable
scons: *** [dolfin\la\ITLKrylovSolver.o] Error 1
scons: building terminated because of errors.

Changing errno in dolfin\la\ITLKrylovSolver.cpp to something else (like
errno_) fixes the problem.

Johannes