cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Win32 compile problem

From: Marcel Ruff <ruff_at_swand.lake.de>
Date: Tue, 20 Nov 2001 23:46:38 +0100

Marcel Ruff wrote:

> Hi,
>
> i'm trying to compile libcurl 7.9.1 into a C++ application
> on Win32 and get following errors:
>
> ...
> msvcrt.dll(MSVCRT.dll): ERROR LNK2005 _strncmp already defined in
> lbcmt.lib(strncmp.obj)
> ...
>
>
> libcurl.lib forces a reference to MSVCRT.dll which
> conflicts with libcmt.lib.
>
>
> Any idea how to resolve this?
>
> thanks for a hint,
>
> regards
> Marcel
>

Using the option /MT while building the curl library
resolved the problem.

thanks,

Bjoern

-- 
Marcel Ruff
mailto:ruff_at_swand.lake.de
http://www.lake.de/home/lake/swand/
http://www.xmlBlaster.org
Received on 2001-11-20