RE: Gtk+ 3.0 and MS Windows

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

 



All:

I apologize for confusion about gdk/gdkenumtypes.h . I forgot that I altered installation of perl. Those headers are created properly.

I completely forgot that MS Windows has a limited command line length. That causes gcc to fail with "gcc.exe: : No such file or directory" as command line was cut. So Mingw build _under MS Windows_ is broken unless @response files will be used to save on command line length.

Fan:

If I try to use experimental MS VC++ solution/projects, gdk-win32 dll gets built correctly. However when I try to build gdk project I get errors like following:

...
1>Linking...
1>gdk.def : error LNK2001: unresolved external symbol gdk_axis_use_get_type
1>gdk.def : error LNK2001: unresolved external symbol gdk_byte_order_get_type
...

Mikhail


-----Original Message-----
From: Fan Chun-wei [mailto:fanc999@xxxxxxxxxxxx] 
Sent: Thursday, March 24, 2011 10:51 PM
To: Mikhail Titov
Cc: john.stowers.lists@xxxxxxxxx; mkbosmans@xxxxxxxxx; 'Gtk+ list'
Subject: RE: Gtk+ 3.0 and MS Windows

Hi Mikhail,

You may want to try the VS2008 Project files in the $(srcroot)/build
/win32/vs9 folder, and VS2010 project files for gtk+-3.0.x are now under review for inclusion (the same holds for GLib 2.28.x and GTK+-2.24.x).

AFAIK, due to different release cycles, VS Project files are not yet in GDK-Pixbuf, ATK and Pango stable releases, but they are available in the latest unstable versions of GDK-Pixbuf and ATK, and is already upstream for Pango.  For GDK-Pixbuf 2.23.2, you may want to get a patch from BugZilla so that it will compile (sorry, search for my e-mail in BugZilla for a bug regarding GDK-Pixbuf-I can't recall the bug number as BugZilla is currently down), as under VS, all image loaders are built into the main library DLL.  The VS9 Project files are all in $(srcroot)/build/win32/vs9 for those respective packages-be sure to see the README.txt's in that folder for each package, especially regarding gettext-runtime, which can be hard to build yourself under VS.

God Bless,
-Fan, Chun-wei


--- 11/3/25 (ä)ïMikhail Titov åéï

> ææ: 2011å3æ25æ,ä,äå6:08
> Maarten:
> 
> Yes, if you have this script available it would be wonderful. The only 
> shortcoming of these binaries from OpenSUSE that they lack dot lib 
> files for MS linker and don't have property sheets that make life 
> easier in Visual Studio IDE. Though both problems are doable as dot 
> lib files can be generated and all properties can be set semi-manually 
> with pkg-conf.
> 
> I'm not sure what is the overall goal for GTK+ for non-linux platform. 
> Shall it be buildable under MS Windows or cross-compilation is the 
> only planned strategy? In former case, I guess it makes sense to debug 
> build process as I had all ./configure prerequisites satisfied. Though 
> I feel like I'm on my own under MS Windows :-)
> 
> Unfortunately cross-compiling my entire project is not an option for 
> me as base classes for DirectShow from Platform SDK that I use have a 
> lot of MS specific code and I failed to build it even with MinGW. So I 
> really hope that an opportunity to use MS compiler and linker 
> out-of-box (like gtkmm 2) will be preserved.
> 
> Mikhail
> 
> 


      

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list



[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux