cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Linking issue - use_idn=no doesn't work?

From: Olaf van der Spek <ml_at_vdspek.org>
Date: Mon, 6 Feb 2012 19:19:20 +0100

Hi,

>nmake /f Makefile.vc mode=dll

...

   Creating library
..\builds\libcurl-release-dll-ipv6-sspi-obj-lib\libcurl.lib and object
..\builds\libcurl-release-dll-ipv6-sspi-obj-lib\libcurl.exp
idn_win32.obj : error LNK2019: unresolved external symbol _IdnToAscii
referenced in function _curl_win32_idn_to_ascii
idn_win32.obj : error LNK2019: unresolved external symbol
_IdnToUnicode referenced in function _curl_win32_ascii_to_idn
..\builds\libcurl-release-dll-ipv6-sspi-obj-lib\libcurl.dll : fatal
error LNK1120: 2 unresolved externals
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual
Studio 10.0\VC\BIN\link.exe"' : return code '0x460'
Stop.
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual
Studio 10.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.

How do I fix this?

Windows 7 x64, MSVC10

-- 
Olaf
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-02-06