[Gmsh] compile with med support
Christophe Geuzaine
cgeuzaine at ulg.ac.be
Tue Apr 5 07:08:46 CEST 2016
> On 04 Apr 2016, at 17:49, Bernd Hahnebach <gmsh at b75.ch> wrote:
>
> According CMakeLists.txt is MED support activated by default
>
> opt(MED "Enable MED mesh and post file formats" ${DEFAULT})
>
>
> But at my cmake output it is missing, but cmake does not complain some library is missing ?!? How do I set the path to libmedc1 for cmake gmsh?
>
Bernd - Gmsh looks for a library named libmed (.a, .so, .dylib, etc.): not sure why yours is named libmedc1?
You can modify the line
find_library(MED_LIB med)
into
find_library(MED_LIB medc1)
in the CMakeLists.txt file to see if this fixes it.
> cheers bernd
>
>
> cmake gmsh
>
> -- Gmsh 2.12.1 has been configured for Linux
> --
> -- * Build options: Ann Bamg Bfgs Blas(Generic) Blossom Cairo Chaco DIntegration Dlopen Fltk GMP Gmm Jpeg Kbipack Lapack(Generic) LinuxJoystick MathEx Mesh Metis Mmg3d Mpeg NativeFileChooser Netgen ONELAB ONELABMetamodel OpenCascade OpenGL OptHom Parser Plugins Png Post Salome Solver Taucs TetGen/BR Tetgen1.5 Voro3D Zlib
>
>
>
>
> Zitat von Bernd Hahnebach <gmsh at b75.ch>:
>
>> Hi gmsh folks,
>>
>> just compiled gmsh on debian jessie. It worked like a charm. I have libmedc1 installed but gmsh compiled without med support. How is support for med export activated in cmake?
>>
>> cheers bernd
>>
>>
>>
>> _______________________________________________
>> gmsh mailing list
>> gmsh at onelab.info
>> http://onelab.info/mailman/listinfo/gmsh
>>
>
>
>
>
>
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh
--
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine
Tetrahedron V, July 4-5 2016: http://tetrahedron.montefiore.ulg.ac.be
Free software: http://gmsh.info | http://getdp.info | http://onelab.info
More information about the gmsh
mailing list