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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,cb67207e18d49fe4 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!i38g2000prf.googlegroups.com!not-for-mail From: Anh Vo Newsgroups: comp.lang.ada Subject: Re: win32.ads not found error Date: Tue, 23 Oct 2007 16:42:35 -0000 Organization: http://groups.google.com Message-ID: <1193157755.636101.250900@i38g2000prf.googlegroups.com> References: <1284531.ivraFQ7FWU@linux1.krischik.com> NNTP-Posting-Host: 209.225.224.254 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1193157756 25098 127.0.0.1 (23 Oct 2007 16:42:36 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 23 Oct 2007 16:42:36 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322; InfoPath.1),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: i38g2000prf.googlegroups.com; posting-host=209.225.224.254; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Xref: g2news2.google.com comp.lang.ada:2555 Date: 2007-10-23T16:42:35+00:00 List-Id: On Oct 22, 11:14 am, "LK" 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