You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From the linenumber (1462) this seems to be the same issue that some others have reported as well in the last 12 months, e.g. #225. It is caused by a compiler change introduced after Nim 1.6.x, related to something like tuple unpacking. That was working fine for eight years, but then they broke it.
Note that a plain "nimble install gintro" does not work for recent GTK, we use typically "gintro install gintro@#head". But that is not related to your issue.
I do not assume that you intent to actually use gintro -- I guess MAC people do not like GTK? Gintro had very few users over all the years, and in the last three years number of users has drastically decreased, so it is basically zero. I think a few people who still like Nim and GTK are now using owkettle, another Nim GTK based GUI toolkit, which should be good enough at least for toy apps.
If you really should need Gintro: Ask THEM to fix it, or wait for Nim 3.0. Or install an old Nim 1.6.x, install Gintro, and then switch to Nim 2.0. Or, fork Gintro, fix that tiny unpacking issue by use of a temporary variable. Others have forked Gintro already without asking me for permission, so one more unofficial fork may not hurt. But please delete your fork when you do not need it any longer.
Thanks for the response, new to nim gui, and thanks for mentioning owkettle, just installed with nim2.
reason to use gtk4 on Mac is for cross platform GUI, for that gtk4 seems like a good option comparing to Qt(license complex), WxWidgets(smaller community) and Electronjs(bloated)
nimble install gintro. # nim 2.0.0, apple M2
The text was updated successfully, but these errors were encountered: