[Gmsh] compilation error

Martijn martijn.brouwer at inter.nl.net
Mon Oct 5 23:19:53 CEST 2009


Hi,
I tried to compile gmsh 2.4.2 on an ubuntu 9.10 system (gcc/g++/gfortran
4.4, fltk 1.1)
During compilation, I get an error concerning a missing config.h:

[  0%] [  0%] Building CXX object
CMakeFiles/gmsh.dir/Geo/OCCVertex.cpp.o
Building CXX object CMakeFiles/gmsh.dir/Geo/OCCEdge.cpp.o
In file included
from /home/martijn/Download/gmsh-2.4.2-source/Geo/OCCVertex.h:12,

from /home/martijn/Download/gmsh-2.4.2-source/Geo/OCCVertex.cpp:10:
/home/martijn/Download/gmsh-2.4.2-source/Geo/OCCIncludes.h:17:20: error:
config.h: No such file or directory
In file included
from /home/martijn/Download/gmsh-2.4.2-source/Geo/OCCVertex.h:12,

from /home/martijn/Download/gmsh-2.4.2-source/Geo/OCCEdge.h:12,

from /home/martijn/Download/gmsh-2.4.2-source/Geo/OCCEdge.cpp:10:
/home/martijn/Download/gmsh-2.4.2-source/Geo/OCCIncludes.h:17:20: error:
config.h: No such file or directory


CCmake was not able to find all it might need, but I do not have the
feeling that this is the cause. I nevertheless show a part of the ccmake
screenshot:

>  FLTK_DIR                         /usr/lib/fltk
>  FLTK_FLUID_EXECUTABLE            /usr/bin/fluid
>  FLTK_JPEG                        FLTK_JPEG-NOTFOUND
>  FLTK_MATH_LIBRARY                /usr/lib/libm.so
>  FLTK_PNG                         FLTK_PNG-NOTFOUND
>  FLTK_Z                           FLTK_Z-NOTFOUND

Does this result in reduced functionality?

with kind regards,

Martijn