Tutorial
Arie van Wingerden <[email protected]>
| Newsgroups | gmane.comp.lang.pike.user |
|---|---|
| Message-ID | <CADkALSF5bKa4ccm_bk2pK=2c6dmcCkCzbzs1zadzM_gei0_7-g@mail.gmail.com> |
Hi,
I just wish to explore Pike as a Python alternative.
But the second small program in the tutorial already fails:
Running this:
int main()
{
GTK.setup_gtk();
GTK.Alert("Hello world!", "Title");
return -1;
}
Gives this result:
E:/src/pike/test.pike:4:Index 'Alert' not present in module GTK.
E:/src/pike/test.pike:4:Indexed module was: GTK.
E:/src/pike/test.pike:4:Too many arguments to `() (function call) (expected
0 arguments).
E:/src/pike/test.pike:4:Got : string(32..119).
Pike: Failed to compile script.
On OSDir I found that maybe I should install GTK separately. Also in the
docs I see references to GTK1 and GTK2.
Q1: Which GTK version is appropriate for Windows?
Q2: is there a Pike package manager for this kind of thing?
Best regards,
Arie