<div dir="ltr"><div>Greetings, I've successfully compiled FLTK and it works. Now, just having a little trouble setting <span style="font:400 13.33px arial,sans-serif;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;display:inline;white-space:normal;font-size-adjust:none;font-stretch:normal;float:none;background-color:transparent">FLTK_INCLUDE_DIR as shown below.</span></div><div><span style="font:400 13.33px arial,sans-serif;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;display:inline;white-space:normal;font-size-adjust:none;font-stretch:normal;float:none;background-color:transparent"><br></span></div><div><span style="font:400 13.33px arial,sans-serif;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;display:inline;white-space:normal;font-size-adjust:none;font-stretch:normal;float:none;background-color:transparent">Thank you for all the assistance.</span></div><div><span style="font:400 13.33px arial,sans-serif;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;display:inline;white-space:normal;font-size-adjust:none;font-stretch:normal;float:none;background-color:transparent"><br></span></div><div><span style="font:400 13.33px arial,sans-serif;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;display:inline;white-space:normal;font-size-adjust:none;font-stretch:normal;float:none;background-color:transparent">John</span></div><div><b></b><i></i><u></u><sub></sub><sup></sup><strike></strike><br></div><div>johnf@INSPI13 /cygdrive/c/gmsh/build<br>$ cmake -DCMAKE_CXX_COMPILER=/usr/bin/x86_64-w64-mingw32-g++.exe -DCMAKE_C_COMPILER=/usr/bin/x86_64-w64-mingw32-gcc.exe<br> -DCMAKE_Fortran_COMPILER=/usr/bin/x86_64-w64-mingw32-gfortran.exe cmake -DCMAKE_CXX_COMPILER=/usr/bin/x86_64-w64-mingw<br>32-g++.exe -DCMAKE_C_COMPILER=/usr/bin/x86_64-w64-mingw32-gcc.exe -DCMAKE_Fortran_COMPILER=/usr/bin/x86_64-w64-mingw32-<br>gfortran.exe -DCMAKE_PREFIX_PATH=/cygdrive/c/fltk/lib ..<br>-- The CXX compiler identification is GNU 6.4.0<br>-- The C compiler identification is GNU 6.4.0<br>-- Check for working CXX compiler: /usr/bin/x86_64-w64-mingw32-g++.exe<br>-- Check for working CXX compiler: /usr/bin/x86_64-w64-mingw32-g++.exe -- works<br>-- Detecting CXX compiler ABI info<br>-- Detecting CXX compiler ABI info - done<br>-- Detecting CXX compile features<br>-- Detecting CXX compile features - done<br>-- Check for working C compiler: /usr/bin/x86_64-w64-mingw32-gcc.exe<br>-- Check for working C compiler: /usr/bin/x86_64-w64-mingw32-gcc.exe -- works<br>-- Detecting C compiler ABI info<br>-- Detecting C compiler ABI info - done<br>-- Detecting C compile features<br>-- Detecting C compile features - done<br>-- Looking for sys/types.h<br>-- Looking for sys/types.h - found<br>-- Looking for stdint.h<br>-- Looking for stdint.h - found<br>-- Looking for stddef.h<br>-- Looking for stddef.h - found<br>-- Check size of void*<br>-- Check size of void* - done<br>-- Found 64Bit<br>-- Performing Test STDCXX11<br>-- Performing Test STDCXX11 - Success<br>-- Found C++11<br>-- The Fortran compiler identification is GNU 6.4.0<br>-- Check for working Fortran compiler: /usr/bin/x86_64-w64-mingw32-gfortran.exe<br>-- Check for working Fortran compiler: /usr/bin/x86_64-w64-mingw32-gfortran.exe -- works<br>-- Detecting Fortran compiler ABI info<br>-- Detecting Fortran compiler ABI info - done<br>-- Checking whether /usr/bin/x86_64-w64-mingw32-gfortran.exe supports Fortran 90<br>-- Checking whether /usr/bin/x86_64-w64-mingw32-gfortran.exe supports Fortran 90 -- yes<br>-- Looking for Fortran sgemm<br>-- Looking for Fortran sgemm - found<br>-- Looking for pthread.h<br>-- Looking for pthread.h - found<br>-- Looking for pthread_create<br>-- Looking for pthread_create - found<br>-- Found Threads: TRUE<br>-- A library with BLAS API found.<br>-- Found Blas<br>-- A library with BLAS API found.<br>-- Looking for Fortran cheev<br>-- Looking for Fortran cheev - found<br>-- A library with LAPACK API found.<br>-- Found Lapack<br>-- Found Mesh<br>-- Found Solver<br>-- Found Post<br>-- Found Plugins<br>-- Found Parser<br>-- Found OpenGL: /usr/lib/libGL.dll.a<br>-- Looking for XOpenDisplay in /usr/lib/libX11.dll.a;/usr/lib/libXext.dll.a<br>-- Looking for XOpenDisplay in /usr/lib/libX11.dll.a;/usr/lib/libXext.dll.a - found<br>-- Looking for gethostbyname<br>-- Looking for gethostbyname - not found<br>-- Looking for gethostbyname in nsl<br>-- Looking for gethostbyname in nsl - not found<br>-- Looking for gethostbyname in bsd<br>-- Looking for gethostbyname in bsd - not found<br>-- Looking for connect<br>-- Looking for connect - not found<br>-- Looking for connect in socket<br>-- Looking for connect in socket - not found<br>-- Looking for remove<br>-- Looking for remove - found<br>-- Looking for shmat<br>-- Looking for shmat - not found<br>-- Looking for shmat in ipc<br>-- Looking for shmat in ipc - not found<br>-- Found X11: /usr/lib/libX11.dll.a<br>-- Found FLTK: /cygdrive/c/fltk/lib/libfltk_images.a;/cygdrive/c/fltk/lib/libfltk_gl.a;/usr/lib/libGL.dll.a;/cygdrive/c/fltk/lib/libfltk.a<br>-- Found Fltk<br>-- Found NativeFileChooser<br>-- Found ONELAB<br>-- Found ONELABMetamodel<br>-- Found JPEG: /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libjpeg.dll.a<br>-- Found Jpeg<br>-- Found ZLIB: /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libz.dll.a (found version "1.2.11")<br>-- Found Zlib<br>-- Found PNG: /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libpng.dll.a (found version "1.6.34")<br>-- Found Png<br>-- Found Mpeg<br>-- Found OpenGL<br>-- System ANN not found: using contrib/ANN instead<br>-- Found Ann<br>-- Found Bfgs<br>-- Found Cairo<br>-- Found DIntegration<br>-- Found OptHom<br>-- Found Kbipack<br>-- Found GMP<br>-- Found MathEx<br>-- Found Metis<br>-- Note: By including Metis you have to comply with Metis' special licensing requirements stated in contrib/Metis/README.txt.<br>-- Found Chaco<br>-- Found TetGen/BR<br>-- Found Voro3D<br>-- Found Blossom<br>-- Found Netgen<br>-- Found Bamg<br>-- System MMG3D not found: using contrib/mmg3d instead<br>-- Found Mmg3d<br>-- Found Tetgen1.5<br>-- Note: By including Tetgen you have to comply with Tetgen's special licensing requirements stated in contrib/Tetgen1.5/LICENSE.<br>-- Could NOT find HDF5 (missing: HDF5_LIBRARIES HDF5_INCLUDE_DIRS HDF5_HL_LIBRARIES)<br>-- HDF5 not found<br>-- System GMM not found: using contrib/gmm instead<br>-- Found Gmm<br>-- Found Taucs<br>-- OCC lib TKSTEP not Found<br>-- OCC lib TKSTEP209 not Found<br>-- OCC lib TKSTEPAttr not Found<br>-- OCC lib TKSTEPBase not Found<br>-- OCC lib TKIGES not Found<br>-- OCC lib TKXSBase not Found<br>-- OCC lib TKOffset not Found<br>-- OCC lib TKFeat not Found<br>-- OCC lib TKFillet not Found<br>-- OCC lib TKBool not Found<br>-- OCC lib TKShHealing not Found<br>-- OCC lib TKMesh not Found<br>-- OCC lib TKHLR not Found<br>-- OCC lib TKBO not Found<br>-- OCC lib TKPrim not Found<br>-- OCC lib TKTopAlgo not Found<br>-- OCC lib TKGeomAlgo not Found<br>-- OCC lib TKBRep not Found<br>-- OCC lib TKGeomBase not Found<br>-- OCC lib TKG3d not Found<br>-- OCC lib TKG2d not Found<br>-- OCC lib TKMath not Found<br>-- OCC lib TKernel not Found<br>-- Looking for vsnprintf<br>-- Looking for vsnprintf - found<br>-- Looking for sys/socket.h<br>-- Looking for sys/socket.h - not found<br>-- Check size of socklen_t<br>-- Check size of socklen_t - failed<br>-- Found NoSocklenT<br>-- Check size of intptr_t<br>-- Check size of intptr_t - done<br>-- Looking for dlfcn.h<br>-- Looking for dlfcn.h - found<br>-- Found Dlopen<br>-- Looking for linux/joystick.h<br>-- Looking for linux/joystick.h - not found<br>-- Performing Test WALL<br>-- Performing Test WALL - Success<br>-- Performing Test WCAST<br>-- Performing Test WCAST - Failed<br>-- Performing Test WDEPREC<br>-- Performing Test WDEPREC - Success<br>-- Performing Test WIND<br>-- Performing Test WIND - Success<br>-- Performing Test NOWARN<br>-- Performing Test NOWARN - Success<br>-- Performing Test NOOPT<br>-- Performing Test NOOPT - Success<br>--<br>-- Gmsh 3.0.6 has been configured for Windows64<br>--<br>-- * Build options: 64Bit Ann Bamg Bfgs Blas Blossom C++11 Cairo Chaco DIntegration Dlopen Fltk GMP Gmm Jpeg Kbipack Lapack MathEx Mesh Metis Mmg3d Mpeg NativeFileChooser Netgen NoSocklenT ONELAB ONELABMetamodel OpenGL OptHom Parser Plugins Png Post Solver Taucs TetGen/BR Tetgen1.5 Voro3D Zlib<br>-- * Build type: RelWithDebInfo<br>-- * C compiler: /usr/bin/x86_64-w64-mingw32-gcc.exe<br>-- * C++ compiler: /usr/bin/x86_64-w64-mingw32-g++.exe<br>-- * Install prefix: /usr/local<br>--<br>CMake Error: The following variables are used in this project, but they are set to NOTFOUND.<br>Please set them or make sure they are set and tested correctly in the CMake files:<br>FLTK_INCLUDE_DIR<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh<br> used as include directory in directory /cygdrive/c/gmsh</div><div>-- Configuring incomplete, errors occurred!<br>See also "/cygdrive/c/gmsh/build/CMakeFiles/CMakeOutput.log".<br>See also "/cygdrive/c/gmsh/build/CMakeFiles/CMakeError.log".</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 26, 2018 at 1:16 PM, John Staples <span dir="ltr"><<a href="mailto:john.f.staples@gmail.com" target="_blank">john.f.staples@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Thank you again. I'm having trouble getting FTLK to see the libraries <span style="font:400 13.33px arial,sans-serif;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;display:inline;white-space:normal;font-size-adjust:none;font-stretch:normal;float:none;background-color:transparent"> libpng16-16.dll, <span style="font:400 13.33px arial,sans-serif;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;display:inline;white-space:normal;font-size-adjust:none;font-stretch:normal;float:none;background-color:transparent">libstdc++-6.<wbr>dll, etc. THese are located in the <span style="font:400 13.33px arial,sans-serif;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;display:inline;white-space:normal;font-size-adjust:none;font-stretch:normal;float:none;background-color:transparent">/usr/x86_64-w64-</span><br style="background:none;font:400 13.33px arial,sans-serif;outline:transparent 0px;border:0px rgb(34,34,34);width:auto;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;overflow:visible;text-decoration:none;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:normal"><span style="font:400 13.33px arial,sans-serif;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;display:inline;white-space:normal;font-size-adjust:none;font-stretch:normal;float:none;background-color:transparent">mingw32/sys-root/mingw/bin directory. I tried the LDFLAGS setting, but without luck. Do you have any suggestion.</span></span></span></div><div><span style="font:400 13.33px arial,sans-serif;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;display:inline;white-space:normal;font-size-adjust:none;font-stretch:normal;float:none;background-color:transparent"><span style="font:400 13.33px arial,sans-serif;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;display:inline;white-space:normal;font-size-adjust:none;font-stretch:normal;float:none;background-color:transparent"><span style="font:400 13.33px arial,sans-serif;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;display:inline;white-space:normal;font-size-adjust:none;font-stretch:normal;float:none;background-color:transparent"><br></span></span></span></div><div><span style="font:400 13.33px arial,sans-serif;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;display:inline;white-space:normal;font-size-adjust:none;font-stretch:normal;float:none;background-color:transparent"><span style="font:400 13.33px arial,sans-serif;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;display:inline;white-space:normal;font-size-adjust:none;font-stretch:normal;float:none;background-color:transparent"><span style="font:400 13.33px arial,sans-serif;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;display:inline;white-space:normal;font-size-adjust:none;font-stretch:normal;float:none;background-color:transparent">Thank you so very much.</span></span></span></div><div><span style="font:400 13.33px arial,sans-serif;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;display:inline;white-space:normal;font-size-adjust:none;font-stretch:normal;float:none;background-color:transparent"><span style="font:400 13.33px arial,sans-serif;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;display:inline;white-space:normal;font-size-adjust:none;font-stretch:normal;float:none;background-color:transparent"><span style="font:400 13.33px arial,sans-serif;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;display:inline;white-space:normal;font-size-adjust:none;font-stretch:normal;float:none;background-color:transparent"><br></span></span></span></div><div><span style="font:400 13.33px arial,sans-serif;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;display:inline;white-space:normal;font-size-adjust:none;font-stretch:normal;float:none;background-color:transparent"><span style="font:400 13.33px arial,sans-serif;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;display:inline;white-space:normal;font-size-adjust:none;font-stretch:normal;float:none;background-color:transparent"><span style="font:400 13.33px arial,sans-serif;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;display:inline;white-space:normal;font-size-adjust:none;font-stretch:normal;float:none;background-color:transparent">John</span></span></span></div><div><b></b><i></i><u></u><sub></sub><sup></sup><strike></strike><b></b><i></i><u></u><sub></sub><sup></sup><strike></strike><b></b><i></i><u></u><sub></sub><sup></sup><strike></strike><br></div><div>johnf@INSPI13 /cygdrive/c/fltk<br>$ ./configure CC=/usr/bin/x86_64-w64-<wbr>mingw32-gcc.exe CXX=/usr/bin/x86_64-w64-<wbr>mingw32-g++.exe LDFLAGS=-L/usr/x86_64-w64-<br>mingw32/sys-root/mingw/bin<br>checking build system type... x86_64-unknown-cygwin<br>checking host system type... x86_64-unknown-cygwin<br>checking for gcc... /usr/bin/x86_64-w64-mingw32-<wbr>gcc.exe<br>checking whether the C compiler works... yes<br>checking for C compiler default output file name... a.exe<br>checking for suffix of executables... .exe<br>checking whether we are cross compiling... no<br>checking for suffix of object files... o<br>checking whether we are using the GNU C compiler... yes<br>checking whether /usr/bin/x86_64-w64-mingw32-<wbr>gcc.exe accepts -g... yes<br>checking for /usr/bin/x86_64-w64-mingw32-<wbr>gcc.exe option to accept ISO C89... none needed<br>checking whether we are using the GNU C++ compiler... yes<br>checking whether /usr/bin/x86_64-w64-mingw32-g+<wbr>+.exe accepts -g... yes<br>checking for a BSD-compatible install... /usr/bin/install -c<br>checking for nroff... /usr/bin/nroff<br>checking for doxygen... no<br>checking for ranlib... ranlib<br>checking for ar... /usr/bin/ar<br>checking for windres... /usr/bin/windres<br>checking how to run the C preprocessor... /usr/bin/x86_64-w64-mingw32-<wbr>gcc.exe -E<br>checking for grep that handles long lines and -e... /usr/bin/grep<br>checking for egrep... /usr/bin/grep -E<br>checking for ANSI C header files... yes<br>checking for sys/types.h... yes<br>checking for sys/stat.h... yes<br>checking for stdlib.h... yes<br>checking for string.h... yes<br>checking for memory.h... yes<br>checking for strings.h... yes<br>checking for inttypes.h... yes<br>checking for stdint.h... yes<br>checking for unistd.h... yes<br>checking size of short... 2<br>checking size of int... 4<br>checking size of long... 4<br>checking whether byte ordering is bigendian... no<br>checking whether the compiler recognizes bool as a built-in type... yes<br>checking for dirent.h that defines DIR... yes<br>checking for library containing opendir... none required<br>checking sys/select.h usability... no<br>checking sys/select.h presence... no<br>checking for sys/select.h... no<br>checking sys/stdtypes.h usability... no<br>checking sys/stdtypes.h presence... no<br>checking for sys/stdtypes.h... no<br>checking whether we have the POSIX compatible scandir() prototype... no<br>checking for scandir... no<br>checking for vsnprintf... yes<br>checking for snprintf... yes<br>checking for strings.h... (cached) yes<br>checking for strcasecmp... yes<br>checking for strlcat... no<br>checking for strlcpy... no<br>checking locale.h usability... yes<br>checking locale.h presence... yes<br>checking for locale.h... yes<br>checking for localeconv... yes<br>checking for library containing pow... none required<br>checking for special C compiler options needed for large files... no<br>checking for _FILE_OFFSET_BITS value needed for large files... 64<br>checking for long long int... yes<br>checking for library containing dlsym... -ldl<br>checking dlfcn.h usability... yes<br>checking dlfcn.h presence... yes<br>checking for dlfcn.h... yes<br>checking for jpeg_CreateCompress in -ljpeg... yes<br>checking jpeglib.h usability... yes<br>checking jpeglib.h presence... yes<br>checking for jpeglib.h... yes<br>checking for gzgets in -lz... yes<br>checking zlib.h usability... yes<br>checking zlib.h presence... yes<br>checking for zlib.h... yes<br>checking for png_read_info in -lpng... yes<br>checking png.h usability... yes<br>checking png.h presence... yes<br>checking for png.h... yes<br>checking libpng/png.h usability... no<br>checking libpng/png.h presence... no<br>checking for libpng/png.h... no<br>checking for png_get_valid in -lpng... yes<br>checking for png_set_tRNS_to_alpha in -lpng... yes<br>checking GL/gl.h usability... yes<br>checking GL/gl.h presence... yes<br>checking for GL/gl.h... yes<br>checking GL/glu.h usability... yes<br>checking GL/glu.h presence... yes<br>checking for GL/glu.h... yes<br>checking if GCC supports -fno-exceptions... yes<br>checking if GCC supports -fno-strict-aliasing... yes<br>checking if ld supports -no-undefined... yes<br>checking if ld supports -Bsymbolic-functions... yes<br>checking if toolchain supports sections... yes</div><div>Configuration Summary<br>------------------------------<wbr>------------------------------<wbr>-------------<br> Directories: prefix=/usr/local<br> bindir=${exec_prefix}/bin<br> datadir=${datarootdir}<br> datarootdir=${prefix}/share<br> exec_prefix=${prefix}<br> includedir=${prefix}/include<br> libdir=${exec_prefix}/lib<br> mandir=${datarootdir}/man<br> Graphics: GDI<br>Image Libraries: JPEG=System<br> PNG=System<br> ZLIB=System<br> Large Files: YES<br> OpenGL: YES<br> Threads: YES<br>configure: creating ./config.status<br>config.status: creating makeinclude<br>config.status: creating fltk.list<br>config.status: creating fltk-config<br>config.status: creating fltk.spec<br>config.status: creating FL/Makefile<br>config.status: creating config.h<br>config.status: creating FL/abi-version.h</div><div>johnf@INSPI13 /cygdrive/c/fltk<br>$ make<br>=== making src ===<br>Compiling Fl.cxx...<br>Compiling Fl_Adjuster.cxx...<br>Compiling Fl_Bitmap.cxx...<br>Compiling Fl_Browser.cxx...<br>Compiling Fl_Browser_.cxx...<br>Compiling Fl_Browser_load.cxx...<br>Compiling Fl_Box.cxx...<br>Compiling Fl_Button.cxx...<br>Compiling Fl_Chart.cxx...<br>Compiling Fl_Check_Browser.cxx...<br>Compiling Fl_Check_Button.cxx...<br>Compiling Fl_Choice.cxx...<br>Compiling Fl_Clock.cxx...<br>Compiling Fl_Color_Chooser.cxx...<br>Compiling Fl_Copy_Surface.cxx...<br>Compiling Fl_Counter.cxx...<br>Compiling Fl_Dial.cxx...<br>Compiling Fl_Device.cxx...<br>Compiling Fl_Double_Window.cxx...<br>Compiling Fl_File_Browser.cxx...<br>Compiling Fl_File_Chooser.cxx...<br>Compiling Fl_File_Chooser2.cxx...<br>Compiling Fl_File_Icon.cxx...<br>Compiling Fl_File_Input.cxx...<br>Compiling Fl_Group.cxx...<br>Compiling Fl_Help_View.cxx...<br>Compiling Fl_Image.cxx...<br>Compiling Fl_Image_Surface.cxx...<br>Compiling Fl_Input.cxx...<br>Compiling Fl_Input_.cxx...<br>Compiling Fl_Light_Button.cxx...<br>Compiling Fl_Menu.cxx...<br>Compiling Fl_Menu_.cxx...<br>Compiling Fl_Menu_Bar.cxx...<br>Compiling Fl_Menu_Button.cxx...<br>Compiling Fl_Menu_Window.cxx...<br>Compiling Fl_Menu_add.cxx...<br>Compiling Fl_Menu_global.cxx...<br>Compiling Fl_Multi_Label.cxx...<br>Compiling Fl_Native_File_Chooser.cxx...<br>Compiling Fl_Overlay_Window.cxx...<br>Compiling Fl_Pack.cxx...<br>Compiling Fl_Paged_Device.cxx...<br>Compiling Fl_Pixmap.cxx...<br>Compiling Fl_PostScript.cxx...<br>Compiling Fl_Positioner.cxx...<br>Compiling Fl_Preferences.cxx...<br>Compiling Fl_Printer.cxx...<br>Compiling Fl_Progress.cxx...<br>Compiling Fl_Repeat_Button.cxx...<br>Compiling Fl_Return_Button.cxx...<br>Compiling Fl_Roller.cxx...<br>Compiling Fl_Round_Button.cxx...<br>Compiling Fl_Scroll.cxx...<br>Compiling Fl_Scrollbar.cxx...<br>Compiling Fl_Shared_Image.cxx...<br>Compiling Fl_Single_Window.cxx...<br>Compiling Fl_Slider.cxx...<br>Compiling Fl_Table.cxx...<br>Compiling Fl_Table_Row.cxx...<br>Compiling Fl_Tabs.cxx...<br>Compiling Fl_Text_Buffer.cxx...<br>Compiling Fl_Text_Display.cxx...<br>Compiling Fl_Text_Editor.cxx...<br>Compiling Fl_Tile.cxx...<br>Compiling Fl_Tiled_Image.cxx...<br>Compiling Fl_Tree.cxx...<br>Compiling Fl_Tree_Item.cxx...<br>Compiling Fl_Tree_Item_Array.cxx...<br>Compiling Fl_Tree_Prefs.cxx...<br>Compiling Fl_Tooltip.cxx...<br>Compiling Fl_Valuator.cxx...<br>Compiling Fl_Value_Input.cxx...<br>Compiling Fl_Value_Output.cxx...<br>Compiling Fl_Value_Slider.cxx...<br>Compiling Fl_Widget.cxx...<br>Compiling Fl_Window.cxx...<br>Compiling Fl_Window_fullscreen.cxx...<br>Compiling Fl_Window_hotspot.cxx...<br>Compiling Fl_Window_iconize.cxx...<br>Compiling Fl_Window_shape.cxx...<br>Compiling Fl_Wizard.cxx...<br>Compiling Fl_XBM_Image.cxx...<br>Compiling Fl_XPM_Image.cxx...<br>Compiling Fl_abort.cxx...<br>Compiling Fl_add_idle.cxx...<br>Compiling Fl_arg.cxx...<br>Compiling Fl_compose.cxx...<br>Compiling Fl_display.cxx...<br>Compiling Fl_get_key.cxx...<br>Compiling Fl_get_system_colors.cxx...<br>Compiling Fl_grab.cxx...<br>Compiling Fl_lock.cxx...<br>Compiling Fl_own_colormap.cxx...<br>Compiling Fl_visual.cxx...<br>Compiling Fl_x.cxx...<br>Compiling filename_absolute.cxx...<br>Compiling filename_expand.cxx...<br>Compiling filename_ext.cxx...<br>Compiling filename_isdir.cxx...<br>Compiling filename_list.cxx...<br>Compiling filename_match.cxx...<br>Compiling filename_setext.cxx...<br>Compiling fl_arc.cxx...<br>Compiling fl_arci.cxx...<br>Compiling fl_ask.cxx...<br>Compiling fl_boxtype.cxx...<br>Compiling fl_color.cxx...<br>Compiling fl_cursor.cxx...<br>Compiling fl_curve.cxx...<br>Compiling fl_diamond_box.cxx...<br>Compiling fl_dnd.cxx...<br>Compiling fl_draw.cxx...<br>Compiling fl_draw_image.cxx...<br>Compiling fl_draw_pixmap.cxx...<br>Compiling fl_encoding_latin1.cxx...<br>Compiling fl_encoding_mac_roman.cxx...<br>Compiling fl_engraved_label.cxx...<br>Compiling fl_file_dir.cxx...<br>Compiling fl_font.cxx...<br>Compiling fl_gleam.cxx...<br>Compiling fl_gtk.cxx...<br>Compiling fl_labeltype.cxx...<br>Compiling fl_line_style.cxx...<br>Compiling fl_open_uri.cxx...<br>Compiling fl_oval_box.cxx...<br>Compiling fl_overlay.cxx...<br>Compiling fl_overlay_visual.cxx...<br>Compiling fl_plastic.cxx...<br>Compiling fl_read_image.cxx...<br>Compiling fl_rect.cxx...<br>Compiling fl_round_box.cxx...<br>Compiling fl_rounded_box.cxx...<br>Compiling fl_set_font.cxx...<br>Compiling fl_set_fonts.cxx...<br>Compiling fl_scroll_area.cxx...<br>Compiling fl_shadow_box.cxx...<br>Compiling fl_shortcut.cxx...<br>Compiling fl_show_colormap.cxx...<br>Compiling fl_symbols.cxx...<br>Compiling fl_vertex.cxx...<br>Compiling screen_xywh.cxx...<br>Compiling fl_utf8.cxx...<br>Compiling ps_image.cxx...<br>Compiling fl_call_main.c...<br>Compiling flstring.c...<br>Compiling scandir.c...<br>Compiling numericsort.c...<br>Compiling vsnprintf.c...<br>Compiling fl_utf.c...<br>Compiling xutf8/case.c...<br>Compiling xutf8/is_right2left.c...<br>Compiling xutf8/is_spacing.c...<br>Compiling xutf8/keysym2Ucs.c...<br>Compiling xutf8/utf8Input.c...<br>Compiling xutf8/utf8Utils.c...<br>Compiling xutf8/utf8Wrap.c...<br>/usr/bin/ar cr ../lib/libfltk.a ...<br>Compiling forms_compatability.cxx...<br>Compiling forms_bitmap.cxx...<br>Compiling forms_free.cxx...<br>Compiling forms_fselect.cxx...<br>Compiling forms_pixmap.cxx...<br>Compiling forms_timer.cxx...<br>/usr/bin/ar cr ../lib/libfltk_forms.a ...<br>Compiling Fl_Gl_Choice.cxx...<br>Compiling Fl_Gl_Overlay.cxx...<br>Compiling Fl_Gl_Device_Plugin.cxx...<br>Compiling Fl_Gl_Window.cxx...<br>Compiling freeglut_geometry.cxx...<br>Compiling freeglut_stroke_mono_roman.<wbr>cxx...<br>Compiling freeglut_stroke_roman.cxx...<br>Compiling freeglut_teapot.cxx...<br>Compiling gl_draw.cxx...<br>Compiling gl_start.cxx...<br>Compiling glut_compatability.cxx...<br>Compiling glut_font.cxx...<br>/usr/bin/ar cr ../lib/libfltk_gl.a ...<br>Compiling fl_images_core.cxx...<br>Compiling Fl_BMP_Image.cxx...<br>Compiling Fl_File_Icon2.cxx...<br>Compiling Fl_GIF_Image.cxx...<br>Compiling Fl_Help_Dialog.cxx...<br>Compiling Fl_JPEG_Image.cxx...<br>Compiling Fl_PNG_Image.cxx...<br>Compiling Fl_PNM_Image.cxx...<br>/usr/bin/ar cr ../lib/libfltk_images.a ...<br>=== making fluid ===<br>Compiling CodeEditor.cxx...<br>Compiling ExternalCodeEditor_UNIX.cxx...<br>Compiling ExternalCodeEditor_WIN32.cxx..<wbr>.<br>Compiling Fl_Function_Type.cxx...<br>Compiling Fl_Group_Type.cxx...<br>Compiling Fl_Menu_Type.cxx...<br>Compiling Fl_Type.cxx...<br>Compiling Fl_Widget_Type.cxx...<br>Compiling Fl_Window_Type.cxx...<br>Compiling Fluid_Image.cxx...<br>Compiling about_panel.cxx...<br>Compiling align_widget.cxx...<br>Compiling alignment_panel.cxx...<br>Compiling code.cxx...<br>Compiling factory.cxx...<br>Compiling file.cxx...<br>Compiling fluid.cxx...<br>Compiling function_panel.cxx...<br>Compiling template_panel.cxx...<br>Compiling undo.cxx...<br>Compiling widget_panel.cxx...<br>Linking fluid.exe...<br>=== making test ===<br>Compiling unittests.cxx...<br>Linking unittests.exe...<br>Compiling animated.cxx...<br>Linking animated.exe...<br>Compiling adjuster.cxx...<br>Linking adjuster.exe...<br>Compiling arc.cxx...<br>Linking arc.exe...<br>Compiling ask.cxx...<br>Linking ask.exe...<br>Compiling bitmap.cxx...<br>Linking bitmap.exe...<br>Compiling blocks.cxx...<br>Linking blocks.exe...<br>Compiling boxtype.cxx...<br>Linking boxtype.exe...<br>Compiling browser.cxx...<br>Linking browser.exe...<br>Compiling button.cxx...<br>Linking button.exe...<br>Compiling buttons.cxx...<br>Linking buttons.exe...<br>Compiling cairo_test.cxx...<br>Linking cairo_test.exe...<br>Compiling checkers.cxx...<br>Linking checkers.exe...<br>Compiling clock.cxx...<br>Linking clock.exe...<br>Compiling colbrowser.cxx...<br>Linking colbrowser.exe...<br>Compiling color_chooser.cxx...<br>Linking color_chooser.exe...<br>Compiling cursor.cxx...<br>Linking cursor.exe...<br>Compiling curve.cxx...<br>Linking curve.exe...<br>Compiling demo.cxx...<br>Linking demo.exe...<br>Compiling device.cxx...<br>Linking device.exe...<br>Compiling doublebuffer.cxx...<br>Linking doublebuffer.exe...<br>Compiling editor.cxx...<br>Linking editor.exe...<br>Generating fast_slow.cxx and header from fast_slow.fl...<br>C:/fltk/fluid/fluid.exe: error while loading shared libraries: libpng16-16.dll: cannot open shared object file: No such file or directory<br>make[1]: *** [Makefile:279: fast_slow.cxx] Error 127<br>make: *** [Makefile:24: all] Error 1</div><div>johnf@INSPI13 /cygdrive/c/fltk<br>$ test/demo<br>C:/fltk/test/demo.exe: error while loading shared libraries: libstdc++-6.dll: cannot open shared object file: No such file or directory<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 26, 2018 at 5:16 AM, <span dir="ltr"><<a href="mailto:cgeuzaine@uliege.be" target="_blank">cgeuzaine@uliege.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><br>Recompile fltk from scratch : we’ve also experienced problems with the version shipped with mingw. <div><br></div><div>CG<br><div><br>On 26 Feb 2018, at 11:13, John Staples <<a href="mailto:john.f.staples@gmail.com" target="_blank">john.f.staples@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div>Greetings,</div><div><br></div><div>I reinstalled CYGWIN64 making sure to not ask for any of the cygwin native compilers. This seems to have resolved the previous "compiler contamination" issue. Thank you for that.</div><div><br></div><div>Now it looks like the problem has to do with an unresolved reference within FLTK. Any suggestions will be much appreciated.<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>johnf@INSPI13 /cygdrive/c/gmsh/build9<br>$ cmake -DCMAKE_CXX_COMPILER=/usr/bin/<wbr>x86_64-w64-mingw32-g++.exe -DCMAKE_C_COMPILER<br>=/usr/bin/x86_64-w64-mingw32-g<wbr>cc.exe -DCMAKE_Fortran_COMPILER=/usr/<wbr>bin/x86_64-w64-m<br>ingw32-gfortran.exe ..<br>-- The CXX compiler identification is GNU 6.4.0<br>-- The C compiler identification is GNU 6.4.0<br>-- Check for working CXX compiler: /usr/bin/x86_64-w64-mingw32-g+<wbr>+.exe<br>-- Check for working CXX compiler: /usr/bin/x86_64-w64-mingw32-g+<wbr>+.exe -- works<br>-- Detecting CXX compiler ABI info<br>-- Detecting CXX compiler ABI info - done<br>-- Detecting CXX compile features<br>-- Detecting CXX compile features - done<br>-- Check for working C compiler: /usr/bin/x86_64-w64-mingw32-gc<wbr>c.exe<br>-- Check for working C compiler: /usr/bin/x86_64-w64-mingw32-gc<wbr>c.exe -- works<br>-- Detecting C compiler ABI info<br>-- Detecting C compiler ABI info - done<br>-- Detecting C compile features<br>-- Detecting C compile features - done<br>-- Looking for sys/types.h<br>-- Looking for sys/types.h - found<br>-- Looking for stdint.h<br>-- Looking for stdint.h - found<br>-- Looking for stddef.h<br>-- Looking for stddef.h - found<br>-- Check size of void*<br>-- Check size of void* - done<br>-- Found 64Bit<br>-- Performing Test STDCXX11<br>-- Performing Test STDCXX11 - Success<br>-- The Fortran compiler identification is GNU 6.4.0<br>-- Check for working Fortran compiler: /usr/bin/x86_64-w64-mingw32-gf<wbr>ortran.exe<br>-- Check for working Fortran compiler: /usr/bin/x86_64-w64-mingw32-gf<wbr>ortran.exe -- works<br>-- Detecting Fortran compiler ABI info<br>-- Detecting Fortran compiler ABI info - done<br>-- Checking whether /usr/bin/x86_64-w64-mingw32-gf<wbr>ortran.exe supports Fortran 90<br>-- Checking whether /usr/bin/x86_64-w64-mingw32-gf<wbr>ortran.exe supports Fortran 90 -- yes<br>-- Looking for Fortran sgemm<br>-- Looking for Fortran sgemm - found<br>-- Looking for pthread.h<br>-- Looking for pthread.h - found<br>-- Looking for pthread_create<br>-- Looking for pthread_create - found<br>-- Found Threads: TRUE<br>-- A library with BLAS API found.<br>-- Found Blas<br>-- A library with BLAS API found.<br>-- Looking for Fortran cheev<br>-- Looking for Fortran cheev - found<br>-- A library with LAPACK API found.<br>-- Found Lapack<br>-- Found Mesh<br>-- Found Solver<br>-- Found Post<br>-- Found Plugins<br>-- Found Parser<br>-- Found Fltk<br>-- Using fltk-config script for Fltk 1.3<br>-- Found NativeFileChooser<br>-- Found ONELAB<br>-- Found ONELABMetamodel<br>-- Found JPEG: /usr/lib/libjpeg.dll.a<br>-- Found Jpeg<br>-- Found ZLIB: /usr/lib/libz.dll.a (found version "1.2.11")<br>-- Found Zlib<br>-- Found PNG: /usr/lib/libpng.dll.a (found version "1.6.34")<br>-- Found Png<br>-- Found Mpeg<br>-- Found OpenGL: /usr/lib/libGL.dll.a<br>-- Found OpenGL<br>-- System ANN not found: using contrib/ANN instead<br>-- Found Ann<br>-- Found Bfgs<br>-- Found DIntegration<br>-- Found OptHom<br>-- Found Kbipack<br>-- GMP not found: Kbipack uses long int<br>-- Found MathEx<br>-- System METIS not found: using contrib/metis instead<br>-- Found Metis<br>-- Found TetGen/BR<br>-- System voro++ not found: using contrib/voro++ instead<br>-- Found Voro++<br>-- Found Blossom<br>-- Found Netgen<br>-- Found Bamg<br>-- System MMG3D not found: using contrib/mmg3d instead<br>-- Found Mmg3d<br>-- Could NOT find HDF5 (missing: HDF5_LIBRARIES HDF5_INCLUDE_DIRS HDF5_HL_LIBRARIES)<br>-- HDF5 not found<br>-- System GMM not found: using contrib/gmm instead<br>-- Found Gmm<br>-- Looking for vsnprintf<br>-- Looking for vsnprintf - found<br>-- Looking for sys/socket.h<br>-- Looking for sys/socket.h - not found<br>-- Check size of socklen_t<br>-- Check size of socklen_t - failed<br>-- Found NoSocklenT<br>-- Check size of intptr_t<br>-- Check size of intptr_t - done<br>-- Looking for dlfcn.h<br>-- Looking for dlfcn.h - found<br>-- Found Dlopen<br>-- Looking for linux/joystick.h<br>-- Looking for linux/joystick.h - not found<br>-- Performing Test WALL<br>-- Performing Test WALL - Success<br>-- Performing Test WCAST<br>-- Performing Test WCAST - Failed<br>-- Performing Test WDEPREC<br>-- Performing Test WDEPREC - Success<br>-- Performing Test WIND<br>-- Performing Test WIND - Success<br>-- Performing Test NOWARN<br>-- Performing Test NOWARN - Success<br>-- Performing Test NOOPT<br>-- Performing Test NOOPT - Success<br>--<br>-- Gmsh 3.0.7 has been configured for Windows64<br>--<br>-- * Build options: 64Bit Ann Bamg Bfgs Blas Blossom DIntegration Dlopen Fltk Gmm Jpeg Kbipack Lapack MathEx Mesh Metis Mmg3d Mpeg NativeFileChooser Netgen NoSocklenT ONELAB ONELABMetamodel OpenGL OptHom Parser Plugins Png Post Solver TetGen/BR Voro++ Zlib<br>-- * Build type: RelWithDebInfo<br>-- * C compiler: /usr/bin/x86_64-w64-mingw32-gc<wbr>c.exe<br>-- * C++ compiler: /usr/bin/x86_64-w64-mingw32-g+<wbr>+.exe<br>-- * Install prefix: /usr/local<br>--<br>-- Configuring done<br>-- Generating done<br>-- Build files have been written to: /cygdrive/c/gmsh/build9</div><div>j</div><div>johnf@INSPI13 /cygdrive/c/gmsh/build9<br></div><div>$ make<br>Scanning dependencies of target gmsh<br>[ 0%] Building CXX object CMakeFiles/gmsh.dir/Fltk/Main.<wbr>cpp.o<br>[ 0%] Building CXX object CMakeFiles/gmsh.dir/Common/Gms<wbr>hGlobal.cpp.o<br>[.....</div><div><br>[ 9%] Building CXX object CMakeFiles/gmsh.dir/Geo/GEdge.<wbr>cpp.o<br>/cygdrive/c/gmsh/Geo/GEdge.cpp<wbr>:56:2: warning: #warning missing:computation of affine transformation during setMeshMaster [-Wcpp]<br> #warning missing:computation of affine transformation during setMeshMaster<br> ^~~~~~~<br>/cygdrive/c/gmsh/Geo/GEdge.cpp<wbr>: In member function ‘virtual SBoundingBox3d GEdge::bounds() const’:<br>/cygdrive/c/gmsh/Geo/GEdge.cpp<wbr>:214:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]<br> for(unsigned int j = 0; j < getMeshElement(i)->getNumVerti<wbr>ces(); j++)<br> ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~<wbr>~~~~~~~~~<br>[ 9%] Building CXX object CMakeFiles/gmsh.dir/Geo/GFace.<wbr>cpp.o<br>/cygdrive/c/gmsh/Geo/GFace.cpp<wbr>: In member function ‘virtual SBoundingBox3d GFace::bounds() const’:<br>/cygdrive/c/gmsh/Geo/GFace.cpp<wbr>:224:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]<br> for(unsigned int j = 0; j < getMeshElement(i)->getNumVerti<wbr>ces(); j++)<br> ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~<wbr>~~~~~~~~~<br>[ 9%] Building CXX object CMakeFiles/gmsh.dir/Geo/GRegio<wbr>n.cpp.o<br>/cygdrive/c/gmsh/Geo/GRegion.c<wbr>pp: In member function ‘virtual SBoundingBox3d GRegion::bounds() const’:<br>/cygdrive/c/gmsh/Geo/GRegion.c<wbr>pp:151:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]<br> for(unsigned int j = 0; j < getMeshElement(i)->getNumVerti<wbr>ces(); j++)<br> ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~<wbr>~~~~~~~~~<br>[ 9%] Building CXX object CMakeFiles/gmsh.dir/Geo/GEdgeL<wbr>oop.cpp.o<br>[ 9%] Building CXX object CMakeFiles/gmsh.dir/Geo/gmshVe<wbr>rtex.cpp.o<br></div><div><br></div><div>...</div><div><br></div><div>[ 14%] Building CXX object CMakeFiles/gmsh.dir/Geo/GModel<wbr>IO_MSH2.cpp.o<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>MSH2.cpp: In function ‘MElement* createElementMSH2(GModel*, int, int, int, int, int, std::vector<MVertex*>&, std::map<int, std::vector<MElement*> >*, std::map<int, std::map<int, std::__cxx11::basic_string<cha<wbr>r> > >*, bool, MElement*, MElement*, MElement*)’:<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>MSH2.cpp:89:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]<br> if(part > m->getNumPartitions()) m->setNumPartitions(part);<br> ~~~~~^~~~~~~~~~~~~~~~~~~~~~~<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>MSH2.cpp: In member function ‘int GModel::_writePartitionedMSH2(<wbr>const string&, bool, bool, bool, double)’:<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>MSH2.cpp:990:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]<br> for(int partition = 1; partition <= getNumPartitions(); partition++){<br> ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~<wbr>~<br>[ 14%] Building CXX object CMakeFiles/gmsh.dir/Geo/GModel<wbr>IO_MSH3.cpp.o<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>MSH3.cpp: In member function ‘int GModel::_writePartitionedMSH3(<wbr>const string&, double, bool, bool, bool, double)’:<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>MSH3.cpp:745:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]<br> for(int partition = 0; partition < getNumPartitions(); partition++){<br> ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~<br>[ 14%] Building CXX object CMakeFiles/gmsh.dir/Geo/GModel<wbr>IO_MSH4.cpp.o<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>MSH4.cpp: In function ‘bool readMSH4Entities(GModel*, FILE*, bool, bool, bool)’:<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>MSH4.cpp:286:59: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]<br> if(fread(ghostTags, sizeof(int), 2*ghostSize, fp) != 2*ghostSize){<br> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<wbr>~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~<wbr>~<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>MSH4.cpp:302:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]<br> for(unsigned int i = 0; i < 2*ghostSize; i+=2){<br> <wbr> ~~^~~~~~~~~~~~~<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>MSH4.cpp:312:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]<br> for(unsigned int i = 0; i < 2*ghostSize; i+=2){<br> ~~^~~~~~~~~~~~~<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>MSH4.cpp: In function ‘bool readMSH4GhostElements(GModel*, FILE*, bool, bool)’:<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>MSH4.cpp:1040:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]<br> for(unsigned int j = 0; j < numGhost; j++){<br> ~~^~~~~~~~~~<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>MSH4.cpp:1050:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]<br> if(j == numGhost-1){<br> ~~^~~~~~~~~~~~~<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>MSH4.cpp: In function ‘void writeMSH4Physicals(FILE*, GEntity*, bool)’:<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>MSH4.cpp:1357:35: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘std::vector<int>::size_type {aka long long unsigned int}’ [-Wformat=]<br> fprintf(fp, "%lu", phys.size());<br> <wbr> ^<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>MSH4.cpp: In function ‘void writeMSH4Entities(GModel*, FILE*, bool, bool, double)’:<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>MSH4.cpp:1638:72: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘std::set<GVertex*, GEntityLessThan>::size_type {aka long long unsigned int}’ [-Wformat=]<br> vertices.size(), edges.size(), faces.size(), regions.size());<br> <wbr> <wbr> ^<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>MSH4.cpp:1638:72: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘std::set<GEdge*, GEntityLessThan>::size_type {aka long long unsigned int}’ [-Wformat=]<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>MSH4.cpp:1638:72: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘std::set<GFace*, GEntityLessThan>::size_type {aka long long unsigned int}’ [-Wformat=]<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>MSH4.cpp:1638:72: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘std::set<GRegion*, GEntityLessThan>::size_type {aka long long unsigned int}’ [-Wformat=]<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>MSH4.cpp:1683:42: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘std::__cxx11::list<GVertex*>:<wbr>:size_type {aka long long unsigned int}’ [-Wformat=]<br> fprintf(fp, "%lu ", vertices.size());<br> <wbr> ^<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>MSH4.cpp:1710:39: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘std::__cxx11::list<GEdge*>::s<wbr>ize_type {aka long long unsigned int}’ [-Wformat=]<br> fprintf(fp, "%lu ", edges.size());<br> <wbr> ^<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>MSH4.cpp:1742:39: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘std::__cxx11::list<GFace*>::s<wbr>ize_type {aka long long unsigned int}’ [-Wformat=]<br> fprintf(fp, "%lu ", faces.size());<br> <wbr> ^<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>MSH4.cpp: In function ‘void writeMSH4Nodes(GModel*, FILE*, bool, bool, int, double, bool)’:<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>MSH4.cpp:1966:40: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘std::set<GVertex*, GEntityLessThan>::size_type {aka long long unsigned int}’ [-Wformat=]<br> regions.size(), numVertices);<br> <wbr> ^<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>MSH4.cpp: In function ‘void writeMSH4Elements(GModel*, FILE*, bool, bool, bool)’:<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>MSH4.cpp:2182:66: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘std::map<std::pair<int, GEntity*>, std::vector<MElement*> >::size_type {aka long long unsigned int}’ [-Wformat=]<br> fprintf(fp, "%lu %lu\n", elementsByDegree.size(), numElements);<br> <wbr> <wbr> ^<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>MSH4.cpp:2199:49: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘std::vector<MElement*>::size_<wbr>type {aka long long unsigned int}’ [-Wformat=]<br> it->first.first, it->second.size());<br> <wbr> ^<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>MSH4.cpp: In function ‘void writeMSH4PeriodicNodes(GModel*<wbr>, FILE*, bool, bool)’:<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>MSH4.cpp:2290:67: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘std::map<MVertex*, MVertex*>::size_type {aka long long unsigned int}’ [-Wformat=]<br> fprintf(fp, "%lu\n", g_slave->correspondingVertices<wbr>.size());<br> <wbr> <wbr> ^<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>MSH4.cpp: In function ‘void writeMSH4GhostCells(GModel*, FILE*, bool)’:<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>MSH4.cpp:2356:45: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘std::map<MElement*, std::vector<unsigned int> >::size_type {aka long long unsigned int}’ [-Wformat=]<br> fprintf(fp, "%ld\n", ghostCells.size());<br> <wbr> ^<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>MSH4.cpp:2360:89: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘std::vector<unsigned int>::size_type {aka long long unsigned int}’ [-Wformat=]<br> fprintf(fp, "%d %d %ld", it->first->getNum(), it->second[0], it->second.size()-1);<br> <wbr> <wbr> ^<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>MSH4.cpp: In member function ‘int GModel::_writeMSH4(const string&, double, bool, bool, bool, double)’:<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>MSH4.cpp:2386:71: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘long long unsigned int’ [-Wformat=]<br> fprintf(fp, "%g %d %lu\n", version, (binary ? 1 : 0), sizeof(double));<br> <wbr> <wbr> ^<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>MSH4.cpp: In member function ‘int GModel::_writePartitionedMSH4(<wbr>const string&, double, bool, bool, bool, double)’:<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>MSH4.cpp:2634:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]<br> for(unsigned int k = 0; k < ghostEntity->getMeshElement(j)<wbr>->getNumVertices(); k++){<br> <wbr> ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~<wbr>~~~~~~~~~~~~~~~~~~~~~~<br>[ 14%] Building CXX object CMakeFiles/gmsh.dir/Geo/GModel<wbr>IO_VTK.cpp.o<br>[...</div><div><br></div><div><br>[ 16%] Building CXX object CMakeFiles/gmsh.dir/Geo/GModel<wbr>IO_DIFF.cpp.o<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>DIFF.cpp: In member function ‘int GModel::readDIFF(const string&)’:<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>DIFF.cpp:333:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]<br> if(partition > getNumPartitions()) setNumPartitions(partition);<br> ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~<br>[ 16%] Building CXX object CMakeFiles/gmsh.dir/Geo/GModel<wbr>IO_GEOM.cpp.o<br></div><div>....[</div><div> 16%] Building CXX object CMakeFiles/gmsh.dir/Geo/GModel<wbr>IO_NEU.cpp.o<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>NEU.cpp: In member function ‘int GModel::writeNEU(const string&, bool, double)’:<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>NEU.cpp:222:19: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘std::unordered_map<unsigned int, std::vector<unsigned int>, std::hash<unsigned int>, std::equal_to<unsigned int>, std::allocator<std::pair<const unsigned int, std::vector<unsigned int> > > >::size_type {aka long long unsigned int}’ [-Wformat=]<br> getDim());<br> ^<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>NEU.cpp:222:19: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘std::unordered_map<unsigned int, std::vector<std::pair<unsigned int, unsigned int> >, std::hash<unsigned int>, std::equal_to<unsigned int>, std::allocator<std::pair<const unsigned int, std::vector<std::pair<unsigned int, unsigned int> > > > >::size_type {aka long long unsigned int}’ [-Wformat=]<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>NEU.cpp:255:44: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘std::vector<unsigned int>::size_type {aka long long unsigned int}’ [-Wformat=]<br> it->first, it->second.size(), 1);<br> <wbr> ^<br>/cygdrive/c/gmsh/Geo/GModelIO_<wbr>NEU.cpp:276:43: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘std::vector<std::pair<unsigne<wbr>d int, unsigned int> >::size_type {aka long long unsigned int}’ [-Wformat=]<br> gambitBoundaryCode(regionName)<wbr>);<br> <wbr> ^<br>[ 17%] Building CXX object CMakeFiles/gmsh.dir/Geo/GModel<wbr>IO_ACTRAN.cpp.o<br></div><div>...[</div><div> 19%] Building CXX object CMakeFiles/gmsh.dir/Geo/MEleme<wbr>nt.cpp.o<br>/cygdrive/c/gmsh/Geo/MElement.<wbr>cpp: In member function ‘MElement* MElementFactory::create(int, int, const std::vector<int>&, GModel*)’:<br>/cygdrive/c/gmsh/Geo/MElement.<wbr>cpp:1919:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]<br> if(part > model->getNumPartitions()) model->setNumPartitions(part);<br> ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~<wbr>~~<br>[ 19%] Building CXX object CMakeFiles/gmsh.dir/Geo/MEleme<wbr>ntOctree.cpp.o<br>......<br>[ 20%] Building CXX object CMakeFiles/gmsh.dir/Geo/MEleme<wbr>ntCut.cpp.o<br>/cygdrive/c/gmsh/Geo/MElementC<wbr>ut.cpp: In function ‘GModel* buildCutMesh(GModel*, gLevelset*, std::map<int, std::vector<MElement*> >*, std::map<int, MVertex*>&, std::map<int, std::map<int, std::__cxx11::basic_string<cha<wbr>r> > >*, bool)’:<br>/cygdrive/c/gmsh/Geo/MElementC<wbr>ut.cpp:1518:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]<br> if(e->getPartition() > cutGM->getNumPartitions()) cutGM->setNumPartitions(e->get<wbr>Partition());<br> ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~<wbr>~~~~~~~~~~~~~~~<br>/cygdrive/c/gmsh/Geo/MElementC<wbr>ut.cpp:1548:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]<br> if(e->getPartition() > cutGM->getNumPartitions()) cutGM->setNumPartitions(e->get<wbr>Partition());<br> ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~<wbr>~~~~~~~~~~~~~~~<br>[ 20%] Building CXX object CMakeFiles/gmsh.dir/Geo/MSubEl<wbr>ement.cpp.o<br>...<br>[ 27%] Building CXX object CMakeFiles/gmsh.dir/Mesh/meshP<wbr>artition.cpp.o<br>/cygdrive/c/gmsh/Mesh/meshPart<wbr>ition.cpp: In member function ‘void Graph::eraseVertex()’:<br>/cygdrive/c/gmsh/Mesh/meshPart<wbr>ition.cpp:241:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]<br> for(unsigned int i = 0; i < _vertexSize; i++) _vertex[i] = -1;<br> ~~^~~~~~~~~~~~~<br>/cygdrive/c/gmsh/Mesh/meshPart<wbr>ition.cpp: In function ‘int MakeGraph(GModel*, Graph&, int)’:<br>/cygdrive/c/gmsh/Mesh/meshPart<wbr>ition.cpp:505:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]<br> for(unsigned int k = 0; k < entities[i]->getMeshElement(j)<wbr>->getNumVertices() ; k++){<br> <wbr> ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~<wbr>~~~~~~~~~~~~~~~~~~~~~~<br>/cygdrive/c/gmsh/Mesh/meshPart<wbr>ition.cpp: In function ‘int computeOrientation(MElement*, MElement*)’:<br>/cygdrive/c/gmsh/Mesh/meshPart<wbr>ition.cpp:1775:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]<br> for(unsigned int i = 0; i < reference->getNumFaces(); i++){<br> ~~^~~~~~~~~~~~~~~~~~~~~~~~~~<br>/cygdrive/c/gmsh/Mesh/meshPart<wbr>ition.cpp:1790:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]<br> for(unsigned int i = 0; i < reference->getNumEdges(); i++){<br> ~~^~~~~~~~~~~~~~~~~~~~~~~~~~<br>[ 27%] Building CXX object CMakeFiles/gmsh.dir/Mesh/meshR<wbr>efine.cpp.o<br>...<br>[ 34%] Building CXX object CMakeFiles/gmsh.dir/Post/adapt<wbr>iveData.cpp.o<br>/cygdrive/c/gmsh/Post/adaptive<wbr>Data.cpp: In member function ‘void VTKData::finalizeVTKFile()’:<br>/cygdrive/c/gmsh/Post/adaptive<wbr>Data.cpp:1935:182: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 5 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]<br> fprintf(vtkFile,"<DataArray type=\"Float64\" Name=\"%s\" NumberOfComponents=\"%d\" format=\"appended\" offset=\"%" PRIu64 "\"/>\n", vtkFieldName.c_str(), vtkNumComp,byteoffset);<br> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> ^<br>/cygdrive/c/gmsh/Post/adaptive<wbr>Data.cpp:1945:151: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]<br> fprintf(vtkFile,"<DataArray type=\"Float64\" Name=\"Points\" NumberOfComponents=\"3\" format=\"appended\" offset=\"%" PRIu64 "\"/>\n",byteoffset);<br> <wbr> <wbr> <wbr> <wbr> ^<br>/cygdrive/c/gmsh/Post/adaptive<wbr>Data.cpp:1951:130: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]<br> fprintf(vtkFile,"<DataArray type=\"Int64\" Name=\"connectivity\" format=\"appended\" offset=\"%" PRIu64 "\"/>\n",byteoffset);<br> <wbr> <wbr> <wbr> <wbr> ^<br>/cygdrive/c/gmsh/Post/adaptive<wbr>Data.cpp:1953:125: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]<br> fprintf(vtkFile,"<DataArray type=\"Int64\" Name=\"offsets\" format=\"appended\" offset=\"%" PRIu64 "\"/>\n",byteoffset);<br> <wbr> <wbr> <wbr> <wbr> ^<br>/cygdrive/c/gmsh/Post/adaptive<wbr>Data.cpp:1955:123: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]<br> fprintf(vtkFile,"<DataArray type=\"UInt8\" Name=\"types\" format=\"appended\" offset=\"%" PRIu64 "\"/>\n",byteoffset);<br> <wbr> <wbr> <wbr> <wbr> ^<br>[ 34%] Building CXX object CMakeFiles/gmsh.dir/Post/shape<wbr>Functions.cpp.o<br>...<br>[ 42%] Building CXX object CMakeFiles/gmsh.dir/Plugin/Sim<wbr>plePartition.cpp.o<br>/cygdrive/c/gmsh/Plugin/Simple<wbr>Partition.cpp: In member function ‘virtual void GMSH_SimplePartitionPlugin::ru<wbr>n()’:<br>/cygdrive/c/gmsh/Plugin/Simple<wbr>Partition.cpp:115:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]<br> for(unsigned int k = 0; k < numSlices; k++){<br> ~~^~~~~~~~~~~<br>[ 42%] Building CXX object CMakeFiles/gmsh.dir/Plugin/Cra<wbr>ck.cpp.o<br>[...<br>[ 45%] Building CXX object CMakeFiles/gmsh.dir/Fltk/visib<wbr>ilityWindow.cpp.o<br>/cygdrive/c/gmsh/Fltk/visibili<wbr>tyWindow.cpp: In member function ‘void VisibilityList::update(Visibil<wbr>ityList::VisibilityType)’:<br>/cygdrive/c/gmsh/Fltk/visibili<wbr>tyWindow.cpp:252:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]<br> for(int part = 0; part < m->getNumPartitions(); part++)<br> ~~~~~^~~~~~~~~~~~~~~~~~~~~~~<br>[ 45%] Building CXX object CMakeFiles/gmsh.dir/Fltk/highO<wbr>rderToolsWindow.cpp.o<br>...<br>[100%] Building C object CMakeFiles/gmsh.dir/contrib/mm<wbr>g3d/build/sources/analarcuttin<wbr>g.c.o<br>[100%] Building C object CMakeFiles/gmsh.dir/contrib/mm<wbr>g3d/build/sources/analar.c.o<br>[100%] Linking CXX executable gmsh.exe<br>/usr/x86_64-w64-mingw32/sys-ro<wbr>ot/mingw/lib/../lib/libfltk_gl<wbr>.a(gl_draw.o):(.text$_Z7gl_dra<wbr>wPKci+0x56): undefined reference to `__imp_wglUseFontBitmapsW'<br>/usr/x86_64-w64-mingw32/sys-ro<wbr>ot/mingw/lib/../lib/libfltk_gl<wbr>.a(Fl_Gl_Choice.o):(.text$_Z20<wbr>fl_create_gl_contextP9Fl_Windo<wbr>wPK12Fl_Gl_Choicei+0x2d): undefined reference to `__imp_wglCreateLayerContext'<br>/usr/x86_64-w64-mingw32/sys-ro<wbr>ot/mingw/lib/../lib/libfltk_gl<wbr>.a(Fl_Gl_Choice.o):(.text$_Z20<wbr>fl_create_gl_contextP9Fl_Windo<wbr>wPK12Fl_Gl_Choicei+0x78): undefined reference to `__imp_wglCreateContext'<br>/usr/x86_64-w64-mingw32/sys-ro<wbr>ot/mingw/lib/../lib/libfltk_gl<wbr>.a(Fl_Gl_Choice.o):(.text$_Z20<wbr>fl_create_gl_contextP9Fl_Windo<wbr>wPK12Fl_Gl_Choicei+0x89): undefined reference to `__imp_wglShareLists'<br>/usr/x86_64-w64-mingw32/sys-ro<wbr>ot/mingw/lib/../lib/libfltk_gl<wbr>.a(Fl_Gl_Choice.o):(.text$_Z17<wbr>fl_set_gl_contextP9Fl_WindowP7<wbr>HGLRC__+0x25): undefined reference to `__imp_wglMakeCurrent'<br>/usr/x86_64-w64-mingw32/sys-ro<wbr>ot/mingw/lib/../lib/libfltk_gl<wbr>.a(Fl_Gl_Choice.o):(.text$_Z16<wbr>fl_no_gl_contextv+0x1d): undefined reference to `__imp_wglMakeCurrent'<br>/usr/x86_64-w64-mingw32/sys-ro<wbr>ot/mingw/lib/../lib/libfltk_gl<wbr>.a(Fl_Gl_Choice.o):(.text$_Z20<wbr>fl_delete_gl_contextP7HGLRC__+<wbr>0x1c): undefined reference to `__imp_wglDeleteContext'<br>/usr/x86_64-w64-mingw32/sys-ro<wbr>ot/mingw/lib/../lib/libfltk_gl<wbr>.a(Fl_Gl_Choice.o):(.text$_Z20<wbr>fl_delete_gl_contextP7HGLRC__+<wbr>0xc3): undefined reference to `__imp_wglMakeCurrent'<br>/usr/x86_64-w64-mingw32/sys-ro<wbr>ot/mingw/lib/../lib/libfltk.a(<wbr>Fl.o):(.text$_Z15fl_open_displ<wbr>ayv.part.41+0x10): undefined reference to `__imp_OleInitialize'<br>/usr/x86_64-w64-mingw32/sys-ro<wbr>ot/mingw/lib/../lib/libfltk.a(<wbr>Fl.o):(.text$__tcf_1+0x10): undefined reference to `__imp_OleUninitialize'<br>/usr/x86_64-w64-mingw32/sys-ro<wbr>ot/mingw/lib/../lib/libfltk.a(<wbr>Fl.o):(.text$_ZN4Fl_X4makeEP9F<wbr>l_Window+0x2f8): undefined reference to `__imp_RegisterDragDrop'<br>/usr/x86_64-w64-mingw32/sys-ro<wbr>ot/mingw/lib/../lib/libfltk.a(<wbr>Fl.o):(.text$_ZL7WndProcP6HWND<wbr>__jyx+0x5c0): undefined reference to `__imp__TrackMouseEvent'<br>/usr/x86_64-w64-mingw32/sys-ro<wbr>ot/mingw/lib/../lib/libfltk.a(<wbr>fl_dnd.o):(.text$_ZN12FLDropTa<wbr>rget4DropEP11IDataObjectm7_<wbr>POINTLPm[_ZN12FLDropTarget4Dro<wbr>pEP11IDataObjectm7_POINTLPm]+<wbr>0x266): undefined reference to `__imp_ReleaseStgMedium'<br>/usr/x86_64-w64-mingw32/sys-ro<wbr>ot/mingw/lib/../lib/libfltk.a(<wbr>fl_dnd.o):(.text$_ZN12FLDropTa<wbr>rget4DropEP11IDataObjectm7_<wbr>POINTLPm[_ZN12FLDropTarget4Dro<wbr>pEP11IDataObjectm7_POINTLPm]+<wbr>0x4ea): undefined reference to `__imp_ReleaseStgMedium'<br>/usr/x86_64-w64-mingw32/sys-ro<wbr>ot/mingw/lib/../lib/libfltk.a(<wbr>fl_dnd.o):(.text$_ZN12FLDropTa<wbr>rget4DropEP11IDataObjectm7_<wbr>POINTLPm[_ZN12FLDropTarget4Dro<wbr>pEP11IDataObjectm7_POINTLPm]+<wbr>0x5cb): undefined reference to `__imp_ReleaseStgMedium'<br>/usr/x86_64-w64-mingw32/sys-ro<wbr>ot/mingw/lib/../lib/libfltk.a(<wbr>fl_dnd.o):(.text$_ZN12FLDropTa<wbr>rget9DragEnterEP11IDataObjectm<wbr>7_POINTLPm[_ZN12FLDropTarget9D<wbr>ragEnterEP11IDataObjectm7_<wbr>POINTLPm]+0x257): undefined reference to `__imp_ReleaseStgMedium'<br>/usr/x86_64-w64-mingw32/sys-ro<wbr>ot/mingw/lib/../lib/libfltk.a(<wbr>fl_dnd.o):(.text$_ZN12FLDropTa<wbr>rget9DragEnterEP11IDataObjectm<wbr>7_POINTLPm[_ZN12FLDropTarget9D<wbr>ragEnterEP11IDataObjectm7_<wbr>POINTLPm]+0x42c): undefined reference to `__imp_ReleaseStgMedium'<br>/usr/x86_64-w64-mingw32/sys-ro<wbr>ot/mingw/lib/../lib/libfltk.a(<wbr>fl_dnd.o):(.text$_ZN12FLDropTa<wbr>rget9DragEnterEP11IDataObjectm<wbr>7_POINTLPm[_ZN12FLDropTarget9D<wbr>ragEnterEP11IDataObjectm7_<wbr>POINTLPm]+0x59b): more undefined references to `__imp_ReleaseStgMedium' follow<br>/usr/x86_64-w64-mingw32/sys-ro<wbr>ot/mingw/lib/../lib/libfltk.a(<wbr>fl_dnd.o):(.text$_ZN2Fl3dndEv+<wbr>0x5c): undefined reference to `__imp_DoDragDrop'<br>/usr/x86_64-w64-mingw32/sys-ro<wbr>ot/mingw/lib/../lib/libfltk.a(<wbr>fl_dnd.o):(.rdata$.refptr.IID_<wbr>IDropTarget[.refptr.IID_IDropT<wbr>arget]+0x0): undefined reference to `IID_IDropTarget'<br>/usr/x86_64-w64-mingw32/sys-ro<wbr>ot/mingw/lib/../lib/libfltk.a(<wbr>fl_dnd.o):(.rdata$.refptr.IID_<wbr>IDropSource[.refptr.IID_IDropS<wbr>ource]+0x0): undefined reference to `IID_IDropSource'<br>/usr/x86_64-w64-mingw32/sys-ro<wbr>ot/mingw/lib/../lib/libfltk.a(<wbr>fl_dnd.o):(.rdata$.refptr.IID_<wbr>IDataObject[.refptr.IID_IDataO<wbr>bject]+0x0): undefined reference to `IID_IDataObject'<br>/usr/x86_64-w64-mingw32/sys-ro<wbr>ot/mingw/lib/../lib/libfltk.a(<wbr>fl_dnd.o):(.rdata$.refptr.IID_<wbr>IUnknown[.refptr.IID_IUnknown]<wbr>+0x0): undefined reference to `IID_IUnknown'<br>collect2: error: ld returned 1 exit status<br>make[2]: *** [CMakeFiles/gmsh.dir/build.mak<wbr>e:18360: gmsh.exe] Error 1<br>make[1]: *** [CMakeFiles/Makefile2:548: CMakeFiles/gmsh.dir/all] Error 2<br>make: *** [Makefile:161: all] Error 2</div><div><br></div><div><br></div><div><br></div><div><div style="background:none;font:400 13.33px arial,sans-serif;outline:transparent 0px;border:0px rgb(34,34,34);width:1615px;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;overflow:visible;text-decoration:none;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:normal">Best regards</div><div style="background:none;font:400 13.33px arial,sans-serif;outline:transparent 0px;border:0px rgb(34,34,34);width:1615px;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;overflow:visible;text-decoration:none;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:normal">John</div><b></b></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 24, 2018 at 11:48 AM, Christophe Geuzaine <span dir="ltr"><<a href="mailto:cgeuzaine@uliege.be" target="_blank">cgeuzaine@uliege.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space"><br><div><br><blockquote type="cite"><div>On 24 Feb 2018, at 17:09, John Staples <<a href="mailto:john.f.staples@gmail.com" target="_blank">john.f.staples@gmail.com</a>> wrote:</div><br class="m_2019282056204464811m_936636873271827064m_-4659206682922772596Apple-interchange-newline"><div><div dir="ltr"><div>Thank you for the advice to use the <span style="text-align:left;text-transform:none;text-indent:0px;letter-spacing:normal;font-family:Consolas;font-size:13.33px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-east-asian:normal;font-weight:400;text-decoration:none;word-spacing:0px;display:inline;white-space:pre-wrap;float:none;background-color:transparent">-DCMAKE_CXX_COMPILER=/usr/bin/<wbr>x86_64-w64-mingw32-g++.exe option on the cmake command line. Your help is very much appreciated.</span></div><div><span style="text-align:left;text-transform:none;text-indent:0px;letter-spacing:normal;font-family:Consolas;font-size:13.33px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-east-asian:normal;font-weight:400;text-decoration:none;word-spacing:0px;display:inline;white-space:pre-wrap;float:none;background-color:transparent"><br></span></div><div><span style="text-align:left;text-transform:none;text-indent:0px;letter-spacing:normal;font-family:Consolas;font-size:13.33px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-east-asian:normal;font-weight:400;text-decoration:none;word-spacing:0px;display:inline;white-space:pre-wrap;float:none;background-color:transparent">I am now stumbling on something that may be simple: how to specify the path to the linker libraries? I am guessing -D<span class="m_2019282056204464811m_936636873271827064m_-4659206682922772596gmail-n" style="font:400 16px/18.66px sans-serif;padding:0px;border:0px rgb(51,51,51);text-align:left;color:rgb(51,51,51);text-transform:none;text-indent:0px;letter-spacing:normal;overflow:visible;text-decoration:none;word-spacing:0px;white-space:pre-wrap;overflow-y:visible;font-size-adjust:none;font-stretch:normal;background-color:transparent">link_directories</span><span class="m_2019282056204464811m_936636873271827064m_-4659206682922772596gmail-p" style="font:400 16px/18.66px sans-serif;padding:0px;border:0px rgb(51,51,51);text-align:left;color:rgb(51,51,51);text-transform:none;text-indent:0px;letter-spacing:normal;overflow:visible;text-decoration:none;word-spacing:0px;white-space:pre-wrap;overflow-y:visible;font-size-adjust:none;font-stretch:normal;background-color:transparent">(</span><span class="m_2019282056204464811m_936636873271827064m_-4659206682922772596gmail-n" style="font:400 16px/18.66px sans-serif;padding:0px;border:0px rgb(51,51,51);text-align:left;color:rgb(51,51,51);text-transform:none;text-indent:0px;letter-spacing:normal;overflow:visible;text-decoration:none;word-spacing:0px;white-space:pre-wrap;overflow-y:visible;font-size-adjust:none;font-stretch:normal;background-color:transparent">directory1</span><span style="font:400 16px/18.66px sans-serif;text-align:left;color:rgb(51,51,51);text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;display:inline;white-space:pre-wrap;font-size-adjust:none;font-stretch:normal;float:none;background-color:rgb(238,238,238)"> </span><span class="m_2019282056204464811m_936636873271827064m_-4659206682922772596gmail-n" style="font:400 16px/18.66px sans-serif;padding:0px;border:0px rgb(51,51,51);text-align:left;color:rgb(51,51,51);text-transform:none;text-indent:0px;letter-spacing:normal;overflow:visible;text-decoration:none;word-spacing:0px;white-space:pre-wrap;overflow-y:visible;font-size-adjust:none;font-stretch:normal;background-color:transparent">directory2</span><span style="font:400 16px/18.66px sans-serif;text-align:left;color:rgb(51,51,51);text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;display:inline;white-space:pre-wrap;font-size-adjust:none;font-stretch:normal;float:none;background-color:rgb(238,238,238)"> </span><span class="m_2019282056204464811m_936636873271827064m_-4659206682922772596gmail-o" style="text-align:left;color:rgb(102,102,102);text-transform:none;text-indent:0px;letter-spacing:normal;font-family:sans-serif;font-size:16px;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;word-spacing:0px;white-space:pre-wrap;background-color:transparent">...</span><span class="m_2019282056204464811m_936636873271827064m_-4659206682922772596gmail-p" style="font:400 16px/18.66px sans-serif;padding:0px;border:0px rgb(51,51,51);text-align:left;color:rgb(51,51,51);text-transform:none;text-indent:0px;letter-spacing:normal;overflow:visible;text-decoration:none;word-spacing:0px;white-space:pre-wrap;overflow-y:visible;font-size-adjust:none;font-stretch:normal;background-color:transparent">) but can't find the paths for 'ldl' and 'lcgywin'</span></span></div></div></div></blockquote><div><br></div><div>-ldl and -lcygwin should not be used when you compile with the mingw toolchain: these would lead to a executable that is not pure Windows. These might be pulled in by some dependencies compiled with the cygwin compile - you should remove these dependencies (or compile them with the mingw toolchain).</div><div> </div><br><blockquote type="cite"><div><div dir="ltr"><div><span style="text-align:left;text-transform:none;text-indent:0px;letter-spacing:normal;font-family:Consolas;font-size:13.33px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-east-asian:normal;font-weight:400;text-decoration:none;word-spacing:0px;display:inline;white-space:pre-wrap;float:none;background-color:transparent"><span class="m_2019282056204464811m_936636873271827064m_-4659206682922772596gmail-p" style="font:400 16px/18.66px sans-serif;padding:0px;border:0px rgb(51,51,51);text-align:left;color:rgb(51,51,51);text-transform:none;text-indent:0px;letter-spacing:normal;overflow:visible;text-decoration:none;word-spacing:0px;white-space:pre-wrap;overflow-y:visible;font-size-adjust:none;font-stretch:normal;background-color:transparent">as identified in the following:</span></span></div><div><span style="text-align:left;text-transform:none;text-indent:0px;letter-spacing:normal;font-family:Consolas;font-size:13.33px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-east-asian:normal;font-weight:400;text-decoration:none;word-spacing:0px;display:inline;white-space:pre-wrap;float:none;background-color:transparent"><span class="m_2019282056204464811m_936636873271827064m_-4659206682922772596gmail-p" style="font:400 16px/18.66px sans-serif;padding:0px;border:0px rgb(51,51,51);text-align:left;color:rgb(51,51,51);text-transform:none;text-indent:0px;letter-spacing:normal;overflow:visible;text-decoration:none;word-spacing:0px;white-space:pre-wrap;overflow-y:visible;font-size-adjust:none;font-stretch:normal;background-color:transparent"><br></span></span></div><span style="text-align:left;text-transform:none;text-indent:0px;letter-spacing:normal;font-family:Consolas;font-size:13.33px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-east-asian:normal;font-weight:400;text-decoration:none;word-spacing:0px;display:inline;white-space:pre-wrap;float:none;background-color:transparent"><div><span class="m_2019282056204464811m_936636873271827064m_-4659206682922772596gmail-p" style="font:400 16px/18.66px sans-serif;padding:0px;border:0px rgb(51,51,51);text-align:left;color:rgb(51,51,51);text-transform:none;text-indent:0px;letter-spacing:normal;overflow:visible;text-decoration:none;word-spacing:0px;white-space:pre-wrap;overflow-y:visible;font-size-adjust:none;font-stretch:normal;background-color:transparent">johnf@INSPI13 /cygdrive/c/gmsh/build<br><br>$ make<br>Scanning dependencies of target gmsh<br>[ 0%] Building CXX object CMakeFiles/gmsh.dir/Fltk/Main.<wbr>cpp.o<br>[ 0%] Building CXX object CMakeFiles/gmsh.dir/Common/Gms<wbr>hGlobal.cpp.o<br></span></div><div><span class="m_2019282056204464811m_936636873271827064m_-4659206682922772596gmail-p" style="font:400 16px/18.66px sans-serif;padding:0px;border:0px rgb(51,51,51);text-align:left;color:rgb(51,51,51);text-transform:none;text-indent:0px;letter-spacing:normal;overflow:visible;text-decoration:none;word-spacing:0px;white-space:pre-wrap;overflow-y:visible;font-size-adjust:none;font-stretch:normal;background-color:transparent">---</span></div><div><span class="m_2019282056204464811m_936636873271827064m_-4659206682922772596gmail-p" style="font:400 16px/18.66px sans-serif;padding:0px;border:0px rgb(51,51,51);text-align:left;color:rgb(51,51,51);text-transform:none;text-indent:0px;letter-spacing:normal;overflow:visible;text-decoration:none;word-spacing:0px;white-space:pre-wrap;overflow-y:visible;font-size-adjust:none;font-stretch:normal;background-color:transparent">----<br></span></div><span style="font:400 16px/18.66px sans-serif;text-align:left;color:rgb(51,51,51);text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;display:inline;white-space:pre-wrap;font-size-adjust:none;font-stretch:normal;float:none;background-color:rgb(238,238,238)"><div>[ 99%] Building C object CMakeFiles/gmsh.dir/contrib/mm<wbr>g3d/build/sources/analarcuttin<wbr>g.c.o<br>[ 99%] Building C object CMakeFiles/gmsh.dir/contrib/mm<wbr>g3d/build/sources/analar.c.o<br>[100%] Linking CXX executable gmsh.exe<br>/usr/lib/gcc/x86_64-w64-mingw3<wbr>2/6.4.0/../../../../x86_64-w64<wbr>-mingw32/bin/ld: cannot find -ldl<br>/usr/lib/gcc/x86_64-w64-mingw3<wbr>2/6.4.0/../../../../x86_64-w64<wbr>-mingw32/bin/ld: cannot find -ldl<br>/usr/lib/gcc/x86_64-w64-mingw3<wbr>2/6.4.0/../../../../x86_64-w64<wbr>-mingw32/bin/ld: cannot find -lcygwin<br>collect2: error: ld returned 1 exit status<br>make[2]: *** [CMakeFiles/gmsh.dir/build.mak<wbr>e:18362: gmsh.exe] Error 1<br>make[1]: *** [CMakeFiles/Makefile2:420: CMakeFiles/gmsh.dir/all] Error 2<br>make: *** [Makefile:161: all] Error 2<br></div><div><br></div><div>Thank you again for any hints/assistance.</div><div><br></div><div>John<br></div></span></span></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 22, 2018 at 3:29 AM, Christophe Geuzaine <span dir="ltr"><<a href="mailto:cgeuzaine@uliege.be" target="_blank">cgeuzaine@uliege.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space"><br><div><br><blockquote type="cite"><div>On 19 Feb 2018, at 04:20, John Staples <<a href="mailto:john.f.staples@gmail.com" target="_blank">john.f.staples@gmail.com</a>> wrote:</div><br class="m_2019282056204464811m_936636873271827064m_-4659206682922772596m_-1655460194264415146Apple-interchange-newline"><div><div dir="ltr"><div><span style="text-align:left;text-transform:none;text-indent:0px;letter-spacing:normal;font-family:Consolas;font-size:13.33px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-east-asian:normal;font-weight:400;text-decoration:none;word-spacing:0px;display:inline;white-space:pre-wrap;float:none;background-color:transparent">Greetings All,</span></div><div><span style="text-align:left;text-transform:none;text-indent:0px;letter-spacing:normal;font-family:Consolas;font-size:13.33px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-east-asian:normal;font-weight:400;text-decoration:none;word-spacing:0px;display:inline;white-space:pre-wrap;float:none;background-color:transparent"><br></span></div><div><span style="text-align:left;text-transform:none;text-indent:0px;letter-spacing:normal;font-family:Consolas;font-size:13.33px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-east-asian:normal;font-weight:400;text-decoration:none;word-spacing:0px;display:inline;white-space:pre-wrap;float:none;background-color:transparent">Thank you for any help with the following:</span></div><div><span style="text-align:left;text-transform:none;text-indent:0px;letter-spacing:normal;font-family:Consolas;font-size:13.33px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-east-asian:normal;font-weight:400;text-decoration:none;word-spacing:0px;display:inline;white-space:pre-wrap;float:none;background-color:transparent"><br></span></div><div>On Windows10, I've successfully installed CYGWIN 64bit shell (<a href="https://cygwin.com/install.html" target="_blank">https://cygwin.com/install.ht<wbr>ml</a>) with FLTK, OPENGL, BLAS, LAPACK, etc.. (everything but OCC for now)</div><div><br></div><div>Make doesn't build - aborts with <span style="text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;font-family:arial,sans-serif;font-size:13.33px;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;word-spacing:0px;display:inline;white-space:normal;float:none;background-color:transparent">errors, ‘usleep’ was not declared in this scope, etc.</span></div><div><div style="background:none;font:400 13.33px arial,sans-serif;outline:transparent 0px;border:0px rgb(34,34,34);width:1198px;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;overflow:visible;text-decoration:none;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:normal"><div><b><br></b></div><div>$ make<br style="background:none;font:400 13.33px arial,sans-serif;outline:transparent 0px;border:0px rgb(34,34,34);width:auto;overflow:visible;font-size-adjust:none;font-stretch:normal">Scanning dependencies of target gmsh<br style="background:none;font:400 13.33px arial,sans-serif;outline:transparent 0px;border:0px rgb(34,34,34);width:auto;overflow:visible;font-size-adjust:none;font-stretch:normal">[ 0%] Building CXX object CMakeFiles/gmsh.dir/Fltk/Main.<wbr>cpp.o<br style="background:none;font:400 13.33px arial,sans-serif;outline:transparent 0px;border:0px rgb(34,34,34);width:auto;overflow:visible;font-size-adjust:none;font-stretch:normal">[ 0%] Building CXX object CMakeFiles/gmsh.dir/Common/Gms<wbr>hGlobal.cpp.o<br style="background:none;font:400 13.33px arial,sans-serif;outline:transparent 0px;border:0px rgb(34,34,34);width:auto;overflow:visible;font-size-adjust:none;font-stretch:normal">In file included from /cygdrive/c/gmsh/Common/onelab<wbr>.h:40:0,<br style="background:none;font:400 13.33px arial,sans-serif;outline:transparent 0px;border:0px rgb(34,34,34);width:auto;overflow:visible;font-size-adjust:none;font-stretch:normal"> from /cygdrive/c/gmsh/Common/onelab<wbr>Utils.h:9,<br style="background:none;font:400 13.33px arial,sans-serif;outline:transparent 0px;border:0px rgb(34,34,34);width:auto;overflow:visible;font-size-adjust:none;font-stretch:normal"> from /cygdrive/c/gmsh/Common/GmshGl<wbr>obal.cpp:36:<br style="background:none;font:400 13.33px arial,sans-serif;outline:transparent 0px;border:0px rgb(34,34,34);width:auto;overflow:visible;font-size-adjust:none;font-stretch:normal">/cygdrive/c/gmsh/Common/GmshSo<wbr>cket.h: In member function ‘void GmshSocket::_Sleep(int)’:<br style="background:none;font:400 13.33px arial,sans-serif;outline:transparent 0px;border:0px rgb(34,34,34);width:auto;overflow:visible;font-size-adjust:none;font-stretch:normal">/cygdrive/c/gmsh/Common/GmshSo<wbr>cket.h:150:21: error: ‘usleep’ was not declared in this scope<br style="background:none;font:400 13.33px arial,sans-serif;outline:transparent 0px;border:0px rgb(34,34,34);width:auto;overflow:visible;font-size-adjust:none;font-stretch:normal"> usleep(1000 * ms);<br style="background:none;font:400 13.33px arial,sans-serif;outline:transparent 0px;border:0px rgb(34,34,34);width:auto;overflow:visible;font-size-adjust:none;font-stretch:normal"> ^<br style="background:none;font:400 13.33px arial,sans-serif;outline:transparent 0px;border:0px rgb(34,34,34);width:auto;overflow:visible;font-size-adjust:none;font-stretch:normal">/cygdrive/c/gmsh/Common/GmshSo<wbr>cket.h: In member function ‘int GmshSocket::Select(int, int, int)’:<br style="background:none;font:400 13.33px arial,sans-serif;outline:transparent 0px;border:0px rgb(34,34,34);width:auto;overflow:visible;font-size-adjust:none;font-stretch:normal">/cygdrive/c/gmsh/Common/GmshSo<wbr>cket.h:179:5: error: ‘fd_set’ was not declared in this scope<br style="background:none;font:400 13.33px arial,sans-serif;outline:transparent 0px;border:0px rgb(34,34,34);width:auto;overflow:visible;font-size-adjust:none;font-stretch:normal"> fd_set rfds;<br style="background:none;font:400 13.33px arial,sans-serif;outline:transparent 0px;border:0px rgb(34,34,34);width:auto;overflow:visible;font-size-adjust:none;font-stretch:normal"> ^~~~~~<br style="background:none;font:400 13.33px arial,sans-serif;outline:transparent 0px;border:0px rgb(34,34,34);width:auto;overflow:visible;font-size-adjust:none;font-stretch:normal">/cygdrive/c/gmsh/Common/GmshSo<wbr>cket.h:180:14: error: ‘rfds’ was not declared in this scope<br style="background:none;font:400 13.33px arial,sans-serif;outline:transparent 0px;border:0px rgb(34,34,34);width:auto;overflow:visible;font-size-adjust:none;font-stretch:normal"> FD_ZERO(&rfds);<br style="background:none;font:400 13.33px arial,sans-serif;outline:transparent 0px;border:0px rgb(34,34,34);width:auto;overflow:visible;font-size-adjust:none;font-stretch:normal"> ^~~~<br style="background:none;font:400 13.33px arial,sans-serif;outline:transparent 0px;border:0px rgb(34,34,34);width:auto;overflow:visible;font-size-adjust:none;font-stretch:normal">/cygdrive/c/gmsh/Common/GmshSo<wbr>cket.h:180:18: error: ‘FD_ZERO’ was not declared in this scope<br style="background:none;font:400 13.33px arial,sans-serif;outline:transparent 0px;border:0px rgb(34,34,34);width:auto;overflow:visible;font-size-adjust:none;font-stretch:normal"> FD_ZERO(&rfds);<br style="background:none;font:400 13.33px arial,sans-serif;outline:transparent 0px;border:0px rgb(34,34,34);width:auto;overflow:visible;font-size-adjust:none;font-stretch:normal"> ^<br style="background:none;font:400 13.33px arial,sans-serif;outline:transparent 0px;border:0px rgb(34,34,34);width:auto;overflow:visible;font-size-adjust:none;font-stretch:normal">/cygdrive/c/gmsh/Common/GmshSo<wbr>cket.h:181:20: error: ‘FD_SET’ was not declared in this scope<br style="background:none;font:400 13.33px arial,sans-serif;outline:transparent 0px;border:0px rgb(34,34,34);width:auto;overflow:visible;font-size-adjust:none;font-stretch:normal"> FD_SET(s, &rfds);<br style="background:none;font:400 13.33px arial,sans-serif;outline:transparent 0px;border:0px rgb(34,34,34);width:auto;overflow:visible;font-size-adjust:none;font-stretch:normal"> ^<br style="background:none;font:400 13.33px arial,sans-serif;outline:transparent 0px;border:0px rgb(34,34,34);width:auto;overflow:visible;font-size-adjust:none;font-stretch:normal">/cygdrive/c/gmsh/Common/GmshSo<wbr>cket.h:184:48: error: ‘select’ was not declared in this scope<br style="background:none;font:400 13.33px arial,sans-serif;outline:transparent 0px;border:0px rgb(34,34,34);width:auto;overflow:visible;font-size-adjust:none;font-stretch:normal"> return select(s + 1, &rfds, NULL, NULL, &tv);<br style="background:none;font:400 13.33px arial,sans-serif;outline:transparent 0px;border:0px rgb(34,34,34);width:auto;overflow:visible;font-size-adjust:none;font-stretch:normal"> <wbr> ^<br style="background:none;font:400 13.33px arial,sans-serif;outline:transparent 0px;border:0px rgb(34,34,34);width:auto;overflow:visible;font-size-adjust:none;font-stretch:normal">make[2]: *** [CMakeFiles/gmsh.dir/build.mak<wbr>e:87: CMakeFiles/gmsh.dir/Common/Gms<wbr>hGlobal.cpp.o] Error 1<br style="background:none;font:400 13.33px arial,sans-serif;outline:transparent 0px;border:0px rgb(34,34,34);width:auto;overflow:visible;font-size-adjust:none;font-stretch:normal">make[1]: *** [CMakeFiles/Makefile2:420: CMakeFiles/gmsh.dir/all] Error 2<br style="background:none;font:400 13.33px arial,sans-serif;outline:transparent 0px;border:0px rgb(34,34,34);width:auto;overflow:visible;font-size-adjust:none;font-stretch:normal">make: *** [Makefile:161: all] Error 2<br style="background:none;font:400 13.33px arial,sans-serif;outline:transparent 0px;border:0px rgb(34,34,34);width:auto;overflow:visible;font-size-adjust:none;font-stretch:normal"><br style="background:none;font:400 13.33px arial,sans-serif;outline:transparent 0px;border:0px rgb(34,34,34);width:auto;overflow:visible;font-size-adjust:none;font-stretch:normal"></div></div><div style="background:none;font:400 13.33px arial,sans-serif;outline:transparent 0px;border:0px rgb(34,34,34);width:1198px;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;overflow:visible;text-decoration:none;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:normal"><font color="#b00000" face="Consolas" style="background:none;font:400 13.33px Consolas;outline:transparent 0px;border:0px rgb(176,0,0);width:auto;overflow:visible;font-size-adjust:none;font-stretch:normal"><br style="background:none;font:400 13.33px Consolas;outline:transparent 0px;border:0px rgb(176,0,0);width:auto;overflow:visible;font-size-adjust:none;font-stretch:normal"></font></div></div><div><b><br></b></div><div><br></div><div>Results from "cmake .." command are good:</div><div><br></div><div>$ cmake ..<br>-- The CXX compiler identification is GNU 6.4.0<br>-- The C compiler identification is GNU 6.4.0<br>-- Check for working CXX compiler: /usr/bin/c++.exe<br>-- Check for working CXX compiler: /usr/bin/c++.exe -- works<br></div></div></div></blockquote><div><br></div><div>It seems that you are using the cygwin compilers, not the mingw ones. You can specify the compiler with e.g.</div><div><br></div><div>cmake -DCMAKE_CXX_COMPILER=/usr/bin/<wbr>x86_64-w64-mingw32-g++.exe</div><div><br></div><div>Christophe</div><div><br></div><div><br></div><div><br></div><br><blockquote type="cite"><div><div dir="ltr"><div>-- Detecting CXX compiler ABI info<br>-- Detecting CXX compiler ABI info - done<br>-- Detecting CXX compile features<br>-- Detecting CXX compile features - done<br>-- Check for working C compiler: /usr/bin/cc<br>-- Check for working C compiler: /usr/bin/cc -- works<br>-- Detecting C compiler ABI info<br>-- Detecting C compiler ABI info - done<br>-- Detecting C compile features<br>-- Detecting C compile features - done<br>-- Looking for sys/types.h<br>-- Looking for sys/types.h - found<br>-- Looking for stdint.h<br>-- Looking for stdint.h - found<br>-- Looking for stddef.h<br>-- Looking for stddef.h - found<br>-- Check size of void*<br>-- Check size of void* - done<br>-- Found 64Bit<br>-- Performing Test STDCXX11<br>-- Performing Test STDCXX11 - Success<br>-- The Fortran compiler identification is GNU 6.4.0<br>-- Check for working Fortran compiler: /usr/bin/gfortran.exe<br>-- Check for working Fortran compiler: /usr/bin/gfortran.exe -- works<br>-- Detecting Fortran compiler ABI info<br>-- Detecting Fortran compiler ABI info - done<br>-- Checking whether /usr/bin/gfortran.exe supports Fortran 90<br>-- Checking whether /usr/bin/gfortran.exe supports Fortran 90 -- yes<br>-- Looking for Fortran sgemm<br>-- Looking for Fortran sgemm - found<br>-- Looking for pthread.h<br>-- Looking for pthread.h - found<br>-- Looking for pthread_create<br>-- Looking for pthread_create - found<br>-- Found Threads: TRUE<br>-- A library with BLAS API found.<br>-- Found Blas<br>-- A library with BLAS API found.<br>-- Looking for Fortran cheev<br>-- Looking for Fortran cheev - found<br>-- A library with LAPACK API found.<br>-- Found Lapack<br>-- Found Mesh<br>-- Found Solver<br>-- Found Post<br>-- Found Plugins<br>-- Found Parser<br>-- Found Fltk<br>-- Using fltk-config script for Fltk 1.3<br>-- Found NativeFileChooser<br>-- Found ONELAB<br>-- Found ONELABMetamodel<br>-- Found JPEG: /usr/lib/libjpeg.dll.a<br>-- Found Jpeg<br>-- Found ZLIB: /usr/lib/libz.dll.a (found version "1.2.11")<br>-- Found Zlib<br>-- Found PNG: /usr/lib/libpng.dll.a (found version "1.6.34")<br>-- Found Png<br>-- Found Mpeg<br>-- Found OpenGL: /usr/lib/libGL.dll.a<br>-- Found OpenGL<br>-- System ANN not found: using contrib/ANN instead<br>-- Found Ann<br>-- Found Bfgs<br>-- Found DIntegration<br>-- Found OptHom<br>-- Found Kbipack<br>-- Found GMP<br>-- Found MathEx<br>-- System METIS not found: using contrib/metis instead<br>-- Found Metis<br>-- Found TetGen/BR<br>-- System voro++ not found: using contrib/voro++ instead<br>-- Found Voro++<br>-- Found Blossom<br>-- Found Netgen<br>-- Found Bamg<br>-- System MMG3D not found: using contrib/mmg3d instead<br>-- Found Mmg3d<br>-- HDF5: Using hdf5 compiler wrapper to determine C configuration<br>-- HDF5: Using hdf5 compiler wrapper to determine CXX configuration<br>-- Found HDF5: hdf5_cpp;hdf5;z;dl;m;/usr/lib/<wbr>libhdf5_cpp.dll.a;HDF5_hdf5_fo<wbr>rtran_LIBRARY-NOTFOUND;/usr/li<wbr>b/libhdf5.dll.a (found version "1.8.20")<br>-- System GMM not found: using contrib/gmm instead<br>-- Found Gmm<br>-- Looking for vsnprintf<br>-- Looking for vsnprintf - found<br>-- Looking for sys/socket.h<br>-- Looking for sys/socket.h - found<br>-- Check size of socklen_t<br>-- Check size of socklen_t - done<br>-- Check size of intptr_t<br>-- Check size of intptr_t - done<br>-- Looking for dlfcn.h<br>-- Looking for dlfcn.h - found<br>-- Found Dlopen<br>-- Looking for linux/joystick.h<br>-- Looking for linux/joystick.h - not found<br>-- Performing Test WALL<br>-- Performing Test WALL - Success<br>-- Performing Test WCAST<br>-- Performing Test WCAST - Failed<br>-- Performing Test WDEPREC<br>-- Performing Test WDEPREC - Success<br>-- Performing Test WIND<br>-- Performing Test WIND - Success<br>-- Performing Test NOWARN<br>-- Performing Test NOWARN - Success<br>-- Performing Test NOOPT<br>-- Performing Test NOOPT - Success<br>--<br>-- Gmsh 3.0.7 has been configured for Windows64<br>--<br>-- * Build options: 64Bit Ann Bamg Bfgs Blas Blossom DIntegration Dlopen Fltk GMP Gmm Jpeg Kbipack Lapack MathEx Mesh Metis Mmg3d Mpeg NativeFileChooser Netgen ONELAB ONELABMetamodel OpenGL OptHom Parser Plugins Png Post Solver TetGen/BR Voro++ Zlib<br>-- * Build type: RelWithDebInfo<br>-- * C compiler: /usr/bin/cc<br>-- * C++ compiler: /usr/bin/c++.exe<br>-- * Install prefix: /usr/local<br>--<br>-- Configuring done<br>-- Generating done<br>-- Build files have been written to: /cygdrive/c/gmsh/build</div><div><br></div><div>Any help would be much appreciated.</div><div><br></div><div>Thanks,</div><div>Joh<br></div><div><font color="#007600" face="Consolas"><font color="#004000" face="Arial"></font><br></font></div></div>
______________________________<wbr>_________________<br>gmsh mailing list<br><a href="mailto:gmsh@onelab.info" target="_blank">gmsh@onelab.info</a><br><a href="http://onelab.info/mailman/listinfo/gmsh" target="_blank">http://onelab.info/mailman/lis<wbr>tinfo/gmsh</a><br></div></blockquote></div><br><div>
<div style="word-wrap:break-word;line-break:after-white-space" dir="auto"><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">— </div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Prof. Christophe Geuzaine<br>University of Liege, Electrical Engineering and Computer Science <br><a href="http://www.montefiore.ulg.ac.be/~geuzaine" target="_blank">http://www.montefiore.ulg.ac.b<wbr>e/~geuzaine</a><br><br>Free software: <a href="http://gmsh.info/" target="_blank">http://gmsh.info</a> | <a href="http://getdp.info/" target="_blank">h<wbr>ttp://getdp.info</a> | <a href="http://onelab.info/" target="_blank">http://onel<wbr>ab.info</a></div></div>
</div>
<br></div></blockquote></div><br></div>
</div></blockquote></div><br><div>
<div style="word-wrap:break-word;line-break:after-white-space" dir="auto"><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">— </div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Prof. Christophe Geuzaine<br>University of Liege, Electrical Engineering and Computer Science <br><a href="http://www.montefiore.ulg.ac.be/~geuzaine" target="_blank">http://www.montefiore.ulg.ac.b<wbr>e/~geuzaine</a><br><br>Free software: <a href="http://gmsh.info" target="_blank">http://gmsh.info</a> | <a href="http://getdp.info" target="_blank">h<wbr>ttp://getdp.info</a> | <a href="http://onelab.info" target="_blank">http://onel<wbr>ab.info</a></div></div>
</div>
<br></div></blockquote></div><br></div>
</div></blockquote><blockquote type="cite"><div><span>______________________________<wbr>_________________</span><br><span>gmsh mailing list</span><br><span><a href="mailto:gmsh@onelab.info" target="_blank">gmsh@onelab.info</a></span><br><span><a href="http://onelab.info/mailman/listinfo/gmsh" target="_blank">http://onelab.info/mailman/lis<wbr>tinfo/gmsh</a></span><br></div></blockquote></div></div></blockquote></div><br></div>
</blockquote></div><br></div>