[Gmsh] Compiling Gmsh with MED support

Christophe Geuzaine cgeuzaine at ulg.ac.be
Fri Apr 15 11:01:34 CEST 2011


On 15/04/11 09:11, Karin&NiKo wrote:
> Dear Gmsh experts,
>
> I would like to compile Gmsh with MED support. I found :
> - how to set the path to the HDF5 and MED libraries but not to the
> include directories

only possibility with cmake is to define CMAKE_PREFIX_PATH (e.g. 
-DCMAKE_PREFIX_PATH="/home/nico/med-1.2.3;/home/nico/hdf5").

> - how to specify the "-ldl" extra link in order to specify the dlopen
> support

we fixed a bug a couple of days ago in our CMakeList.txt file to address 
this issue: now -ldl should be found by default if it's available

>
> Thanks for your help,
> Nicolas
>
>
>
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh


-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine