1

I've just installed the Adacore's IDE GNAT Studio on Windows 10. The installation process went smoothly, then I added the binary directory to the path (C:\GNAT\2020\bin in my case). I can compile a simple program using the CLI (gprbuild) but the IDE itself isn't working. I found a similar question on superuser here but there's no answer.

Here are the links to the package I installed :

Window executable x64

Readme file

Thank you for your time.

iceberg53
  • 330
  • 1
  • 7
  • 1
    Perhaps describing precisely the "isn't working" could be helpful. What happens exactly when you start C:\GNAT\2020\bin\gnatstudio.exe ? On my Windows 10 PC GNAT Studio is working perfectly. – Zerte Jun 07 '20 at 10:37
  • 1
    If you try to start it by hand from a command prompt (console), do you get any more diagnostic messages? Also, is it earlier in the path than your Python installation? It uses Python and may require a specific version. –  Jun 07 '20 at 10:44
  • just tried it on my old Win 7 dust collector (I don't use windows much), and it works just fine. You could check for any logs in your user folder (under .gnatstudio\logs) – egilhh Jun 07 '20 at 10:45
  • the IDE also isn't very good, actually. I use gprbuild directly from vim, and have code completion and reference finding through [ada_language_server](https://github.com/AdaCore/ada_language_server/), which uses libadalang to analyse the code. You can go the ada_language_server route for many editors, such as atom, kakuine, sumlime text or VScode. See [langserver.org](https://langserver.org/) for details on this approach. I really hope it heralds the end of the IDE-per-programming language era. – TamaMcGlinn Jun 07 '20 at 11:27
  • I tried to launch it from the CLI, but there's no error message and nothing actually happens i.e the gnat studio interface doesn't get displayed. The same thing happens when I launch gnat studio from the bin directory itself C:\GNAT\2020\bin\gnatstudio.exe by double clicking on it. – iceberg53 Jun 07 '20 at 13:57

1 Answers1

2

I finally managed to launch GNAT Studio on my computer. After googling a bit, I found this page listing common GNAT problems. There, I learned that GNAT Studio not launching may be related to the .gps folder. As my GPS install was fresh, I didn't need to create a new folder. However, I suspected that the .gps folder may be inaccessible due to my user folder name containing spaces and special characters. I then proceeded to change my username first and user folder name second. After that, I reinstalled GNAT Studio and it worked fine.

Here are the references I used :

How to change your account name on Windows 10

Another article about changing your account name on Windows 10

How to rename the user folder in Windows 10

Microsoft recommendation for renaming the user folder

iceberg53
  • 330
  • 1
  • 7