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?
Thanks.
-Phil