On Sat, 9 Feb 2008 15:42:22 -0500
"Hess, Philip J" <[EMAIL PROTECTED]> wrote:
>
> I need to call ColorToRGB in a console app. Adding Graphics to uses
> allows lazbuild to compile the console app okay, but I get an AV when
> running it, presumably because the widgetset that actually implements
> ColorToRGB isn't getting linked into the app, as evidenced by otool
> -L (on Mac):
>
> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0,
> current version 88.1.10)
>
> If any widgetset code were linked in, I would see something like this:
>
> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
> (compatibility version 2.0.0, current version
> 128.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0,
> current version 88.1.10)
>
> This console app runs okay on Delphi. Is there something I'm missing
> here or is this just not possible with Lazarus?
Did you add the 'interfaces' unit as one of the first units of your
program?
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives