[Gmsh] problem building Gmsh 2.13.2

William F Mitchell william.mitchell at nist.gov
Fri Aug 19 17:59:04 CEST 2016

I am trying to update Gmsh to 2.13.2, but get a compiler error.  My build command is

make -DCMAKE_PREFIX_PATH=/home/mitchell/apps/fltk 
-DCMAKE_INSTALL_PREFIX=/home/mitchell/apps/gmsh ..

I get the following error:

[ 32%] Building CXX object CMakeFiles/gmsh.dir/Fltk/FlGui.cpp.o
In file included from 
/home/mitchell/src/gmsh/gmsh-2.13.2-source/Fltk/drawContextFltk.h: In member 
function ‘virtual int drawContextFltk::getFontEnum(int)’:
/home/mitchell/src/gmsh/gmsh-2.13.2-source/Fltk/drawContextFltk.h:66:15: error: 
‘intptr_t’ was not declared in this scope
        return (intptr_t)menu_font_names[index].user_data();
/home/mitchell/src/gmsh/gmsh-2.13.2-source/Fltk/drawContextFltk.h:66:24: error: 
expected ‘;’ before ‘menu_font_names’
        return (intptr_t)menu_font_names[index].user_data();
make[2]: *** [CMakeFiles/gmsh.dir/Fltk/FlGui.cpp.o] Error 1
make[1]: *** [CMakeFiles/gmsh.dir/all] Error 2
make: *** [all] Error 2


William F. Mitchell
Applied and Computational Mathematics Division
National Institute of Standards and Technology
william.mitchell at nist.gov     http://math.nist.gov/~WMitchell

More information about the gmsh mailing list