Topic: Compilation error when compiling with Spooles
Hi!
I get an error message when trying to compile with the Spooles solver. The version of oofem I am using is 1.9. The configuration command is
./configure --enable-spooles --with-SPOOLESDIR=/home/carl/dev/spooles.2.2/
and the I run 'make all'. The output is
In file included from /home/carl/dev/oofem_workspace/oofem_project/src/sm/hellmat.h:31,
from /home/carl/dev/oofem_workspace/oofem_project/src/main/usrdefsub.C:176:
/home/carl/dev/oofem_workspace/oofem_project/src/sm/hydram.h:144: warning: ‘typedef’ was ignored in this declaration
/home/carl/dev/oofem_workspace/oofem_project/src/sm/hydram.h:145: warning: ‘typedef’ was ignored in this declaration
In file included from /home/carl/dev/oofem_workspace/oofem_project/src/main/usrdefsub.C:176:
/home/carl/dev/oofem_workspace/oofem_project/src/sm/hellmat.h:57: warning: ‘typedef’ was ignored in this declaration
In file included from /home/carl/dev/oofem_workspace/oofem_project/src/fm/leplic.h:40,
from /home/carl/dev/oofem_workspace/oofem_project/src/fm/tr1_2d_supg.h:54,
from /home/carl/dev/oofem_workspace/oofem_project/src/main/usrdefsub.C:246:
/home/carl/dev/oofem_workspace/oofem_project/src/oofemlib/geotoolbox.h:157: error: using typedef-name ‘Graph’ after ‘class’
/home/carl/dev/spooles.2.2/misc/../ETree/../Graph/Graph.h:49: error: ‘Graph’ has a previous declaration here
make[1]: *** [usrdefsub.o] Error 1
make[1]: Leaving directory `/home/carl/dev/oofem_workspace/oofem_project/targets/default/lib/main'
make: *** [all] Error 2
/Carl