Recent

Author Topic: Lazarus try to run .app file  (Read 6279 times)

arifsaha

  • Newbie
  • Posts: 2
    • http://www.arifsaha.com/
Lazarus try to run .app file
« on: May 18, 2008, 12:29:51 am »
Hi!

When I try to run my code from Lazarus, the code is compiles correctly, but then Lazarus try to run the file with .app extension, which does not exist, causing the error "Launching  application invalid - The launching Application Bundle does not exist or is not executable".

For example, let's say my project name was try, so the source file name was "try.pas", when I ran it, it compiled the executable "try" correctly (I could run it manually from command line), but Lazarus wouldn't run this file, but instead produced this error:

Quote
Launching application invalid
The application Application Bundle "/Users/arifsaha/dev/try/try.pas" does not exist or is not executable

See Project -> Project options -> Application.


I did go to Project -> Project options -> Application and make sure both Title and Target file name is "try", but it did not help, I still got the above error.

Any idea?

Thanks!

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: Lazarus try to run .app file
« Reply #1 on: May 18, 2008, 04:54:16 am »
Quote from: "arifsaha"
Hi!

When I try to run my code from Lazarus, the code is compiles correctly, but then Lazarus try to run the file with .app extension, which does not exist, causing the error "Launching  application invalid - The launching Application Bundle does not exist or is not executable".


Did you click the Create Application Bundle in project options? This has to be done once in order to create the .app folder structure.

Thanks.

-Phil

arifsaha

  • Newbie
  • Posts: 2
    • http://www.arifsaha.com/
Re: Lazarus try to run .app file
« Reply #2 on: May 18, 2008, 09:30:48 pm »
Quote from: "Phil"
Did you click the Create Application Bundle in project options? This has to be done once in order to create the .app folder structure.


Thanks. I browse all tabs of Project Options and cannot find anything labelled "Create Application Bundle". Quick search seems to show this feature only in SVN version of Carbon Lazarus, right? I use Lazarus 0.9.24 GTK.

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: Lazarus try to run .app file
« Reply #3 on: May 18, 2008, 09:45:07 pm »
Quote from: "arifsaha"
Quote from: "Phil"
Did you click the Create Application Bundle in project options? This has to be done once in order to create the .app folder structure.


Thanks. I browse all tabs of Project Options and cannot find anything labelled "Create Application Bundle". Quick search seems to show this feature only in SVN version of Carbon Lazarus, right? I use Lazarus 0.9.24 GTK.


Yes, I believe that was added since 0.9.24. Try installing the latest 0.9.25 snapshot and then rebuild it for Carbon.

Thanks.

-Phil

 

TinyPortal © 2005-2018