From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Cannot Add adb or ads file to project in GPS 6.0.1 Date: Tue, 30 Apr 2019 09:17:47 +0100 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="928e7c34fc73284c1999a7d7be188d29"; logging-data="6250"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+WYy8r0voG7YCl+5O4sE4iFZ0xSUo9yJg=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (darwin) Cancel-Lock: sha1:7MBBQmSLD7Tq5R0Niw3PpxY/UR4= sha1:HCMNyymGOl03uEtacUfZwQ9vaSM= Xref: reader01.eternal-september.org comp.lang.ada:56211 Date: 2019-04-30T09:17:47+01:00 List-Id: bert.oates@gmail.com writes: > Did you manage to find a solution to this problem? I am having the > same issue. OP never actually told us what his project structure was, or the result of 'gprconfig' (gprconfig works out which compiler to use for a given language). If gprconfig doesn't show any Ada compilers, you might be able to find out why by saying 'gprconfig -v' (look for lines starting 'GNAT is candidate'). The most likely problem is mis-installation (you're picking up a gprconfig that isn't part of the same installation as your compiler). A long time ago I also saw this problem when the gprconfig was built for a different version of the compiler than the actual, but it's cleverer now. What OS? what version of the compiler? what version of GPS, if you're using it?