Marc Weustink napsal(a):
Tom Gregorovic wrote:
Vincent Snijders napsal(a):
Tom Gregorovic schreef:
Hi,
is there any possibility how to run, and even better debug, Carbon
apps from the Lazarus environment, which is running under X11 on
Mac OS X?
It would help me much in improving Carbon interface for LCL.
Maybe I miss a point, but can't you set the widget set to carbon and
run the application.
Unfortunately this does not function. When I press run the project is
successfully compiled, but never launched, even if I disable debugger.
I must use apple resource files for Carbon projects to let the system
recognize it
Not really necessary, only one certain byte as resource in the exe is
enough. However, we don't add it yet so you need a project.app
and therefore I must launch it from Finder or by "open project1.app"
command. Because the linked executable is "project1", but I need to
execute "project1.app".
What I did for testing is making an empty project.app and symlink the
exe. like:
MyApp.app/Contents/MacOS/MyApp -> ../../../MyApp
so that the compiled exe and the app are in the same dir
Now we have only find a way to tell gdb to launch the app
I have made some tests and maybe be it is possible - through changing
Host application in Run/Run parameters... to whole path of
"project1.app". But I haven't tested it on Mac yet.
Tom Gregorovic
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives