Hi,
 
I have a question on compiling Lazarus for Mac, I changed the widgetset to carbon and added -k-framework -kCarbon as compiler options. All but the examples where rebuilt.
On making lazarus start I tried the procedure described on the wiki (createmacapplication). Unfortunately the application crashed and now I cannot start. I have added the backtrace below.
 
It seems to crash on the TLAZINTFIMAGE, but is this not implemented for lazarus? Is there a bypass? If not, how to make it recompile back to gtk1 then?
 
Darius
 
  1. Lukes-Computer:/usr/local/share/lazarus davidkirkpatrick$ gdb ./lazarusGNU gdb 5.3-20030128 (Apple version gdb-330.1) (Fri Jul 16 21:42:28 GMT 2004)
  2. Copyright 2003 Free Software Foundation, Inc.
  3. GDB is free software, covered by the GNU General Public License, and you are
  4. welcome to change it and/or distribute copies of it under certain conditions.
  5. Type "show copying" to see the conditions.
  6. There is absolutely no warranty for GDB.  Type "show warranty" for details.
  7. This GDB was configured as "powerpc-apple-darwin".
  8. Reading symbols for shared libraries .... done
  9. (gdb) r
  10. Starting program: /usr/local/share/lazarus/lazarus
  11. Reading symbols for shared libraries ................................................... done
  12. [FORMS.PP] ExceptionOccurred
  13.   Sender=FPImageException
  14.   Exception=Failed to get raw image description from device
  15.   Stack trace:
  16.   $0016802C  TLAZINTFIMAGE__GETDESCRIPTIONFROMDEVICE,  line 1751 of IntfGraphics.pas
  17.   $0012DBDC  TBITMAP__READSTREAMWITHFPIMAGE,  line 738 of ./include/bitmap.inc
  18.   $0012D1D8  TBITMAP__READSTREAM,  line 608 of ./include/bitmap.inc
  19.   $0012C778  TBITMAP__LOADFROMSTREAM,  line 432 of ./include/bitmap.inc
  20.   $0012C6AC  TBITMAP__LOADFROMLAZARUSRESOURCE,  line 424 of ./include/bitmap.inc
  21.   $00032B3C  TAPPLICATION__INITIALIZE,  line 323 of ./include/application.inc
  22. TApplication.HandleException Failed to get raw image description from device
  23.   Stack trace:
  24.   $0016802C  TLAZINTFIMAGE__GETDESCRIPTIONFROMDEVICE,  line 1751 of IntfGraphics.pas
  25.   $0012DBDC  TBITMAP__READSTREAMWITHFPIMAGE,  line 738 of ./include/bitmap.inc
  26.   $0012D1D8  TBITMAP__READSTREAM,  line 608 of ./include/bitmap.inc
  27.   $0012C778  TBITMAP__LOADFROMSTREAM,  line 432 of ./include/bitmap.inc
  28.   $0012C6AC  TBITMAP__LOADFROMLAZARUSRESOURCE,  line 424 of ./include/bitmap.inc
  29.   $00032B3C  TAPPLICATION__INITIALIZE,  line 323 of ./include/application.inc
  30. TCarbonWSCustomForm.CreateHandle NewBounds=0,0,200,100 Title=lazarus
  31. TCarbonWSWinControl.SetBounds :TPromptDialog NewBounds=0,0,200,100
  32. [FORMS.PP] ExceptionOccurred

Reply via email to