[Gmsh] gmsh vs Mac OS X 10.6

Marius Schamschula mschamschula at gmail.com
Tue Sep 22 01:58:48 CEST 2009


Hi there,

I just finished building gmsh under Mac OS X 10.4 and 10.5. However, I
get a build failure under 10.6:

[ 30%] Building CXX object CMakeFiles/gmsh.dir/Fltk/FlGui.cpp.o
In file included from /usr/local/include/FL/x.H:41,
                 from /tmp/gmsh-2.4.2/Fltk/FlGui.cpp:12:
/usr/local/include/FL/mac.H: In function ‘OpaqueRgnHandle*
XRectangleRegion(int, int, int, int)’:
/usr/local/include/FL/mac.H:49: error: ‘NewRgn’ was not declared in this scope
/usr/local/include/FL/mac.H:50: error: ‘SetRectRgn’ was not declared
in this scope
/usr/local/include/FL/mac.H: In function ‘void
XDestroyRegion(OpaqueRgnHandle*)’:
/usr/local/include/FL/mac.H:54: error: ‘DisposeRgn’ was not declared
in this scope
make[2]: *** [CMakeFiles/gmsh.dir/Fltk/FlGui.cpp.o] Error 1
make[1]: *** [CMakeFiles/gmsh.dir/all] Error 2
make: *** [all] Error 2

I'm building against fltk 1.1.9. The fltk test apps work correctly.

Any ideas?

TIA
-- 
Marius