关于编译libcurl遇到的问题
最近需要用libcurl库,于是从网上下了源代码,准备自己编译。但遇到一些很蛋疼的问题:
环境:win7+vs2008
libcurl版本:7.30.0
命令:nmake /f makefile.vc mode=static vc=9 debug=no machine=x64
vs command prompt 里敲入命令以后提示我:“fatal error LINK1112:module machine type 'X86' conflicts with target machine type 'x64'”
如果我把命令改成:nmake /f makefile.vc mode=static vc=9 debug=no machine=x86
敲入命令以后提示我:“error LINK2019:unresolved external symbol __imp__IdnToAscii@20 referenced in function _curl_win32_idn_to_ascii ...”
哪位大侠知道这是怎么回事。。