comp.lang.ada
 help / color / mirror / Atom feed
From: Anh Vo <anhvofrcaus@gmail.com>
Subject: Re: win32.ads not found error
Date: Tue, 23 Oct 2007 16:42:35 -0000
Date: 2007-10-23T16:42:35+00:00	[thread overview]
Message-ID: <1193157755.636101.250900@i38g2000prf.googlegroups.com> (raw)
In-Reply-To: <ffip2e$2v3e$1@news.t-online.hu>

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.

AV




  reply	other threads:[~2007-10-23 16:42 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 [this message]
2007-10-25 18:29       ` Martin Krischik
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