Skip to content
Snippets Groups Projects
Commit fd5d6ebe authored by Maxime Graulich's avatar Maxime Graulich
Browse files

No commit message

No commit message
parent db9cfec8
No related branches found
No related tags found
No related merge requests found
......@@ -797,7 +797,7 @@ public:
void Msg::InitializeOnelab(const std::string &name, const std::string &sockname)
{
if defined(HAVE_ONELAB)
#if defined(HAVE_ONELAB)
if(_onelabClient) delete _onelabClient;
if(sockname.empty()){
_onelabClient = new localGmsh();
......
......@@ -11,6 +11,9 @@
#include "Options.h"
#include "PluginManager.h"
#include "GModel.h"
#if defined(__linux__) && !defined(BUILD_ANDROID)
#include <X11/Xlib.h>
#endif
int main(int argc, char *argv[])
{
......@@ -38,5 +41,8 @@ int main(int argc, char *argv[])
}
// Interactive Gmsh with FLTK GUI
#if defined(__linux__) && !defined(BUILD_ANDROID)
XInitThreads();
#endif
return GmshFLTK(argc, argv);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment