Questions tagged [gnat-gps]

The GNAT Programming Studio, gnat-gps, is an open source integrated development environment.

The GNAT Programming Studio, gnat-gps, is an open source integrated development environment popular among users of the Ada programming language. It is developed by AdaCore and is available for Linux, Windows and OS X.

90 questions
1
vote
1 answer

Adacore GNATCOLL library not installing on CentOS 8

I have recently been using the gnatcoll library on CentOS 7 and Debian 9, the installation process for both operating systems has been the same. When I attempt this install on CentOS 8, I recieve the following error msg: [lloyd@localhost sql]$…
Lloyd Thomas
  • 345
  • 2
  • 12
1
vote
1 answer

GNAT Studio (GPS) not launching on windows 10

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…
iceberg53
  • 330
  • 1
  • 7
1
vote
1 answer

How do I query PostgreSQL within GNAT CE 2019

I am trying to query a PostgreSQL database using GNAT CE 2019. I have two tables in my database, car and person: mydb1-# \dt List of relations Schema | Name | Type | Owner --------+--------+-------+---------- public | car |…
Lloyd Thomas
  • 345
  • 2
  • 12
1
vote
2 answers

GDB errors on macOS Mojave

Environment: Mac/Mojave and GDB 8.2.1 (via homebrew). I worked through instructions https://forward-in-code.blogspot.com/2018/11/mojave-vs-gdb.html i.e.: latest GDB via brew, which solves the executable format issue sign GDB with new…
Joubert Nel
  • 3,154
  • 3
  • 26
  • 24
1
vote
1 answer

How do I configure clang in GPS

GPS (Gnat Programming Studio) uses clang to do live diagnostics. Unfortunately I can't find any documentation on how to configure it. I'd like to tell it to use C++11 so it doesn't complain about nullptr not being defined.
Not Saying
  • 194
  • 11
1
vote
1 answer

Context in GPS Plugin

I created a button in the toolbar using GPS.Toolbar().append(button) In the On_Click function of the button I want it to print the current file's name. I wrote print GPS.Current_Context().file() But it does'nt work and give me the error :…
123456
  • 113
  • 8
1
vote
0 answers

Python with GPS IDE

I'm trying to set up Gnat Programming Studio IDE, to do some Python dev. I have Python 3.5 on my machine, and I have started a new project in GPS and selected Python as the language, but when I tried a simple Hello World, I got the following…
John Setter
  • 175
  • 1
  • 17
1
vote
2 answers

Dynamically linking ada runtime

I've installed GPS GPS 6.1.1 (20150118) hosted on i686-pc-mingw32 GNAT GPL 2015 (20150428-49). It successfully compiles Hello World, but even release executable is huge since it includes statically compiled not-optimized runtime and (what is more…
trbvm
  • 141
  • 7
1
vote
2 answers

GNAT GPS IDE not binding and linking with strange error

I am trying to use GPS IDE as my alternative development tool on OS X El Capitan (moving away from OS X 10.5 Xcode 3.0). But I have stumbled on one strange error: gnat bind myprog.bexch gnatbind: Cannot find: myprog.bexch.ali gprbuild: unable to…
Adrian Hoe
  • 2,081
  • 2
  • 12
  • 12
1
vote
2 answers

Why is there no commented version of the Ada Standard Library

I am a huge fan of source code comments but the comments in the Ada standard library are spartan at best. It is my understanding that the interface of the library is defined with the language definition, but the implementation is left to the…
Rick
  • 680
  • 1
  • 7
  • 20
1
vote
1 answer

Adacore GPS "Could not locate executable on path: gnatmake"

I recently installed the Adacore GPS 2012 for Lego Mindstorms on my Windows 7 machine. When I try to build the example project, I get the error message: "Could not locate executable on path: gnatmake" I've tried looking for other people with this…
1
vote
1 answer

GNAT GPS Debugger - Could not initialize the debugger

I am attempting to debug my project in GNAT's GPS IDE. Every time I chose Debug->Initialize->"program name" the gui of GPS switches to that of the debug GUI, and then an error pops up with "could not initialize the debugger". The two possible…
halexh
  • 3,021
  • 3
  • 19
  • 19
1
vote
1 answer

Documentation Generation Error

I am attempting to generate the html format of some code in an attempt to save the format (font, color, size, etc) when putting it into word. The GPS IDE has the capability to generate documentation for a file, but I keep getting the following…
halexh
  • 3,021
  • 3
  • 19
  • 19
1
vote
1 answer

literal string expected error

Please have a look at the following code with text_io; use text_io; procedure hello is begin put_line("hello"); new_line(3); end hello; When I click "build all" in GPS IDE, I get this error gnatmake -d…
PeakGen
  • 21,894
  • 86
  • 261
  • 463
1
vote
2 answers

IDE for GNAT 3.15p Ada compiler

I am using the GNAT 3.15p Ada compiler which is suggested for RTRT. I was using GPS IDE with another version of the GNAT Ada compiler. Is there any IDE available for the GNAT 3.15p compiler? Can I use GPS IDE itself, if so how to change the…