Author Topic: Run Command On Mac Produces .exe run command  (Read 512 times)

Rogermc

  • Junior Community Member
  • Posts: 3
  • Hero Points: 0
Run Command On Mac Produces .exe run command
« on: March 07, 2021, 10:33:14 am »
Mac-mini (2018)
OSX 10.15.7
GPRBUILD Community 2020 (20200429) (x86_64-apple-darwin17.7.0)

I have just installed Slickedit and have built my first Ada simple program.
However, when I select Build>Execute I get the message:
zsh:1: no such file or directory: "/System/Volumes/Data/Ada Projects/Slickedit/Hello1/obj/main.exe"
which is true as the executable file name generated by the build system is:
 "/System/Volumes/Data/Ada Projects/Slickedit/Hello1/obj/main"
When I type obj/main in the build command window, my program runs OK.
Is there some Slickedit  parameter that I need to set to correct thid problem?

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6068
  • Hero Points: 467
Re: Run Command On Mac Produces .exe run command
« Reply #1 on: March 07, 2021, 03:01:19 pm »
Project>Project Properties>Build Tab>Executable name

Change it from main.exe to just main.

We will fix the project template

Rogermc

  • Junior Community Member
  • Posts: 3
  • Hero Points: 0
Re: Run Command On Mac Produces .exe run command
« Reply #2 on: March 08, 2021, 08:41:40 pm »
Tkanks.
That fixed my problem.