<div dir="ltr"><div>First, thank you, Drs. Geuzaine and Remacle, especially, and all the others, for the many years developing the magnificent GMSH program! It is a triumph.  <br></div><div><br></div><div>I am trying to build from the SVN source with no success.  The steps I took are:</div><div><br></div><div>1. Download GMSH source (version 24830 from <a href="https://onelab.info/svn/gmsh/trunk" target="_blank">https://onelab.info/svn/g<wbr>msh/trunk</a>) into C:\GMSH_SVN<br></div><div>2. Create BUILD subdirectory (C:\GMSH_SVN\BUILD)</div><div>3. Using CMAKE-GUI ver 3.7.2 with the following parameters:<br>    CMAKE_PREFIX_PATH=C:\GMSH-DEP2<wbr>11  (BLAS/FLTK dependencies from the GMSH-2.11sources)<br></div><div>    CMAKE_MAKE_PROGRAM=C:/Program Files/mingw-w64/x86_64-6.3.0-<wbr>win32-seh-rt_v5-rev1/mingw64/<wbr>bin/mingw32-make.exe<br></div><div>    CMAKE_CXX_COMPILER=C:\Program Files\mingw-w64\x86_64-6.3.0-w<wbr>in32-seh-rt_v5-rev1\mingw64\bi<wbr>n\g++.exe<br></div><div>    CMAKE_Fortran_COMPILER=C:\Prog<wbr>ram Files\mingw-w64\x86_64-6.3.0-w<wbr>in32-seh-rt_v5-rev1\mingw64\bi<wbr>n\gfortran.exe</div><div><br></div><div>   CMAKE RESULTS LOOK GOOD as shown in following output snippet (also see CMAKE_OUTPUT.txt attached to this email.):</div><div><div><br></div><div><div>Gmsh 2.16.0 has been configured for Windows</div><div>* Build options: Ann Bamg Bfgs Blossom Chaco DIntegration Fltk Gmm Jpeg(Fltk) Kbipack MathEx Med Mesh Metis Mmg3d Mpeg NativeFileChooser Netgen NoSocklenT ONELAB ONELABMetamodel OpenGL OptHom Parser Plugins Png(Fltk) Post Solver Taucs TetGen/BR Tetgen1.5 Voro3D Zlib(Fltk)   <br></div><div> * Build type: RelWithDebInfo</div><div> * C compiler: C:/Program Files/mingw-w64/x86_64-6.3.0-<wbr>win32-seh-rt_v5-rev1/mingw64/<wbr>bin/gcc.exe</div><div> * C++ compiler: C:/Program Files/mingw-w64/x86_64-6.3.0-<wbr>win32-seh-rt_v5-rev1/mingw64/<wbr>bin/g++.exe</div><div> * Install prefix: C:/Program Files (x86)/gmsh</div><div><br></div><div>Configuring done</div><div>Generating done</div></div></div><div><br></div><div>4. In DOS CMD window:</div><div>Set PATH to <br></div><div><br></div><div>PATH=C:\Program Files\mingw-w64\x86_64-6.3.0-<wbr>win32-seh-rt_v5-rev1\mingw64\<wbr>bin;C:\Program Files\CMake\bin;C:\Program Files\mingw-w64\x86_64-6.3.0-<wbr>win32-seh-rt_v5-rev1\mingw64\<wbr>bin;<br></div><div><br></div><div>changed to C:\GMSH_SVN\BUILD subdirectory and entered command:</div><div><br></div><div>mingw32-make<br></div><div><div><br></div><div>Results attached in MAKE OUTPUT.txt and shown below:</div><div><br></div><div><div>C:\gmsh_SVN\BUILD>mingw32-make</div><div>Scanning dependencies of target gmsh</div><div>                                                                                                                                         [  0%] Building CXX object CMakeFiles/gmsh.dir/Fltk/Main.cpp.obj</div><div>[  0%] Building CXX object CMakeFiles/gmsh.dir/Common/Gmsh.cpp.obj</div><div>In file included from C:/gmsh-dep211/include/FL/Fl_Group.H:26:0,</div><div>                 from C:/gmsh-dep211/include/FL/Fl_Window.H:25,</div><div>                 from C:/gmsh_SVN/Fltk/graphicWindow.h:11,</div><div>                 from C:\gmsh_SVN\Common\Gmsh.cpp:51:</div><div>C:/gmsh-dep211/include/FL/Fl_Widget.H: In member function 'void Fl_Widget::callback(void (*)(Fl_Widget*, long int), long int)':</div><div>C:/gmsh-dep211/include/FL/Fl_Widget.H:575:91: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]</div><div>   void callback(Fl_Callback1*cb, long p=0) {callback_=(Fl_Callback*)cb; user_data_=(void*)p;}</div><div>                                                                                           ^</div><div>C:/gmsh-dep211/include/FL/Fl_Widget.H: In member function 'void Fl_Widget::argument(long int)':</div><div>C:/gmsh-dep211/include/FL/Fl_Widget.H:597:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]</div><div>   void argument(long v) {user_data_ = (void*)v;}</div><div>                                              ^</div><div>C:/gmsh-dep211/include/FL/Fl_Widget.H: In member function 'void Fl_Widget::do_callback(Fl_Widget*, long int)':</div><div>C:/gmsh-dep211/include/FL/Fl_Widget.H:835:65: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]</div><div>   void do_callback(Fl_Widget* o,long arg) {do_callback(o,(void*)arg);}</div><div>                                                                 ^~~</div><div>In file included from C:/gmsh-dep211/include/FL/Fl_Menu_.H:28:0,</div><div>                 from C:/gmsh-dep211/include/FL/Fl_Menu_Bar.H:25,</div><div>                 from C:/gmsh_SVN/Fltk/graphicWindow.h:20,</div><div>                 from C:\gmsh_SVN\Common\Gmsh.cpp:51:</div><div>C:/gmsh-dep211/include/FL/Fl_Menu_Item.H: In member function 'void Fl_Menu_Item::callback(void (*)(Fl_Widget*, long int), long int)':</div><div>C:/gmsh-dep211/include/FL/Fl_Menu_Item.H:243:89: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]</div><div>   void callback(Fl_Callback1*c, long p=0) {callback_=(Fl_Callback*)c; user_data_=(void*)p;}</div><div>                                                                                         ^</div><div>C:/gmsh-dep211/include/FL/Fl_Menu_Item.H: In member function 'void Fl_Menu_Item::argument(long int)':</div><div>C:/gmsh-dep211/include/FL/Fl_Menu_Item.H:267:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]</div><div>   void argument(long v) {user_data_ = (void*)v;}</div><div>                                              ^</div><div>C:/gmsh-dep211/include/FL/Fl_Menu_Item.H: In member function 'void Fl_Menu_Item::do_callback(Fl_Widget*, long int) const':</div><div>C:/gmsh-dep211/include/FL/Fl_Menu_Item.H:391:70: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]</div><div>   void do_callback(Fl_Widget* o,long arg) const {callback_(o, (void*)arg);}</div><div>                                                                      ^~~</div><div>[  0%] Building CXX object CMakeFiles/gmsh.dir/Common/GmshMessage.cpp.obj</div><div>[  0%] Building CXX object CMakeFiles/gmsh.dir/Common/gmshPopplerWrapper.cpp.obj</div><div>[  0%] Building CXX object CMakeFiles/gmsh.dir/Common/Context.cpp.obj</div><div>[  0%] Building CXX object CMakeFiles/gmsh.dir/Common/Options.cpp.obj</div><div>In file included from C:/gmsh-dep211/include/FL/Fl_Tooltip.H:26:0,</div><div>                 from C:\gmsh_SVN\Common\Options.cpp:45:</div><div>C:/gmsh-dep211/include/FL/Fl_Widget.H: In member function 'void Fl_Widget::callback(void (*)(Fl_Widget*, long int), long int)':</div><div>C:/gmsh-dep211/include/FL/Fl_Widget.H:575:91: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]</div><div>   void callback(Fl_Callback1*cb, long p=0) {callback_=(Fl_Callback*)cb; user_data_=(void*)p;}</div><div>                                                                                           ^</div><div>C:/gmsh-dep211/include/FL/Fl_Widget.H: In member function 'void Fl_Widget::argument(long int)':</div><div>C:/gmsh-dep211/include/FL/Fl_Widget.H:597:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]</div><div>   void argument(long v) {user_data_ = (void*)v;}</div><div>                                              ^</div><div>C:/gmsh-dep211/include/FL/Fl_Widget.H: In member function 'void Fl_Widget::do_callback(Fl_Widget*, long int)':</div><div>C:/gmsh-dep211/include/FL/Fl_Widget.H:835:65: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]</div><div>   void do_callback(Fl_Widget* o,long arg) {do_callback(o,(void*)arg);}</div><div>                                                                 ^~~</div><div>In file included from C:/gmsh-dep211/include/FL/Fl_Menu_.H:28:0,</div><div>                 from C:/gmsh-dep211/include/FL/Fl_Menu_Bar.H:25,</div><div>                 from C:/gmsh_SVN/Fltk/graphicWindow.h:20,</div><div>                 from C:/gmsh_SVN/Fltk/drawContextFltk.h:19,</div><div>                 from C:\gmsh_SVN\Common\Options.cpp:47:</div><div>C:/gmsh-dep211/include/FL/Fl_Menu_Item.H: In member function 'void Fl_Menu_Item::callback(void (*)(Fl_Widget*, long int), long int)':</div><div>C:/gmsh-dep211/include/FL/Fl_Menu_Item.H:243:89: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]</div><div>   void callback(Fl_Callback1*c, long p=0) {callback_=(Fl_Callback*)c; user_data_=(void*)p;}</div><div>                                                                                         ^</div><div>C:/gmsh-dep211/include/FL/Fl_Menu_Item.H: In member function 'void Fl_Menu_Item::argument(long int)':</div><div>C:/gmsh-dep211/include/FL/Fl_Menu_Item.H:267:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]</div><div>   void argument(long v) {user_data_ = (void*)v;}</div><div>                                              ^</div><div>C:/gmsh-dep211/include/FL/Fl_Menu_Item.H: In member function 'void Fl_Menu_Item::do_callback(Fl_Widget*, long int) const':</div><div>C:/gmsh-dep211/include/FL/Fl_Menu_Item.H:391:70: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]</div><div>   void do_callback(Fl_Widget* o,long arg) const {callback_(o, (void*)arg);}</div><div>                                                                      ^~~</div><div>[  0%] Building CXX object CMakeFiles/gmsh.dir/Common/CommandLine.cpp.obj</div><div>In file included from C:/gmsh-dep211/include/hdf5.h:23:0,</div><div>                 from C:/gmsh-dep211/include/med.h:22,</div><div>                 from C:\gmsh_SVN\Common\CommandLine.cpp:41:</div><div>C:/gmsh-dep211/include/H5public.h:207:33: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]</div><div> #   define H5_PRINTF_HADDR_FMT  "%"H5_PRINTF_LL_WIDTH"u"</div><div>                                 ^</div><div>C:/gmsh-dep211/include/H5public.h:122:13: error: conflicting declaration 'typedef int ssize_t'</div><div> typedef int ssize_t;</div><div>             ^~~~~~~</div><div>In file included from C:/PROGRA~1/MINGW-~1/X86_64~1.0-W/mingw64/x86_64-w64-mingw32/include/wchar.h:9:0,</div><div>                 from C:/PROGRA~1/MINGW-~1/X86_64~1.0-W/mingw64/lib/gcc/x86_64-w64-mingw32/6.3.0/include/c++/cwchar:44,</div><div>                 from C:/PROGRA~1/MINGW-~1/X86_64~1.0-W/mingw64/lib/gcc/x86_64-w64-mingw32/6.3.0/include/c++/bits/postypes.h:40,</div><div>                 from C:/PROGRA~1/MINGW-~1/X86_64~1.0-W/mingw64/lib/gcc/x86_64-w64-mingw32/6.3.0/include/c++/bits/char_traits.h:40,</div><div>                 from C:/PROGRA~1/MINGW-~1/X86_64~1.0-W/mingw64/lib/gcc/x86_64-w64-mingw32/6.3.0/include/c++/string:40,</div><div>                 from C:\gmsh_SVN\Common\CommandLine.cpp:6:</div><div>C:/PROGRA~1/MINGW-~1/X86_64~1.0-W/mingw64/x86_64-w64-mingw32/include/crtdefs.h:45:35: note: previous declaration as 'typedef long long int ssize_t'</div><div> __MINGW_EXTENSION typedef __int64 ssize_t;</div><div>                                   ^~~~~~~</div><div>In file included from C:\gmsh_SVN\Common\CommandLine.cpp:13:0:</div><div>C:\gmsh_SVN\Common\CommandLine.cpp: In function 'const char* GetGmshPackager()':</div><div>C:/gmsh_SVN/BUILD/Common/GmshVersion.h:16:28: warning: unknown escape sequence: '\o'</div><div> #define GMSH_PACKAGER      "lenovolaptopj\owner"</div><div>                            ^</div><div>C:\gmsh_SVN\Common\CommandLine.cpp:63:39: note: in expansion of macro 'GMSH_PACKAGER'</div><div> const char *GetGmshPackager(){ return GMSH_PACKAGER; }</div><div>                                       ^~~~~~~~~~~~~</div><div>C:\gmsh_SVN\Common\CommandLine.cpp: In function 'void GetOptions(int, char**)':</div><div>C:/gmsh_SVN/BUILD/Common/GmshVersion.h:16:28: warning: unknown escape sequence: '\o'</div><div> #define GMSH_PACKAGER      "lenovolaptopj\owner"</div><div>                            ^</div><div>C:\gmsh_SVN\Common\CommandLine.cpp:993:52: note: in expansion of macro 'GMSH_PACKAGER'</div><div>         fprintf(stderr, "Packaged by      : %s\n", GMSH_PACKAGER);</div><div>                                                    ^~~~~~~~~~~~~</div><div>CMakeFiles\gmsh.dir\build.make:212: recipe for target 'CMakeFiles/gmsh.dir/Common/CommandLine.cpp.obj' failed</div><div>mingw32-make[2]: *** [CMakeFiles/gmsh.dir/Common/CommandLine.cpp.obj] Error 1</div><div>CMakeFiles\Makefile2:66: recipe for target 'CMakeFiles/gmsh.dir/all' failed</div><div>mingw32-make[1]: *** [CMakeFiles/gmsh.dir/all] Error 2</div><div>Makefile:159: recipe for target 'all' failed</div><div>mingw32-make: *** [all] Error 2</div></div><div><br></div><div><br></div></div><div>Please help with any suggestions. </div><div><br></div><div>Thanks, John</div></div>