Commit 7c84f6ce by Christophe Geuzaine

initialize gmsh the new way

parent 76d9821a
Pipeline #1213 passed with stage
in 16 minutes 41 seconds
......@@ -19,6 +19,8 @@
#include "Message.h"
#if defined(HAVE_GMSH)
#include <gmsh.h>
// these will disappear
#include <gmsh/GmshGlobal.h>
#include <gmsh/GmshVersion.h>
#include <gmsh/GmshConfig.h>
......@@ -647,7 +649,7 @@ int MainKernel(int argc, char *argv[])
#if defined(HAVE_GMSH)
Message::Info("Initializing Gmsh");
GmshInitialize();
gmsh::initialize();
GmshMsg *msg = 0;
if(!GmshGetMessageHandler() && !Flag_CALLED_WITH_ONELAB_SERVER){
// do not set msg handler if one is provided (e.g. on Android/iOS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment