comp.lang.ada
 help / color / mirror / Atom feed
From: Anh Vo <anhvofrcaus@gmail.com>
Subject: Re: win32.ads not found error
Date: Fri, 26 Oct 2007 17:08:35 -0000
Date: 2007-10-26T17:08:35+00:00	[thread overview]
Message-ID: <1193418515.792452.185630@k35g2000prh.googlegroups.com> (raw)
In-Reply-To: <1895579.bpKyA3z36u@linux1.krischik.com>

On Oct 25, 11:29 am, Martin Krischik <krisc...@users.sourceforge.net>
wrote:
> 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.
>
This way is even cooler. I just forgot about it. Thanks for pointing
it out.

AV




      reply	other threads:[~2007-10-26 17:08 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
2007-10-26 17:08         ` Anh Vo [this message]
replies disabled

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