comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: Problems Linking With a C++ Lib
Date: Thu, 5 Nov 2015 20:33:27 -0700
Date: 2015-11-05T20:33:27-07:00	[thread overview]
Message-ID: <n1h6u1$evd$1@dont-email.me> (raw)
In-Reply-To: <3a315bb7-63af-43d3-9f37-26db02fa07fa@googlegroups.com>

On 11/05/2015 08:07 PM, Aurele wrote:
> 
> There is one (1) C++ file (the wrapper) from which I build a Lib (DirectInput.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). 
> 
> Do you use Adacore GPS? Is there a way I can post a demo project here ?  

Can you directly link the object files for the extern-C wrapper and the C++
library and get it to work that way?

-- 
Jeff Carter
"Unix and C are the ultimate computer viruses."
Richard Gabriel
99

  reply	other threads:[~2015-11-06  3:33 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-05 23:57 Problems Linking With a C++ Lib Aurele
2015-11-06  0:05 ` Jeffrey R. Carter
2015-11-06  0:11   ` Aurele
2015-11-06  0:56     ` Jeffrey R. Carter
2015-11-06  1:27       ` Aurele
2015-11-06  1:59         ` Jeffrey R. Carter
2015-11-06  3:07           ` Aurele
2015-11-06  3:33             ` Jeffrey R. Carter [this message]
2015-11-06  3:57               ` Aurele
2015-11-06  4:28               ` Aurele
2015-11-07  3:10                 ` Aurele
2015-11-09 18:35 ` jsquirek
2015-11-09 20:52 ` Aurele
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox