On Tue, 13 Feb 2007 22:32:13 +0100
tanila <[EMAIL PROTECTED]> wrote:

> Does noone has an idea ?

Maybe a gdk function works differently on amd64.
None of the developers is currently working on such a machine, so we
depend on the help of users.


> What can I do to solve this problem ?

Add some writelns.
For example:
  { Compute pixels per inch variable }
  writeln('TGtkWidgetSet.AppInit
gdk_screen_width_mm=',gdk_screen_width_mm); ScreenInfo.PixelsPerInchX :=
    RoundToInt(gdk_screen_width / (gdk_screen_width_mm / 25.4));
  writeln('TGtkWidgetSet.AppInit
gdk_screen_height_mm=',gdk_screen_height_mm);
ScreenInfo.PixelsPerInchY := RoundToInt(gdk_screen_height /
(gdk_screen_height_mm / 25.4)); ScreenInfo.ColorDepth :=
gdk_visual_get_system^.depth;

Do you use lazarus svn or the daily snapshot?


Mattias

 
> Am Dienstag, den 13.02.2007, 15:39 +0100 schrieb tanila:
> > Hi,
> > 
> > gdb reults the following:
> > 
> > [Thread debugging using libthread_db enabled]
> > [New Thread 47618334819792 (LWP 14595)]
> > 
> > Program received signal SIGFPE, Arithmetic exception.
> > [Switching to Thread 47618334819792 (LWP 14595)]
> > 0x0000000000512fae in APPINIT (SCREENINFO=
> >       {PIXELSPERINCHX = 13473864, PIXELSPERINCHY = 0, COLORDEPTH =
> > -1443072656, INITIALIZED = 255}, self=0x2b4f00b73110) at
> > gtkobject.inc:1925
> > 1925    gtkobject.inc: Datei oder Verzeichnis nicht gefunden.
> >         in gtkobject.inc
> > (gdb) bt
> > #0  0x0000000000512fae in APPINIT (SCREENINFO=
> >       {PIXELSPERINCHX = 13473864, PIXELSPERINCHY = 0, COLORDEPTH =
> > -1443072656, INITIALIZED = 255}, self=0x2b4f00b73110) at
> > gtkobject.inc:1925
> > #1  0x0000000000457f97 in INITIALIZE (self=0x2b4f00afbd70)
> >     at ./include//application.inc:342
> > #2  0x000000000042cea8 in main () at lazarus.pp:119
> > 
> > 
> > hope anybody finds anything.
> > 
> > regards
> > tanila
> > 
> > _________________________________________________________________
> >      To unsubscribe: mail [EMAIL PROTECTED] with
> >                 "unsubscribe" as the Subject
> >    archives at http://www.lazarus.freepascal.org/mailarchives
> 
> _________________________________________________________________
>      To unsubscribe: mail [EMAIL PROTECTED] with
>                 "unsubscribe" as the Subject
>    archives at http://www.lazarus.freepascal.org/mailarchives

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to