Recent

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

madref

  • Hero Member
  • *****
  • Posts: 823
  • ..... 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 2.0.6 / FPC 3.0.4
Lazarus Trunc / FPC Trunc
Mac OS X Mojave

madref

  • Hero Member
  • *****
  • Posts: 823
  • ..... 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 2.0.6 / FPC 3.0.4
Lazarus Trunc / FPC Trunc
Mac OS X Mojave

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 943
  • 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.
o Lazarus v2.1.0 r63871, FPC v3.3.1 r46876, macOS 10.14.6 (with sup update), Xcode 11.3.1
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.1 amd64 (VMware Fusion VM)
o FPC 3.0.4, FreeBSD 12.2-STABLE r365646 amd64
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 18.04 (Parallels VM)

madref

  • Hero Member
  • *****
  • Posts: 823
  • ..... 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 2.0.6 / FPC 3.0.4
Lazarus Trunc / FPC Trunc
Mac OS X Mojave

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 943
  • 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".
o Lazarus v2.1.0 r63871, FPC v3.3.1 r46876, macOS 10.14.6 (with sup update), Xcode 11.3.1
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.1 amd64 (VMware Fusion VM)
o FPC 3.0.4, FreeBSD 12.2-STABLE r365646 amd64
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 18.04 (Parallels VM)

madref

  • Hero Member
  • *****
  • Posts: 823
  • ..... 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 2.0.6 / FPC 3.0.4
Lazarus Trunc / FPC Trunc
Mac OS X Mojave

 

TinyPortal © 2005-2018