Re: How to build GTK+ for win32




--- On Mon, 9/27/10, Maarten Bosmans <mkbosmans gmail com> wrote:

> From: Maarten Bosmans <mkbosmans gmail com>
> Subject: Re: How to build GTK+ for win32
> To: "Alex" <eaglehover 163 com>
> Cc: gtk-list gnome org
> Date: Monday, September 27, 2010, 1:42 AM
> 2010/9/27 Alex <eaglehover 163 com>:
> > Hi all,
> >       I download gtk+ sources files and other
> dependencies such as pango,
> > atk, glib, then use the Microsoft compiler, cl and
> Make, nmake to build
> > them. The makefile.msc files donot work correctly. How
> can I build gtk+ for
> > win32 ?
> 
> You can either build gtk using MSVC or with gcc using
> mingw. In the
> first case you need makefile.msc, in the second case you
> just run
> ./configure with the desired options.
> 
> >      "All-in-one bundles" on http://www.gtk.org/features.html, How are they
> > built ?
> 
> As far as I know those are build using mingw on windows. By
> far the
> easiest approach for building for windows is to use mingw
> on linux,
> i.e. cross-compile all the libraries. This is even more
> true when you
> want to build git versions of gtk instead of packaged
> tarballs,
> because all the autotools are easy to install on your
> typical
> distribution.
> 
> > Best wishes,
> > Alex
> 
> Maarten


See http://mingw-cross-env.nongnu.org/ ->
http://mingw-cross-env.nongnu.org/#packages - gtk+ is there.

Regards,
  Sergei.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]