FW: [Gtk-sharp-list] Compile gtk# on Windows

Daniel Morgan danmorg@sc.rr.com
Sun, 22 Dec 2002 23:37:49 -0500


For the GTK+ 2.0 dependencies, I failed to mention the pkg-config files for
gtk+ 2.0 and dependencies will need to be set correctly if they haven't
already been.

Look in your mono installation/lib/pkgconfig, such as,

          F:/cygwin/home/DanielMorgan/mono/install/lib/pkgconfig

you will find files like:

          gtk+-2.0.pc

Edit the line that says

         prefix=something

And set it to your mono installation prefix, such as,

         prefix=F:/cygwin/home/DanielMorgan/mono/install

Do this for all the .pc files in that directory.  If there are not any, then
you will need to create them.  Or get them from somewhere like the dev
packages at
http://www.gimp.org/~tml/gimp/win32/downloads.html

-----Original Message-----
From: gtk-sharp-list-admin@ximian.com
[mailto:gtk-sharp-list-admin@ximian.com]On Behalf Of Daniel Morgan
Sent: Sunday, December 22, 2002 11:27 PM
To: Herbert Sauro; gtk-sharp-list@ximian.com
Subject: RE: [Gtk-sharp-list] Compile gtk# on Windows


What I tell you may not be correct, but here's my suggestion:

To build gtk# under windows, you will need the following:
- cygwin from http://www.cygwin.com/
- Mono 0.17 or later from http://www.go-mono.com/download.html
  You can use Windows Setup Wizard (NT/2000/XP).
- GTK+ 2.0 (and dependencies).  You can obtain gtk+ 2.0 by either of the
following:
  * You can get a Windows Installer at:
  http://www.dropline.net/jade/download.html
  * get the separate binary and dev/lib packages at
  at http://www.gimp.org/~tml/gimp/win32/downloads.html
  * the source at
  http://www.gtk.org/
- binary distriubtion of a current web browser
  like Internet Explorer 4.0, Mozilla 1.0, or Netscape 7.0 which
  includes things like msvcrt.dll.
- Microsoft .NET Framework at

http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?ur
l=/msdn-files/027/000/976/msdncompositedoc.xml&frame=true

If you are running Windows 95/98/ME, then you will need Unicode support.
Look in
mono-list archives for information about how to get
Mono to work on Windows 9x.
http://lists.ximian.com/archives/public/mono-list/2002-December/004158.html

Environment Variables to set:
- PATH - set to your mono installation bin and lib path.
  For example, my mono installation prefix is:
F:/cygwin/home/DanielMorgan/mono/install
  So, I would set my PATH in the Windows Control Panel as:

F:/cygwin/home/DanielMorgan/mono/install/bin;F:/cygwin/home/DanielMorgan/mon
o/install/lib
- LD_LIBRARY_PATH - set to your mono installation lib path
- PKG_CONFIG_PATH - set to your mono installation lib/pkgconfig path, such
as,
  F:/cygwin/home/DanielMorgan/mono/install/lib/pkgconfig

If you got the gtk-sharp source, cd to the gtk-sharp directory, type:
$ ./autogen.sh --prefix=~/mono/install

Set your --prefix= to whatever your mono installation prefix is located.
This will take awhile to go through the ./autogen.sh and ./configure...

After that it finishes succesfully, you run make with the makefile.win32
like:
$ make -f makefile.win32

After that finishes succesfully, you can copy to your mono installation lib
path like:
$ cp */*.dll ~/mono/install/lib

-----Original Message-----
From: gtk-sharp-list-admin@ximian.com
[mailto:gtk-sharp-list-admin@ximian.com]On Behalf Of Herbert Sauro
Sent: Thursday, December 12, 2002 9:22 PM
To: 'gtk-sharp-list@ximian.com'
Subject: [Gtk-sharp-list] Compile gtk# on Windows



I'd don't work with Linux.

Has anyone got detailed instructions on how to compile gtk# under windows?
Even better how about distributing windows binaries just as they do for
Mono?

Herbert Sauro

----------------------------------------------------------
There are only three kinds of people in this world; those that can count,
and those that can't

Dr Herbert M Sauro
Keck Graduate Institute
535 Watson Drive
Claremont
CA, 91711
Tel: USA 1-909-607-0377
Email : hsauro@kgi.edu <mailto:hsauro@kgi.edu>
Web: www.sys-bio.org <http://www.sys-bio.org>




_______________________________________________
Gtk-sharp-list maillist  -  Gtk-sharp-list@ximian.com
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list


_______________________________________________
Gtk-sharp-list maillist  -  Gtk-sharp-list@ximian.com
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list