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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: openglada build problem. Date: Tue, 29 Jul 2014 10:12:17 +0200 Organization: cbb software GmbH Message-ID: <1pfggmlktmkqi.1uzyro8jlmsb$.dlg@40tude.net> References: <6dd12748-8445-4a23-873b-1ecf5bed04ae@googlegroups.com> <1jivoaemqfjod.k1jq6xh9bn73.dlg@40tude.net> <36d12cf1-0569-483f-9fb9-5a0161db1b17@googlegroups.com> <900569379428211838.753190laguest-archeia.com@nntp.aioe.org> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: ot/DC7n2aCvt5pcTM4dZCw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: news.eternal-september.org comp.lang.ada:21328 Date: 2014-07-29T10:12:17+02:00 List-Id: On Mon, 28 Jul 2014 18:05:16 -0700 (PDT), pincerfae@gmail.com wrote: > all this just to be able to view an example of a binding. unacceptable. Binding cannot install things they are bound to. > glfw is on my drive. according to But you need a [static/import] *library* of. The library must be located on the library path used by the gcc and so ultimately by GNAT. This has little to do with Ada or bindings. If you don't have it on the path you must ensure that the gcc switch -L appears *before* -lglfw. There are dozens different way to achieve linking to a certain library. Sorry for repeating but this is a routine when working with gcc. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de