Re: Errors compiling the sdk with visual studio 2008
Mark Smith <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.directory |
|---|---|
| Message-ID | <[email protected]> |
It looks like the undefined symbols are all in nsldap32v50.dll. I do not have any experience with VS 2008, but make sure the link library for the DLL is included in your project. -- Mark Smith Pearl Crescent http://pearlcrescent.com/ Zeberdee wrote: > Hi guys, > > I'm not sure this is the right place for this question as I guess it's > more to do with Visual Studio than LDAP. However, I will explain my > problem and appreciate any advise anyone can offer. > > I have created a new project and added all the .h files to my project. > I have added nsldap32v50.dll and nsldappr32v50.lib to windows > \system32. I have added the nsldappr32v50.lib file to the dependencies > via project properties -> linker -> input. > > When I attempt to compile the basic example from the Mozilla website I > get the following errors... > > > > ------ Build started: Project: winldap, Configuration: Debug Win32 > ------ > Linking... > main.obj : error LNK2019: unresolved external symbol _ldap_unbind@4 > referenced in function _main > ...