On Mon, 10 Jul 2006 22:58:59 +0200
"Darius Blaszijk" <[EMAIL PROTECTED]> wrote:

> >> 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?
> >
> > The carbon intf is an very early state: Only 5 controls.
> > You can not use the IDE with the carbon intf.
> Ok, I got on the wrong foot seeing the screenshot of the build lazarus 
> dialog on the wiki.

This was created with an aqua theme for gtk. ;)

 
> > Compile the gtk1 IDE with 'make'.
> Ok, thank you
> 
> > I wonder, what step you misunderstood on the wiki. Can you tell?
> I don't recall mentioning here I have misunderstood anything. Can you 
> explain what you are referring to?

It thought, you thought, that the carbon intf is ready for the examples or
even the IDE. It is not.
You can write a multithreaded, opengl application, or a simple form with a
with buttons and edits. That's all.


Mattias


> 
> Darius
> 
> >
> >
> > Mattias
> >
> >
> >
> >>
> >> 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
> >
> > _________________________________________________________________
> >     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