Re: Gtk+windows installing!!!



ionut grigorescu wrote:
Can anyone help me, tell me how to use gtk in windows
(how to intall it and use it) with blood shed dev?
I've tried following the instructions from
dropline.net and the mini tutorial on the forum, but
it still does not work, it compiles the aplications
but running them brings errors.
If anyone has the time to write a simple step by step
for dummies ( me :D ) tutorial regarding the
instalation of gtk in windows, please do . I don't
usually use windows, but I have a homework which must
be done in windows (a project).
Thank you for reading this message !!!

Sounds like the problem you're having is related to the PATH.
You need to edit the PATH environment variable including the
location of the dll's for gtk+.  Or you can just simply copy the
dlls into the location of your app.  If you can't do this because
you will need to distribute you gtk+ app on the win32 platform
the easiest solution is to distribute the dll's with your win32
exe all in the same directory.  However, if size matters then you'll
probably want to compile gtk+ with msvc instead of gcc.
You'll save 2 - 3 megs if you compile it will msvc and -OS.
I have been trying to
maintain a msvc build of gtk+ for win32 which I keep here:
http://severna.homeip.net/gtk-win32.html.  just download the runtime and
extract the archive in C:\ and it'll create a directory usr, very similar
to the layout provided by the dropline installer.  Edit your path env
to include c:\usr\bin.  Then you can use glade 2.6 and gtk+ 2.4 for
win32.

I don't include as many libraries as dropline, but I think i include
the important ones for developing in win32, like a recent libxml2
and libglade-2.0.  I've been using them for awhile building gtk+
apps in linux and compiling in win32.  I hope this is helpful.

-todd




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