|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Installing gtk on Windows XPIs there an installer that actually works on XP? I have tried about half a
dozen and all are missing some component. For example, the gtk 2.12 package available at SourceForge (http://sourceforge.net/project/showfiles.php?group_id=71914) produces the following error when I try to use glade: The application has failed to start because libglade-2.0-0.dll was not found. In fact, libglade-2.0-0.dll is not on my system. So then I install glade/gtk from Sourceforge (http://sourceforge.net/project/downloading.php?groupname=gladewin32&filename=gtk-2.12.9-win32-2.exe&use_mirror=internap) which would seem to offer a complete package including glade. Now I get unable to load libpixbufloader-png.dll: /target/lib/gtk-2.0/2.10.0/loaders Something is looking in the wrong place (/target should be /gtk). Looks like a mistake in the installer. And so on. -- Jeffrey Barish _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@... http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list |
|
|
Re: Installing gtk on Windows XP(Jeff, sorry; I posted directly to you first instead of to the ML. Excuse
the dupe.) > Is there an installer that actually works on XP? I have tried about half > a > dozen and all are missing some component. So, you're writing an app and you want to point your users to a standard runtime installer - am I following you correctly? If so, then I'm not sure there is a one-size-fits-all option out there. There are several third party installers like the ones you're mentioning, but I don't know that there's any single really good one right now. > For example, the gtk 2.12 package available at SourceForge > (http://sourceforge.net/project/showfiles.php?group_id=71914) produces the > following error when I try to use glade:> The application has failed to start because libglade-2.0-0.dll was not > found. > > In fact, libglade-2.0-0.dll is not on my system. Glade is not a standard component of GTK, but rather an optional thing that many people like to use. Personally I don't use Glade at all. This is not a fault of the installer. > > So then I install glade/gtk from Sourceforge > (http://sourceforge.net/project/downloading.php?groupname=gladewin32&filename=gtk-2.12.9-win32-2.exe&use_mirror=internap) > which would seem to offer a complete package including glade. Now I get > > unable to load libpixbufloader-png.dll: /target/lib/gtk-2.0/2.10.0/loaders This one does give you Glade and maybe some other stuff too. But obviously, it's being problematic (and I don't know why, sorry!). I think the best way to handle things right now, if I remember what tml said right, is to bundle things together yourself. Maybe it's wasteful, but it at least works. If you want to give this a try, what you do is unzip an official GTK distribution from gtk.org into your target folder. This should create some folders like bin, lib, etc, etc. (Bad joke, yes. ;) Pop your executable into the bin folder and run it from there, and things should work right. As for figuring out which GTK files not to include, that exercise is up to you. - Paul Goins Author of J-Ben: http://www.vultaire.net/software/jben/ _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@... http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list |
|
|
Re: Installing gtk on Windows XP-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 Jeffrey Barish wrote: > Is there an installer that actually works on XP? I have tried about half a > dozen and all are missing some component. For example, the gtk 2.12 > package available at SourceForge > (http://sourceforge.net/project/showfiles.php?group_id=71914) produces the > following error when I try to use glade: > > The application has failed to start because libglade-2.0-0.dll was not > found. > > In fact, libglade-2.0-0.dll is not on my system. > > So then I install glade/gtk from Sourceforge > (http://sourceforge.net/project/downloading.php?groupname=gladewin32&filename=gtk-2.12.9-win32-2.exe&use_mirror=internap) > which would seem to offer a complete package including glade. Now I get > > unable to load libpixbufloader-png.dll: /target/lib/gtk-2.0/2.10.0/loaders > > Something is looking in the wrong place (/target should be /gtk). Looks > like a mistake in the installer. > > And so on. installer (the glade one) and it works. I got glade working and the examples in GTK work (including the rotating pixmap example) I am actually running under VMWare, but I don't think that makes any difference ... actually, it helps making sure you've got a clean OS. I'm now compiling gtkmm Wait, I actually used the development installer, maybe you should give it a try: gtk-dev-2.12.9-win32-2.exe. In any case, you should try uninstalling first all the failed attempts, IMHO. Good luck! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIbbvvJ4+d0CQL2bIRArRzAKCFCX4Cl1I0Vh7WqPiamOPk5wfJ1wCePPDv OU21FC6vyRjTp9a4TC3fF0g= =N37u -----END PGP SIGNATURE----- _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@... http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list |
|
|
Re: Installing gtk on Windows XP> Is there an installer that actually works on XP?
I know that single-click executable installers are the only acceptable thing for end-users. But you are a developer, right? To get a run-time and development environment ready to develop and run GTK+ applications with, you don't necessarily need to use an installer. After all, no Registry settings or other magic stuff that an installer might be doing are needed. If you know what PATH is, and know how to set it (either globally for all your sessions, in a command prompt, or whatever), you only have to unpack the GTK+ "bundle" zip archive from http://www.gtk.org/download-windows.html somewhere and add its "bin" folder to your PATH. I personally like the simplicity of plain zip archives that you unpack manually, you see axactly what is happening, nothing goes on behind your back. But then I am also a grumpy old man. (Please avoid WinZip, though. It is said to behave in a broken way. The built-in zip unpacker in Explorer works fine. Personally I tend to use the command-line unzip.exe, though...) > I have tried about half a dozen and all are missing some component. You should complain then to those people who are distributing each of them specifically. Not all are necessarily following this list. > Something is looking in the wrong place (/target should be /gtk). Looks > like a mistake in the installer. Again, complain specifically to the maintainer(s) of the installer in question. It seems they are distributing a broken gdk-pixbuf.loaders file that doesn't match the DLLs they are distributing, or something. (The paths to the DLLs in the gdk-pixbuf.loaders file don't need to correspond to actual existing folders on the end-user machine. See for instance http://bugzilla.gnome.org/show_bug.cgi?id=462433#c5 .) --tml _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@... http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list |
|
|
Re: Installing gtk on Windows XPThanks, all.
Paul: You're a step ahead of me. I wrote an app on Ubuntu that *I* want to be able to run on Windows with as little effort as possible. Luis: I always uninstalled before installing a different package. The devel package that you pointed me to works! tml: You couldn't possible be as grumpy as I am, especially when I am forced to work on Windows. I found various directories in the Path variable in the registry, including lib. I got rid of everything but bin. I also got rid of everything that I had stuck in autoexec.bat. Works fine. Probably there is an easier way to change the path than editing the registry, but I don't know it. Next time I am going to use your method for installing gtk rather than a package. -- Jeffrey Barish _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@... http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list |
| Free Forum Powered by Nabble | Forum Help |