Package Base Details: gmsh

Git Clone URL: (read-only)
Submitter: S1G1
Maintainer: gborzi
Last Packager: gborzi
Votes: 50
Popularity: 0.037025
First Submitted: 2006-04-04 23:31
Last Updated: 2019-09-24 15:12

Packages (2)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 ... Next › Last »

gdolle commented on 2016-07-21 13:04

Hi @gborzi, you should add an optional dependency to `petsc` or desactivate it in the cmake otherwise it might breaks gmsh during updates.

gborzi commented on 2016-07-19 20:31

hdf5 is needed by med, and med needs hdf5 version 1.8 to work properly. Or you can try a different approach, which is the one I use and works fine for me.
Compile med with hdf5 version 1.10 using the patch that I made available here
(and the other patches). Then you will have gmsh compiled with working MED support without the need to downgrade to hdf 1.8.

jancici commented on 2016-07-19 20:12

I am not able to start gmsh because it fail to load shared libraries

I need to downgrad hdf5 to 1.8.17-1 {}

Please, can someone solve it? thank you

pizzooid commented on 2016-06-08 15:06

Please add as a dependency

fredericva commented on 2016-05-17 13:29

Compilation fails with GCC 6, but the Debian guys already have a (trivial) patch:

Description: Fix narrow conversion error with GCC-6
Author: Anton Gladky <>
Last-Update: 2016-01-30

Index: gmsh-2.12.0-source/Fltk/FlGui.cpp
--- gmsh-2.12.0-source.orig/Fltk/FlGui.cpp
+++ gmsh-2.12.0-source/Fltk/FlGui.cpp
@@ -370,7 +370,7 @@ FlGui::FlGui(int argc, char **argv)
// nothing to do here
- static char gmsh32x32[] = {
+ static unsigned char gmsh32x32[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x40, 0x03, 0x00,
0x00, 0x40, 0x03, 0x00, 0x00, 0x20, 0x07, 0x00, 0x00, 0x20, 0x07, 0x00,
0x00, 0x10, 0x0f, 0x00, 0x00, 0x10, 0x0f, 0x00, 0x00, 0x08, 0x1f, 0x00,
@@ -384,7 +384,7 @@ FlGui::FlGui(int argc, char **argv)
0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00};
((const char*)XCreateBitmapFromData(fl_display, DefaultRootWindow(fl_display),
- gmsh32x32, 32, 32));
+ (char*)(gmsh32x32), 32, 32));

graph[0]->getWindow()->show(argc >0 ? 1 : 0, argv);

mickele commented on 2016-05-13 22:49

After hdf5 upgrade to 1.10 gmsh doesn't create valid med file. Downgrading to hdf5-1.8 solves the problem. So I created a package hdf5-1.8 available at
med and gmsh must be modified to link to hdf5-1.8. PKGBUILD of med-salome links to hdf5-1.8 .
To link gmsh to hdf5-1.8 I added line

-DHDF5_LIB=/opt/hdf5-1.8/lib/ \

to cmake command

gborzi commented on 2016-05-03 11:45

After the hdf5 upgrade the package needs to be recompiled.

mickele commented on 2016-03-30 08:48

Thanks for your help.
In the meantime I sent a message to gmsh mailing list asking for suggestions.

gborzi commented on 2016-03-29 21:31

Tried opencascade 6.9.0 and 6.8.0. None worked.

gborzi commented on 2016-03-29 21:17

Maybe it worked with the older opencascade version (6.9.0)? I don't have this version in my cache, so I'll have to download it to check.