Sujet : Re: compilation or linking error
De : reznikmm (at) *nospam* gmail.com (Max Reznik)
Groupes : comp.lang.adaDate : 04. Dec 2024, 15:43:15
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vippq2$u7ea$1@dont-email.me>
References : 1 2 3 4
User-Agent : Mozilla Thunderbird
I mean, I guess, you open the GPR file in the editor and launch "Compile file" action in GNAT Studio. This makes no scene. This is the same as
open a text file and try to compile it, if you understand what I mean.
"Compile file" action in GNAT Studio works only for current open file,
the focused editor. It works only for Ada (or C/C++) source. GPR file is
not an Ada/C/C++ source, you can run "Compile file" on it.
What you can/should do is run "Build project".
I hope this helps.
04.12.2024 11:18, ldries46:
In the .gpr file in clearly stated that main: