Hi,
I’ve just installed alire (downloaded last version), run alr edit and it fails:
drm@B8-97-5A-F9-E4-87 ~ [1]> alr edit
error: Cannot continue without a workspace:
error: Could not detect an alire.toml manifest at current or parent locations
You’re not supposed to edit anything manually and it should work out-of-the-box, right ? I kinda understand why people are reticent to transition to alire. I would have asked that on ada.comp.lang but it’s inaccessible now. Using alire’s github would be so tedious too…
✓ new_project initialized successfully.
drm@B8-97-5A-F9-E4-87 ~> alr edit
error: Cannot continue without a workspace:
error: Could not detect an alire.toml manifest at current or parent locations
drm@B8-97-5A-F9-E4-87 ~ [1]> alr edit new_project/alire.toml
error: edit doesn’t take arguments
Gnatstudio is installed now, and works, same result.
ah… thank you.
But I did run alr init --bin my_hello_world as written here on ada-lang.io. JeremyGrosser, please do not insinuate that I am a retard. this is confusing, where it didn’t use to be. Proof is, in comparison I jumped through no hoop setting up gnatstudio and building/compiling from there.
Anyway, I’ll check my language more.
I wrote that tutorial. It wasn’t written with GNAT Studio in mind since I don’t have it. It was designed for lowest-common denominator of just needing to have a text editor, while building from command line.
However, there’s a dedicated page at Editors | Ada Programming Language which should have OS-specific instructions. If these are not up-to-date, it’d be great if someone could update them.
I think the confusion is you led off with you installed alire and then ran alr edit, which implied skipped steps.
Let’s take a step back and can you show us your complete shell commands and the command responses starting with the alr init command and finishing with alr edit. What you have posted so far in each of your responses have each times not shown a step so far.
Additionally after the step to CD into the directory, can you additionally do a PWD and LS so we can see the full path and the subfolders? It’s possible there’s a warning not being captured so far that may give insight into what is going.
Also did you verify the directory structure created (it is listed in the tutorial)?