NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
On 03/10/2011 11:45 AM, Ed Hartnett wrote:
I have not yet generated the (windows-only) .lib file. Is this file really needed? Seems like the utilities are accessing the DLLs just fine without it.
.lib files are confusing on windows.Static libraries are named .lib. Thus if you're distributing static libraries.. well, those *are* the static libraries, so you need to distribute them :)
However, MS also uses .lib for so-called "import libraries". These are built in tandem with DLLs, and are a distinct binary than the static libraries, despite sharing the same name. Import libraries are required for an application to *build against* a DLL, but applications linked to a DLL have no need for the import libraries.
Hope that clarifies things, -tom
netcdfgroup
archives: