Re: Pango GTK+ on Windows
- From: Alf C Stockton <alf stockton co za>
- To: gtk-app-devel-list gnome org
- Subject: Re: Pango GTK+ on Windows
- Date: Wed, 22 Jun 2005 18:18:36 +0200 (SAST)
On Sun, 19 Jun 2005 Hubert Soko?owski <h sokolowski wsisiz edu pl> wrote:-
On Sun, 19 Jun 2005 08:37:02 +0200
Alf Stockton <alf stockton co za> wrote:
The error I am getting from a program I wrote using GTK+ 2.6.7 on
Windows reads:-
Pango-ERROR**:file shape.c: line 75(pango-shape) assertion failed:
(glyphs->num_glyphs > 0) aborting
Help ..... what have I done wrong or what is missing in my setup?
BTW The Pango version is 1.2.0.
I have the same problem with my program. I think pango sometimes does
not link correctly. check with dumpbin /dependencies to see if pango is
listed. It should be but it is probably not. Unfortunately I don't know
how to cope with this problem.
dumpbin /dependents MTI.exe gives :-
Dump of file MTI.exe
File Type: EXECUTABLE IMAGE
Image has the following dependencies:
KERNEL32.dll
msvcrt.dll
ODBC32.dll
libatk-1.0-0.dll
libgdk_pixbuf-2.0-0.dll
libglib-2.0-0.dll
libgobject-2.0-0.dll
libgtk-win32-2.0-0.dll
Summary
1000 .bss
1000 .data
1000 .idata
1000 .rdata
4000 .text
and there is no pango that I can see.
Does this mean that I should alter my Makefile in anyway ?
It currently contains :-
CC = gcc
LDFLAGS="-Wl,--export-dynamic,--export-all-symbols,--add-stdcall-alias"
CFLAGS = -Wall \
-DG_DISABLE_DEPRECATED \
-DGDK_DISABLE_DEPRECATED \
-DGDK_PIXBUF_DISABLE_DEPRECATED \
-DGTK_DISABLE_DEPRECATED
MTI.exe: interface.c callbacks.c main.c support.c odbc-isql.c
$(CC) -mwindows -static -mms-bitfields interface.c callbacks.c main.c
support.c odbc-isql.c -o MTI.exe $(DEPRECTATED) -Ic:/Gtk/include/gtk-2.0
-Ic:/Gtk/lib/gtk-2.0/include -Ic:/Gtk/include/atk-1.0 -Ic:/Gtk/include/pango-1.0
-Ic:/Gtk/include/glib-2.0 -Ic:/Gtk/lib/glib-2.0/include -Lc:/Gtk/lib
-lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0
-lgdi32 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv
-lodbc32
clean:
rm -f *.o MTI.exe
---
Regards,
Alf Stockton www.stockton.co.za
The only way to get rid of a temptation is to yield to it.
-- Oscar Wilde
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]