FLTK logo

Re: [fltk.general] Re: Compiling under mingw - error with zlib.h

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Re: Compiling under mingw - error with zlib.h Ian MacArthur Nov 16, 2022  
 
On Wednesday, 16 November 2022 at 15:36:19 UTC Albrecht Schlosser wrote:

You seem to miss `mingw32-make`. Please try this command (output from my system):
$ mingw32-make --version
GNU Make 4.3
Built for Windows32
...

I've generally found "MSYS Makefiles" to be fine with MSYS2/mingw64, so worth trying that first...
 

3. CMAKE_EXE_LINKER_FLAGS="-static-libgcc -static-libstdc++": make sure you don't need these DLL's

My mingw64 builds DO NOT need these set.
My mingw32 builds DO need these set.
I have no idea what is "normal". Probably does no harm to have these settings enabled though?
 

4. Remaining issue: unfortunately the build (still) depends on `libwinpthread-1.dll => /mingw64/bin/libwinpthread-1.dll` as output by `ldd`

Point 4 is something I need to investigate because it makes the executables depend on this DLL. You can either run the programs from your MSYS shell or copy the DLL to the binary directory side by side with the executables if you want to run these programs under pure Windows.

That's linked against winpthread rather than using Win32 native threads?
That's.... unexpected... and not what we would want.

Is it a mis-setting in the config? Or the wrong version of the mingw64 tools?
Weird...


--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/3365b7b5-6664-4393-82cb-0912b89dc3bdn%40googlegroups.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.