Re: Windows binaries for GLib-2.2.2, GTK+-2.2.2, GIMP-1.2.5 etc



Hi Tor,

I think there is a problem with the new pango lib. After creating a new
fresh directory (c:\local) i put there the following libraries: libiconv
(1.9.1), gettext (0.12.1), zlib (1.1.4-1), libpng (1.2.4-1), libjpg
(6b-1), libtiff (3.5.7), glib (2.2.2), atk (1.2.4), pango (1.2.3), gtk+
(2.2.2) and pkgconfig (0.15). All of them from your new downloads page.

Then I tested them with this little program (hello.c):
#include <gtk/gtk.h>

int main( int   argc,
          char *argv[] )
{
    GtkWidget *window;
    GtkWidget *label;
    
    gtk_init (&argc, &argv);
    
    window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
    label = gtk_label_new("Hello World");
    gtk_container_add(GTK_CONTAINER(window), label);
    gtk_widget_show(label);
    gtk_widget_show  (window);
    
    gtk_main ();
    
    return 0;
}

Then I compile it without an error:
gcc -c hello.c `pkg-config --cflags gtk+-2.0` -mno-cygwin
-fnative-struct
gcc -o hello.exe hello.c `pkg-config --libs gtk+-2.0` -mno-cygwin
-fnative-struct

And when I run it i get this error a lot of times
[Invalid UTF-8] Cannot load module
/target/lib/pango/1.2.0/modules/pango-basic-win32.dll: No se puede
hallar uno de los archivos de biblioteca necesarios para ejecutar esta
aplicación.

English version:

[Invalid UTF-8] Cannot load module
/target/lib/pango/1.2.0/modules/pango-basic-win32.dll: One of the needed
library files for this application can not be found.

Then the window of the program pops up but there is no text inside it.

I use the mingw 1.1 compiler and the MSYS 1.0.7 posix shell in Windows
98

Let me know if you need more information about how to reproduce this
bug.

Lorenzo Gil

El sáb, 21-06-2003 a las 01:52, Tor Lillqvist escribió:
> See www.gimp.org/win32/downloads-20030620.html. If I get positive
> feedback (or no negative after a week or so...), I'll rename this page
> to downloads.html, thus making it generally visible.
> 
> Note especially to the people on gimpwin-users: Don't try to download
> and install GIMP 1.2.5 unless you know what you are doing. Most
> probably, you want to wait some weeks until there is a corresponding
> new installer, and you have read success stories from people using it.
> Don't tell me I didn't warn you.
> 
> Some care is needed when installing these on a machine where my
> previous builds have been installed:
> 
> Because libtool-1.5 installs DLLs in the "bin" directory instead of
> "lib" as previously, if you just unzip these files on top of an old
> tree, you will get some identically named DLLs in "bin" and "lib". You
> probably want to remove the old ones in "lib".
> 
> Or preferrably, unzip these packages in a fresh top directory, and use
> just the new top's bin and lib in your PATH.
> 
> I now use the official Win32 binaries of libiconv and gettext-runtime
> from the GNU ftp site. The name of the libintl DLL has changed. It is
> now intl.dll. I used to distribute an own hacked version of libintl,
> as libintl-1.dll. But that is not necessary any longer as my hacks (or
> equivalent code) are now in gettext-0.12.
> 
> The official GNU libiconv DLL has the same name, iconv.dll, as the one
> I used earlier (ported by the "GnuWin32" project at SourceForge). But
> you must use the GNU one anyway, as the GNU intl.dll calls a new entry
> point in the GNU iconv.dll.
> 
> I now use the newest zlib, libpng, libjpeg and libtiff ports that the
> GnuWin32 project has released. Unfortunately, they are inconsistent in
> their DLL naming... (They have changed naming style recently, but not
> rebuilt dependent packages.) For instance, libpng.dll wants zlib.dll,
> while the zlib package actually provides zlib-1.dll. Similarily,
> libtiff.dll wants libjpeg.dll, while the libjpeg package provides
> jpeg-62.dll. Just copying zlib-1.dll to zlib.dll, and jpeg-62.dll to
> libjpeg.dll seems to work fine.
> 
> --tml
> 
> 
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list




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