Closed Banjerr closed 3 years ago
Hi thank you for reporting the issue. As I'm away from macOS platform for long, there is no time frame for me to fix this unfortunately. But I will try to help as best I can.
I suspect it didn't build modules
which includes SkShaper
as it reflects on your issue. I checked and our build script is slightly outdated. We could try the following workaround
libskshaper.a
inside deps/skia/out/Release/
? or (optional) try to see if it located elsewhere outside that path (less likely, but just to be sure)modules
2:) Use pre-built skia library (both see below to continue...)modules
which contains SKSHAPER
.Skia-macOS-Release-x64.zip
at https://github.com/aseprite/skia/releases/tag/m81-b607b32047out/Release-x64/libskshaper.a
then paste into your deps/skia/out/Release/
(it's not necessary to copy all files, but if it didn't work, try another time by copying all the files there, then replace at destination path as mentioned)Thanks for the feedback! I will try these steps soon 🙏
Sent from my iPhone
On Jan 10, 2021, at 3:31 AM, Wasin Thonkaew notifications@github.com wrote:
Hi thank you for reporting the issue. As I'm away from macOS platform for long, there is no time frame for me to fix this unfortunately. But I will try to help as best I can.
I suspect it didn't build modules which includes SkShaper as it reflects on your issue. I checked and our build script is slightly outdated. We could try the following workaround
Validate that you didn't see libskshaper.a inside deps/skia/out/Release/? or (optional) try to see if it located elsewhere outside that path (less likely, but just to be sure) if not found then, there are 2 options we can go with 1:) Rebuild skia with updated build script to include modules 2:) Use pre-built skia library (both see below to continue...) Option 1: Rebuild skia with updated build script
There's updated skia build commands for macOS as seen from https://github.com/aseprite/skia#skia-on-macos. Change these two lines https://github.com/haxpor/aseprite-macos-buildsh/blob/master/aseprite.sh#L129-L130 to last two lines in former link, notice it now includes modules which contains SKSHAPER. Start it over executing build script from this project Option 2: Use pre-built skia library
Download pre-built skia library package for macOS namely Skia-macOS-Release-x64.zip at https://github.com/aseprite/skia/releases/tag/m81-b607b32047 Extract it and copy out/Release-x64/libskshaper.a then paste into your deps/skia/out/Release/ (it's not necessary to copy all files, but if it didn't work, try another time by copying all the files there, then replace at destination path as mentioned) Execute the build script command of this project again — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
I'm getting this error too, FYI -- I think current master is basically broken under newest macOS.
I followed the option 2 and the build executed perfectly.
I'm now hitting this issue: https://gitlab.kitware.com/cmake/cmake/-/issues/21048
Doesn't seem to be a resolution, oh well... thanks for your help!
FYI: As I'm away from macOS platform, I'm open to contributors to resolve this issue cleanly. Mainly it would need to test on newer / latest version of macOS (that's the main problem), and adopt building changes from upstream aseprite repo.
I can see that @axfelix 's issue is related to the curl library. You can check out the detailed guide (with troubleshooting) I wrote for MacOS installation using this utility to resolve the issue.
Link - Building Aseprite from Source on MacOS Catalina 10.15
There is a PR to amend this for latest macos version. Maybe affected users might want to test and if so please let me know if it's working fine for you here? Thank you very much.
I can confirm this worked fine for me! Thank you!
@abhishek-shaw 's PR has been merged. So this issue can be closed now. Thank you everyone 👍🏽
I'm receiving the following after running the script