From mboxrd@z Thu Jan 1 00:00:00 1970 Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Max Reznik Newsgroups: comp.lang.ada Subject: Re: compilation or linking error Date: Wed, 4 Dec 2024 16:43:14 +0200 Organization: A noiseless patient Spider Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 04 Dec 2024 15:43:15 +0100 (CET) Injection-Info: dont-email.me; posting-host="099c2381332fa332d9e9cb636713feee"; logging-data="990666"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19WQsLylzW2SNYnSOfqgOgL" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:lq2Qm9RK6QOgIJjw2bc74+YMTfk= In-Reply-To: Content-Language: en-US Xref: news.eternal-september.org comp.lang.ada:66474 List-Id: 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: >