cannot compile gmsh
I tried to compile gmsh master and 4.2.3 tarball. cmake ran fine but build failed with the error
/home/bernard/Downloads/gmsh/Geo/GModelIO_CGNS.cpp:58:31: error: ‘ElementType_t’ was not declared in this scope
static int parentFromCGNSType(ElementType_t cgnsType)
^
/home/bernard/Downloads/gmsh/Geo/GModelIO_CGNS.cpp:59:1: error: expected ‘,’ or ‘;’ before ‘{’ token
{
^
In file included from /home/bernard/Downloads/gmsh/Geo/GModelIO_CGNS.cpp:2354:0:
/home/bernard/Downloads/gmsh/Geo/CGNSUtils.h:31:28: error: expected declaration before end of line
OS is Ubuntu 16.04 I have tried gcc 5.4 and gcc 8.2
Thanks.