Recent

Author Topic: Unexpected end of xpm stream.  (Read 6348 times)

zenek_tm

  • Newbie
  • Posts: 1
Unexpected end of xpm stream.
« on: May 20, 2005, 02:34:12 pm »
Hi
On my gentoo I have fpc 1.9.8. When trying to launch lazarus 0.9.6 I get "Unexpected end of xpm stream" Exception in forms.pp file. I don't know what may be the problem, but all xpm images open correctly in Gnome Image Viewer. What may be the problem?

//EDIT
Here is the stack trace when this exception occurs:
Code: [Select]
[FORMS.PP] ExceptionOccurred
  Sender=Exception
  Exception=Unexpected end of xpm stream
  Stack trace:
  $08154CA9  READHEADER,  line 1921 of intfgraphics.pas
  $08154089  TLAZREADERXPM__INTERNALREAD,  line 2192 of intfgraphics.pas
  $0814C006
  $08149C39
  $0811C0BA  TBITMAP__READSTREAMWITHFPIMAGE,  line 980 of ./include/bitmap.inc
  $0811BB92  TBITMAP__READSTREAM,  line 573 of ./include/bitmap.inc
  $0811B580  TBITMAP__LOADFROMSTREAM,  line 395 of ./include/bitmap.inc
  $0811B514  TBITMAP__LOADFROMLAZARUSRESOURCE,  line 387 of ./include/bitmap.inc
  $0806F222  TAPPLICATION__INITIALIZE,  line 256 of ./include/application.inc
  $08053218  main,  line 61 of lazarus.pp
TApplication.HandleException Unexpected end of xpm stream
[FORMS.PP] ExceptionOccurred

It appears, that Lazarus fails to load MAINICON from resources.

 

TinyPortal © 2005-2018