Install GTK2 on windows!

I am trying to install GTK in windows and use the GLADE interface to develop a GUI. For GTK, I need to install Glib, which creates a problem for me. I am trying to do:

perl Makefile.pl
dmake
dmake test
dmake install

but i'm stuck on the step dmake. The error I see is:

---------------  dmake.exe:  Error code 1, while making 'Glib.o'-------------

Is it possible to use GLADE and Glib with perl on windows? If so, am I mistaken in creating it?

+3
source share
1 answer

I am using gtk 2.22 in xp and 7, compiled in xp with msvisual C ++ 2010 and activePerl 5.012. It was a dirty job, but it works for me. I did this a few months ago, and these are the notes I wrote.

  • get msvcr100.dll and place it in the system32 folder.
  • compile ExtUtils-Depends and ExtUtils-PkgConfig
  • Glib unistd.h gtk\include\font? foo ( linux!) add include stdlib.h, io.h getopt.h . http://www.pwilson.net/sample.html
  • Pango ( , pango, 3 gtk2perl????. xs)
  • compile gtk ( : gdkcairo.xs gdkprintcontext)

, . PDF () ! , , Linux.

+1

All Articles