[Gmsh] building of gmsh2
walter steffè
steffe at tiscali.it
Tue Feb 6 07:08:46 CET 2007
Hi
I am trying to build gmsh2 on a Suse Linux 10.0 with enabled OpenCascade.
The first problem I encountered was a lot of undefined references to stdlib
functions from TKernel but this was esely solved by adding a -lstdc++ to my
LDFLAGS variable. Anyway I think it should be better to add it in the
configure script.
Now the configuration is complete but from the compilation I get the following
errors which I think are due to the missing of some headers:
Many thanks
Walter
"
........
make[1]: Entering directory `/home/walter/Geo/GeoModeler/gmsh-2.0.0/Geo'
g++ -O2 -DHAVE_LIBZ -DHAVE_GSL -DHAVE_MATH_EVAL -DHAVE_NETGEN -DHAVE_ANN_
-DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_FLTK -I/usr/X11R6/include -O2
-march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g
-I/usr/X11R6/include -DHAVE_OCC
-I/home/walter/local/Salome/salome_3.2.2/CAS-6.1/inc
-I/home/walter/local/Salome/salome_3.2.2/hdf5-1.6.4/include -DHAVE_MED
-I/home/walter/local/Salome/salome_3.2.2/med-2.2.3/include -I../Common
-I../DataStr -I../Geo -I../Mesh -I../Numeric -I../Parser -I../Fltk
-I../contrib/NR -I../contrib/FourierModel -I../contrib/ANN/include -c
GModelIO_MED.cpp
/home/walter/local/Salome/salome_3.2.2/med-2.2.3/include/med_proto.h:25:
error: ‘med_idt’ does not name a type
/home/walter/local/Salome/salome_3.2.2/med-2.2.3/include/med_proto.h:27:
error: ‘med_err’ does not name a type
/home/walter/local/Salome/salome_3.2.2/med-2.2.3/include/med_proto.h:29:
error: ‘med_int’ does not name a type
/home/walter/local/Salome/salome_3.2.2/med-2.2.3/include/med_proto.h:31:
error: ‘med_err’ does not name a type
/home/walter/local/Salome/salome_3.2.2/med-2.2.3/include/med_proto.h:33:
error: ‘med_err’ does not name a type
/home/walter/local/Salome/salome_3.2.2/med-2.2.3/include/med_proto.h:35:
error: ‘med_err’ does not name a type
/home/walter/local/Salome/salome_3.2.2/med-2.2.3/include/med_proto.h:37:
error: ‘med_err’ does not name a type
/home/walter/local/Salome/salome_3.2.2/med-2.2.3/include/med_proto.h:39:
error: ‘med_err’ does not name a type
/home/walter/local/Salome/salome_3.2.2/med-2.2.3/include/med_proto.h:41:
error: ‘med_err’ does not name a type
/home/walter/local/Salome/salome_3.2.2/med-2.2.3/include/med_proto.h:44:
warning: ‘MEDversionDonner’ initialized and declared ‘extern’
/home/walter/local/Salome/salome_3.2.2/med-2.2.3/include/med_proto.h:44:
error: variable or field ‘MEDversionDonner’ declared void
/home/walter/local/Salome/salome_3.2.2/med-2.2.3/include/med_proto.h:44:
error: ‘med_int’ was not declared in this scope
/home/walter/local/Salome/salome_3.2.2/med-2.2.3/include/med_proto.h:44:
error: ‘majeur’ was not declared in this scope
/home/walter/local/Salome/salome_3.2.2/med-2.2.3/include/med_proto.h:44:
error: ‘med_int’ was not declared in this scope
/home/walter/local/Salome/salome_3.2.2/med-2.2.3/include/med_proto.h:44:
error: ‘mineur’ was not declared in this scope
/home/walter/local/Salome/salome_3.2.2/med-2.2.3/include/med_proto.h:44:
error: ‘med_int’ was not declared in this scope
/home/walter/local/Salome/salome_3.2.2/med-2.2.3/include/med_proto.h:44:
error: ‘release’ was not declared in this scope
/home/walter/local/Salome/salome_3.2.2/med-2.2.3/include/med_proto.h:44:
error: initializer expression list treated as compound expression
/home/walter/local/Salome/salome_3.2.2/med-2.2.3/include/med_proto.h:45:
error: ‘med_err’ does not name a type
/home/walter/local/Salome/salome_3.2.2/med-2.2.3/include/med_proto.h:47:
error: ‘med_idt’ does not name a type
.....
"