|
|
Hmm - what compiler actually is that? There are a few things you get that I don’t seem to see, and some things look “wrong”...
What does “g++ -v” actually report in your Msys2 shell?
Cross-compiling: no Graphics: GDI+
OK - so at this point configure has correctly identified that it is a Windows GDI build (i.e. not X11!)
Compiling gzlib.c... gzlib.c: In function ‘gz_open’: gzlib.c:243:20: warning: implicit declaration of function ‘_wopen’; did you mean ‘fwopen’? [-Wimplicit-function-declaration] 243 | fd == -2 ? _wopen(path, oflag, 0666) : | ^~~~~~ | fwopen
That looks odd - I don't recall my “fresh” build from earlier today doing that. This may well be the warning from PNG that Greg mentions, though I imagine.
Compiling Fl.cxx... In file included from Fl.cxx:22: ../FL/platform.H:51:14: fatal error: X11/Xlib.h: No such file or directory 51 | # include <X11/Xlib.h> | ^~~~~~~~~~~~ compilation terminated.
And my build definitely did not do that!
Thanks for working on the issue. The autotools scripts now work fine.
Are we missing some Windows flag to the compiler? It does not appear to be defining a Windows macro. So, platform.H thinks it is unix.
The compiler set of defines you listed looks a bit odd to me; in particular a “Windows” compiler ought to define (at least) “_WIN32", maybe also “__WIN32” (and historically also WIN32, but that is deprecated now) but yours appears not to have defined any of those, though it does have __MSYS__ and so forth set. Which seems suspicious. Which, in turn, was why I was asking what actual compiler you are using...
--
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/CEF9A9A0-8887-44FD-B2EF-5F1486B8E592%40gmail.com.
|
[ Direct Link to Message ] | |
|
| |