[Lazarus] Help: OS X Problems

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Nov 1 23:47:58 CET 2013


 

> Anthony Walter <sysrpl at gmail.com> hat am 1. November 2013 um 18:48
> geschrieben:
>[...]
>  The problem is when I've created an app using fpc/lcl/lazarus and I try to
>run it by typing "./myprogram" in a terminal my application form appears, but
>controls and entire window is disabled. i cannot even resize the window. The
>same thing occurs if I double click the app in finder.

Yes, that's normal for a GUI application under Mac. You must start the bundle,
not the binary.

 
>  In fact, the only way to get a non disabled program (again builf from
>fpc/lcl/azarus) window on my Mac running it to type "open -a myprogram" in a
>terminal. That or run the program from the IDE with the IDE debugger options
>set to "none".

Or
./myprogra.app/Contents/MacOS/myprogram

Mattias




More information about the Lazarus mailing list