[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Header files for Windows client




Sangita Mohan wrote:

I downloaded the client library for Windows using Cygwin. I got a bunch of dll files

cygcrypto-0.9.7.dll
cyglber-2-2-7.dll
cygldap-2-2-7.dll
cygldap_r-2-2-7.dll
cygminires.dll
cygsasl2-2.dll
cygssl-0.9.7.dll

Basically I am upgrading my client from using the old umich LDAP to the current version of OpenLDAP. I generated the lib files from the dlls to use in my client. However I have been unlucky in locating the header files to include.

Whoever created the cygwin library package should have also provided a set of header files.


The source that I got won't compile on Windows as I have files with a .h.in extension.

lber_types.h.in
ldap_config.h.in
ldap_features.h.in

Does anyone have the header files to use for the Windows client library.

Read the INSTALL file that comes with the source code. You have to run configure first.



Also does the cygwin1.dll need to be included in my client along with the OpenLDAP dll files?

If you're building with cygwin then yes, the cygwin DLL needs to be present. Generally I find that cygwin performs poorly and it's better to use the native Windows APIs by building for MinGW instead.



Any help is appreciated.

-- -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun.com/hyc Symas: Premier OpenSource Development and Support