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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,41531c84d15aab14 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-03-21 14:45:18 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: svaa@ciberpiula.net (svaa) Newsgroups: comp.lang.ada Subject: Re: Error linking gnatcom: cannot find -lole32 Date: 21 Mar 2003 14:45:18 -0800 Organization: http://groups.google.com/ Message-ID: <87f5a614.0303211445.1d087582@posting.google.com> References: NNTP-Posting-Host: 62.82.80.232 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1048286718 13172 127.0.0.1 (21 Mar 2003 22:45:18 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 21 Mar 2003 22:45:18 GMT Xref: archiver1.google.com comp.lang.ada:35614 Date: 2003-03-21T22:45:18+00:00 List-Id: I have the same problem with W2k. I have those versions and gnat 3.15p. The problem is in these lines in reggnatcom.ads pragma Linker_Options ("-lole32"); pragma Linker_Options ("-loleaut32"); it can't find the lib ole32.dll, but it exists and is in c:\windows\sytem32\ole32.dll. I don't know with it doesn't find it. I've supposed that it looks for libole32.o or libole32.a or it has something to do with directories. I've tried pragma Linker_options ("--dll-search-prefix=c:/windows/system32/"); pragma Linker_Options ("-Lc:\windows\system32\"); and lot of things. But it doesn't works neither. Perhaps there is some problem with my special configuration, W2k usually has the system files in c:\winnt not in c:\windows. It's just speculation, I don't have the first idea and I don't know what else try. "David Botton" wrote in message news:... > Are you using all the latest: > > http://www.adapower.com/gnatcom/gnatcom-20020610.zip > http://www.adapower.com/gwindows/gwindows-1_1p.zip > > David Botton > >