comp.lang.ada
 help / color / mirror / Atom feed
From: svaa@ciberpiula.net (svaa)
Subject: Re: Error linking gnatcom: cannot find -lole32
Date: 21 Mar 2003 14:45:18 -0800
Date: 2003-03-21T22:45:18+00:00	[thread overview]
Message-ID: <87f5a614.0303211445.1d087582@posting.google.com> (raw)
In-Reply-To: mailman.2.1048262802.20696.comp.lang.ada@ada.eu.org

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" <David@Botton.com> wrote in message news:<mailman.2.1048262802.20696.comp.lang.ada@ada.eu.org>...
> 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
> 
>



  reply	other threads:[~2003-03-21 22:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-20 21:10 Error linking gnatcom: cannot find -lole32 Vincent Smeets
2003-03-21 16:05 ` David Botton
2003-03-21 22:45   ` svaa [this message]
2003-03-24 15:47     ` Stephen Leake
2003-03-21 21:28 ` Vincent Smeets
replies disabled

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