Gavin Keighren writes:
The only other reason I can think of, is that I am using the wrong
compiler.
That is very unlikely for this kind of problem.
The more probable cause is that the gdk-pixbuf DLL doesn't find its
loader modules. How have you installed GTK+ on your Windows machine?
(By
Rick Jones writes:
naive question showing my ignorance and not having read all the
docs - do those two calls fix-up the '/' vs '\' issues one has
between Unix and Windows?
Both '/' and '\' work equally well on Windows when using C library or
Win32 API. (And all of GTK+ and GLib recognizes
Hi all,
Quoting David Ne?as (Yeti) [EMAIL PROTECTED]:
For start, have you tried to pass a GError to
gdk_pixbuf_new_from_file() and look at the error you get?
Yeti
I eventually got round to doing this today. It's a very simple thing
which I probably should have done earlier! The resulting
G Keighren writes:
I had tried putting the loader directly in C:\Windows\System, but
it had to go in C:\Windows\System\lib\gtk-2.0\2.10.0\loaders.
OMG. Please don't.
Putting third-party stuff under the Windows folder was perhaps a good
idea in the 90s, but today the general consensus is that
On 25 Jul 2007, at 16:03, Tor Lillqvist wrote:
G Keighren writes:
I had tried putting the loader directly in C:\Windows\System, but
it had to go in C:\Windows\System\lib\gtk-2.0\2.10.0\loaders.
OMG. Please don't.
Sorry, I'm new to Windows programming!
Putting third-party stuff under the
I write:
Instead, install GTK+ (and its dependencies, in case you install by
unzipping the separate zip archives for each package) in a folder of
its own (under \Program Files, something Unixish like \opt\gtk+, or
whatever), and just set up your PATH so that your executables will
Hi,
I am in the process of porting a very simple program from OS X (X11) to
Windows (please don't ask why, it's not my choice). The program
compiles without any errors on both systems (and also works for the
main part). However, the program is meant to display an image, but the
Windows
On Tue, Jul 24, 2007 at 10:10:27PM +0100, Gavin Keighren wrote:
I am in the process of porting a very simple program from OS X (X11) to
Windows (please don't ask why, it's not my choice). The program
compiles without any errors on both systems (and also works for the
main part). However,
The code which should load the file is:
GtkPixbuf * logoBuffer = gdk_pixbuf_new_from_file(images/logo.jpg,
NULL);
although the following also does not work (a broken image graphic is
displayed):
GtkWidget * logo = gtk_image_new_from_file(images/logo.jpg);
naive question showing my