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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.129.148.129 with SMTP id l123mr9540609ywg.35.1446782253713; Thu, 05 Nov 2015 19:57:33 -0800 (PST) X-Received: by 10.182.255.227 with SMTP id at3mr165136obd.4.1446782253681; Thu, 05 Nov 2015 19:57:33 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.glorb.com!m48no5560629qgd.0!news-out.google.com!fs1ni215igb.0!nntp.google.com!i2no51567igv.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 5 Nov 2015 19:57:33 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=70.26.108.144; posting-account=gOYTTAoAAADrNEg_oe5Etelo-0qd7UeW NNTP-Posting-Host: 70.26.108.144 References: <3ca7150b-f54f-4cd1-82d9-5744cea53aad@googlegroups.com> <721955c3-12fd-4e1d-9489-210816eee152@googlegroups.com> <3a315bb7-63af-43d3-9f37-26db02fa07fa@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <247413fc-468a-4ce4-9362-d289c6f3aaa7@googlegroups.com> Subject: Re: Problems Linking With a C++ Lib From: Aurele Injection-Date: Fri, 06 Nov 2015 03:57:33 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:28231 Date: 2015-11-05T19:57:33-08:00 List-Id: On Thursday, November 5, 2015 at 10:33:31 PM UTC-5, Jeffrey R. Carter wrote= : > On 11/05/2015 08:07 PM, Aurele wrote: > >=20 > > There is one (1) C++ file (the wrapper) from which I build a Lib (Direc= tInput.Lib). The Lib contains external references for C++ procedure. From= Ada, I then try to "import" (and use) the said C++ Library procedures. But= when building the Ada executable. I get unresolved Lib procedure (Adacore = GPS cannot find my C++ procedure in the C++ Library).=20 > >=20 > > Do you use Adacore GPS? Is there a way I can post a demo project here ?= =20 >=20 > Can you directly link the object files for the extern-C wrapper and the C= ++ > library and get it to work that way? >=20 > --=20 > Jeff Carter > "Unix and C are the ultimate computer viruses." > Richard Gabriel > 99 Hum, I'll try that tomorrow. Thanks