Gypsum
Gypsum copied to clipboard
Errors with identifier "GTK2" in WSL2 - Ubuntu 20.04
Windows 11 allows running graphical linux apps under WSL2.
- sudo apt install pike8.0-full git
- sudo apt install install gtk2.0
- git -C ~ clone https://github.com/Rosuav/Gypsum
Get the following when I try to run:
gesslar@LIAM:~/Gypsum$ pike gypsum.pike
gypsum.pike:101:Undefined identifier GTK2.
gypsum.pike:101:Undefined identifier GTK2.
gypsum.pike:101:Undefined identifier GTK2.
gypsum.pike:101:Too many arguments to `() (function call) (expected 0 arguments).
gypsum.pike:101:Got : zero.
gypsum.pike:139:Undefined identifier GTK2.
gypsum.pike:147:Undefined identifier GTK2.
gypsum.pike:147:Undefined identifier GTK2.
gypsum.pike:139:Too many arguments to `() (function call) (expected 0 arguments).
gypsum.pike:139:Got : array(string(71..121)).
gypsum.pike:147:Too many arguments to `() (function call) (expected 0 arguments).
gypsum.pike:147:Got : zero.
Pike: Failed to compile script.
Huh. I've no idea how to get GTK2 support in WSL. I hope it isn't necessary to build Pike from source to get that.
I was getting that message before I installed gtk2 so then I installed it and I'm still getting the same error. Strange.
On Tue., Nov. 9, 2021, 9:34 p.m. Chris Angelico, @.***> wrote:
Huh. I've no idea how to get GTK2 support in WSL. I hope it isn't necessary to build Pike from source to get that.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Rosuav/Gypsum/issues/9#issuecomment-964726441, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJVJ52XWWM4MTKRP54FCPDULHK3JANCNFSM5HWYZFMA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Hmm. I don't know how the metapackage for Pike works. Maybe if you installed Pike when GTK wasn't installed, it didn't install everything?? Not sure - been a good while since I've used Ubuntu.