-
Notifications
You must be signed in to change notification settings - Fork 3k
[MacOS] [CI] wxWidgets source build errors #10173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
CT Test Results 1 files 11 suites 3m 52s ⏱️ Results for commit 3b4ad7e. ♻️ This comment has been updated with latest results. To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass. See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally. Artifacts// Erlang/OTP Github Action Bot |
0490806
to
07f47d8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this change sounds good.
I would wait for @dgud input, since he is the main maintainer of the wx
app
I don't like patching wxWidgets, a better variant would be to use system png and zlib there are configure flags for that. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Request changes a suggested by @dgud
07f47d8
to
e254a14
Compare
Now it is just one line of change, i kept the download bit, but commented, and the option i removed is also commented. Local build succeeded. Will see what the CI has to say. |
e254a14
to
4a2ffeb
Compare
Apparently changing it to use system libraries and removing the patching did not work as expected, and there's |
It didn't use system libraries for png and jpeg :-(
|
45a01d1
to
01c119e
Compare
01c119e
to
3b4ad7e
Compare
Rebase to maint and squash commits |
Source branch renamed, this now continues in #10239 |
Problem
Compile errors appear when building
wxWidgets
on MacOS using.github/scripts/build-macos-wxwidgets.sh
with latest Clang 17.Solution
sed
:#include <fp.h>
to#include <math.h>
in thewxWidgets/src/png/pngpriv.h
sed
:#define fdopen
inwxWidgets/src/zlib/zutil.h
shellcheck
tool).Other Solutions
The problem caused by the changes in standard library in Clang 17. Alternative solution is installing and using previous Clang 16 via Homebrew or somehow else.