Recent

Author Topic: [Solved] Can't run app  (Read 1833 times)

madref

  • Hero Member
  • *****
  • Posts: 949
  • ..... A day not Laughed is a day wasted !!
    • Nursing With Humour
[Solved] Can't run app
« on: January 17, 2020, 06:51:13 pm »
I am using Mac OS Mojave. Installed FPC 3.3.1 and Lazarus Trunk version via fpcupdeluxe-x86_64-darwin-cocoa 1.6.6e.


And it doesn't matter which project I am trying to run I get the massage: "Unable to run ....".
I have created the app-bundle.


What am ia doing wrong?
« Last Edit: July 15, 2020, 11:47:32 pm by madref »
You treat a disease, you win, you lose.
You treat a person and I guarantee you, you win, no matter the outcome.

Lazarus 3.99 (rev main_3_99-649-ge13451a5ab) FPC 3.3.1 x86_64-darwin-cocoa
Mac OS X Monterey

madref

  • Hero Member
  • *****
  • Posts: 949
  • ..... A day not Laughed is a day wasted !!
    • Nursing With Humour
Re: can't run app
« Reply #1 on: January 17, 2020, 08:16:14 pm »
Strange behaviour of Lazarus Trunk.
When I run the program without debugging I get the error.
But when I run it normal (with debugging) the app just runs
You treat a disease, you win, you lose.
You treat a person and I guarantee you, you win, no matter the outcome.

Lazarus 3.99 (rev main_3_99-649-ge13451a5ab) FPC 3.3.1 x86_64-darwin-cocoa
Mac OS X Monterey

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2020
  • Former Delphi 1-7, 10.2 user
Re: can't run app
« Reply #2 on: January 19, 2020, 06:16:35 am »
I am using Mac OS Mojave. Installed FPC 3.3.1 and Lazarus Trunk version via fpcupdeluxe-x86_64-darwin-cocoa 1.6.6e.

And it doesn't matter which project I am trying to run I get the massage: "Unable to run ....".
I have created the app-bundle.

What am ia doing wrong?

I'm using both Lazarus trunk and FPC trunk and have no issues creating and running applications on macOS Mojave.

Note: I compiled both Lazarus and FPC myself on macOS. I did not install them using fpcdeluxe.

madref

  • Hero Member
  • *****
  • Posts: 949
  • ..... A day not Laughed is a day wasted !!
    • Nursing With Humour
Re: can't run app
« Reply #3 on: July 15, 2020, 12:51:39 pm »
Now I am having it again.
But now with FPC trunk and Lazarus Trunk.


Does anyone have a suggestion how to solve this reoccurring 'error/bug'?
You treat a disease, you win, you lose.
You treat a person and I guarantee you, you win, no matter the outcome.

Lazarus 3.99 (rev main_3_99-649-ge13451a5ab) FPC 3.3.1 x86_64-darwin-cocoa
Mac OS X Monterey

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2020
  • Former Delphi 1-7, 10.2 user
Re: can't run app
« Reply #4 on: July 15, 2020, 01:10:00 pm »
See https://bugs.freepascal.org/view.php?id=36780

I have a trivial (brute force) patch to fix the issue. See the Wiki Lazarus IDE - Unable to "run without debugging".

madref

  • Hero Member
  • *****
  • Posts: 949
  • ..... A day not Laughed is a day wasted !!
    • Nursing With Humour
Re: can't run app
« Reply #5 on: July 15, 2020, 04:11:47 pm »
This brute really works.... thanks


With R63565 it's line 7455
« Last Edit: July 15, 2020, 04:17:53 pm by madref »
You treat a disease, you win, you lose.
You treat a person and I guarantee you, you win, no matter the outcome.

Lazarus 3.99 (rev main_3_99-649-ge13451a5ab) FPC 3.3.1 x86_64-darwin-cocoa
Mac OS X Monterey

 

TinyPortal © 2005-2018