Re: glib-mkenums in glib 2
- From: Fan Chun-wei <fanc999 yahoo com tw>
- To: John Emmas <johne53 tiscali co uk>
- Cc: gtk-devel-list gnome org
- Subject: Re: glib-mkenums in glib 2
- Date: Fri, 28 Dec 2012 12:43:08 +0800
Hello John,
[snip]At least it seems so, if this web page is to be believed:-
http://www.gtk.org/download/win32.php
You might want to look at this page instead: 
http://www.gtk.org/download/linux.php, as the win32 page you have 
mentioned is unfortunately out of date.  The latest stable tarball is 
glib-2.34.3, which was released about a month ago, and that does include 
up-to-date VS 2008/2010 project files.  Beware, however, you need libffi 
in order to build GObject and ZLib to build GIO (parts of the GLib 
package), and that was since 2.29.x-you can take a look at 
https://live.gnome.org/GTK%2B/Win32/MSVCCompilationOfGTKStack#libffi on 
how to build libffi for Visual Studio (it is also recommended to build 
ZLib using the VS version you are using to build GLib, instructions for 
that can be found in 
https://live.gnome.org/GTK%2B/Win32/MSVCCompilationOfGTKStack#ZLib-building 
ZLib is actually quite simple on Visual C++).
[snip] But given that a list of header files is needed, wouldn't it be 
more logical for that list to be included in glib-mkenums (as opposed 
to being in makefile.msc)? Or am i looking at this from the wrong 
perspective?
The thing is, that PERL script is to be used for many GLib-using 
libraries (and perhaps programs), so it is meant to be general-purpose.  
The Cogl gen-enums.bat refers to an example how glib-mkenums is called 
(for Cogl, specifically), so the headers list would be different for 
each library that would call it.
Hope this helps.
With blessings.
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]