comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Error: "the procedure entry point deflatesetheader could not be located in dynamic link library zlib1.dll"
Date: Sat, 22 Aug 2015 11:45:10 +0200
Date: 2015-08-22T11:45:10+02:00	[thread overview]
Message-ID: <ryca4l2iok1n$.1r799wztn78ud$.dlg@40tude.net> (raw)
In-Reply-To: 1329e2a7-2d29-4eda-ad53-92bcbb13bac7@googlegroups.com

On Sat, 22 Aug 2015 01:59:21 -0700 (PDT), Trish Cayetano wrote:

> When I ran the exe file, it prompted me with error "the procedure entry
> point deflatesetheader could not be located in dynamic link library
> zlib1.dll"
> 
> The zlib1.dll file is located in the following: 
> 
>    C:\GNAT\2015\bin\zlib1.dll
>    C:\gtkada\bin\zlib1.dll
> 
> And the values in the environment system variable path are:
> 
>    C:\gtkada\bin;C:\gtkada\lib\gtkada;C:\GNAT\2015\bin
> 
> but I still encounter the errors... How do I fix the error?

1. The name is deflateSetHeader (case sensitive)

2. Do you really use it in your code?

3. You can take zlib1.dll from other distributions, e.g. from GIMP.
Overwrite the original in C:\GtkAda\bin and see what happens.

4. There is libz.a in C:\GtkAda\lib. You could link statically to it.

P.S. Use

   dumpbin.exe /exports foo.dll

to see the symbols exported from a DLL.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de


  reply	other threads:[~2015-08-22  9:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-22  8:59 Error: "the procedure entry point deflatesetheader could not be located in dynamic link library zlib1.dll" Trish Cayetano
2015-08-22  9:45 ` Dmitry A. Kazakov [this message]
2015-08-25 16:59   ` gautier_niouzes
replies disabled

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