#795 #error "Ambiguous definition of GRIDTYPE." in dune-grid-howto
Metadata
Property | Value |
---|---|
Reported by | Dan Popovic (dan.popovic@iwr.uni-heidelberg.de) |
Reported at | Jun 2, 2010 11:57 |
Type | Bug Report |
Version | 2.0beta |
Operating System | Linux |
Last edited by | Christoph Grüninger (gruenich@iws.uni-stuttgart.de) |
Last edited at | May 1, 2012 20:54 |
Closed by | Christoph Grüninger (gruenich@iws.uni-stuttgart.de) |
Closed at | May 1, 2012 20:54 |
Closed in version | Unknown |
Resolution | Works for me |
Comment | Seems to be fixed in the meantime. |
Description
Hi Dune,
I tried to compile the dune-grid-howto from the current trunk from today. The build process emits an error concerning a GRIDTYPE macro:
make[2]: Entering directory /data/dan/sim/dune-parallel/dune-grid-howto' g++ -std=c++0x -DHAVE_CONFIG_H -I. -I/data/dan/sim/dune-parallel/dune-common -I/data/dan/sim/dune-parallel/dune-grid -I/data/dan/sim/dune-parallel/dune-istl -I. -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -pthread -DMPIPP_H -DENABLE_MPI=1 -I/data/dan/sim/dune-parallel/dune-common -I/data/dan/sim/dune-parallel/dune-grid -I/data/dan/sim/dune-parallel/dune-istl -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -pthread -DMPIPP_H -DENABLE_MPI=1 -I/data/dan/sim/dune-parallel/dune-common -DGRIDDIM=2 -DWORLDDIM=2 -DYASPGRID -pthread -I/data/dan/sim/dune-parallel/alberta-inst/include/alberta -DALBERTA_DIM=2 -DENABLE_ALBERTA -I/data/dan/sim/ug-duneinst/seq/include -DENABLE_UG -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -pthread -DMPIPP_H -DENABLE_MPI=1 -I/data/dan/sim/dune-parallel/ALUGrid-inst/include -I/data/dan/sim/dune-parallel/ALUGrid-inst/include/serial -I/data/dan/sim/dune-parallel/ALUGrid-inst/include/duneinterface -DENABLE_ALUGRID -I/data/dan/sim/dune-parallel/ALUGrid-inst/include/parallel -I/usr/include -DENABLE_GMP=1 -I/data/dan/sim/dune-parallel/dune-grid -I/usr/include/superlu -DENABLE_SUPERLU -I/data/dan/sim/dune-parallel/dune-istl -O0 -g -Wall -MT integration-integration.o -MD -MP -MF .deps/integration-integration.Tpo -c -o integration-integration.o
test -f 'integration.cc' || echo './'`integration.cc
In Datei, eingefügt von /data/dan/sim/dune-parallel/dune-grid/dgfgridtype.hh:4,
von integration.cc:9:
/data/dan/sim/dune-parallel/dune-grid/gridtype.hh:47:6: Fehler: #error "Ambiguous definition of GRIDTYPE."
In file included from /data/dan/sim/dune-parallel/dune-grid/gridtype.hh:10,
from /data/dan/sim/dune-parallel/dune-grid/dgfgridtype.hh:4,
from integration.cc:9:
/data/dan/sim/dune-parallel/dune-grid/dune/grid/utility/griddim.hh:62: Fehler: redefinition of »const int Dune::GridSelector::dimgrid«
config.h:549: Fehler: »const int Dune::GridSelector::dimgrid« wurde vorher hier definiert
/data/dan/sim/dune-parallel/dune-grid/dune/grid/utility/griddim.hh:72: Fehler: redefinition of »const int Dune::GridSelector::dimworld«
config.h:550: Fehler: »const int Dune::GridSelector::dimworld« wurde vorher hier definiert
regards, dan