cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: The winbuild nmake instructions result in "libcurl_a.lib"

From: Pierre Joye <pierre.php_at_gmail.com>
Date: Mon, 5 Sep 2011 21:05:21 +0200

Libcurl_a.lib is the correct name. Libcurl.lib is for non static build.
On Sep 3, 2011 9:20 PM, "Nick Martin" <nmartin867_at_gmail.com> wrote:
> Hello everyone,
>
> I am trying to build a static libcurl lib for the win32 platform and
> failing. I am using the instructions included in a text file,
> "/winbuild/BUILD.WINDOWS". The instructions give the following nmake
> example:
>
> nmake /f makefile.vc mode=<static or dll> <options>
>
> From my VS10 command prompt I have tried the above with the following
> values:
>
> nmake /f makefile.vc mode=static DEBUG=no
>
> This builds and 3 folders are created under the 'builds' directory. The
> first folder, "libcurl-release-static-ipv6-sspi" contains a lib directory.
> Within it is the only static lib created. The library is called,
> "libcurl_a.lib". I was expecting, "libcurl.lib".
>
>
> I tried to link to this lib just "for fun" but it appears to not
> be behaving correctly.
>
> I hope this is the appropriate list for this kind of question.
>
> Does anyone here know the correct way to build a static lib for win32?
Point
> me to some documentation?
>
> Thanks

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-09-05