comp.lang.ada
 help / color / mirror / Atom feed
From: Martin Krischik <krischik@users.sourceforge.net>
Subject: Re: win32.ads not found error
Date: Thu, 25 Oct 2007 20:29:38 +0200
Date: 2007-10-25T20:29:38+02:00	[thread overview]
Message-ID: <1895579.bpKyA3z36u@linux1.krischik.com> (raw)
In-Reply-To: 1193157755.636101.250900@i38g2000prf.googlegroups.com

Anh Vo wrote:

> On Oct 22, 11:14 am, "LK" <a...@bb.cc> wrote:
>> Thanks for your answer. I had installed the package before I began with
>> the example.
>>
>> > > ... file "win32.ads" not found
>>
>> > > What way shall the compiler /GNAT + GPS GPL Edition/ be set up so
>> > > references to additional units are resolved?
>>
>> > The win32 package - which even comes with a nice installer.
> 
> Just set the variables ADA_INCLUDE_PATH and ADA_OBJECTS_PATH as shown
> below where Install_Dir is the installed directory, normally GNAT, and
> C is the hard drive.
> 
> set ADA_INCLUDE_PATH=C:\Install_Dir\include\win32ada;%ADA_INCLUDE_PATH
> %
> 
> set ADA_OBJECTS_PATH=C:\Install_Dir\lib\win32ada;%ADA_OBJECTS_PATH%
> 
> If a project is used, just import the win32ada.gpr to your project. It
> is normally located at C:\Install_Dir\lib\gnat directory. Good luck.

Well, that is the old fashioned way. The new way is to set ADA_PROJECT_FILE
to C:\Install_Dir\lib and then

with "win32ada.gpr";

in you project file.

Martin
-- 
mailto://krischik@users.sourceforge.net
Ada programming at: http://ada.krischik.com



  reply	other threads:[~2007-10-25 18:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-20 13:47 win32.ads not found error LK
2007-10-22 16:58 ` Martin Krischik
2007-10-22 18:14   ` LK
2007-10-23 16:42     ` Anh Vo
2007-10-25 18:29       ` Martin Krischik [this message]
2007-10-26 17:08         ` Anh Vo
replies disabled

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