curl-users
issue linking curl
Date: Mon, 21 Sep 2015 19:55:14 +0000
I have been trying to nmake curl for windows for a day and am having some problems
Here is what I have tried in order (using win7 64 and vs2008 x64 cross compile )
nmake /f makefile.vc mode=dll VC=9 WITH_SSL=dll WITH_DEVEL=C:\build\deps MACHINE=x64
nmake /f makefile.vc mode=dll VC=9 WITH_SSL=dll WITH_DEVEL=C:\build\deps MACHINE=x64 USE_IDN=no
nmake /f makefile.vc mode=dll VC=9 WITH_SSL=dll WITH_DEVEL=C:\build\deps MACHINE=x64 USE_IDN=yes
nmake /f makefile.vc mode=dll VC=9 WITH_SSL=dll WITH_DEVEL=C:\build\deps MACHINE=x64 USE_IDN=true
nmake /f makefile.vc mode=dll VC=9 WITH_SSL=dll WITH_DEVEL=C:\build\deps MACHINE=x64 USE_IDN=no ENABLE_IDN=yes
nmake /f makefile.vc mode=dll VC=9 WITH_SSL=dll WITH_DEVEL=C:\build\deps MACHINE=x64 ENABLE_IDN=yes
nmake /f makefile.vc mode=dll VC=9 WITH_SSL=dll WITH_DEVEL=C:\build\deps MACHINE=x64 ENABLE_IDN=no
but here is what I keep getting I am not sure what IDN is I have c:\syswow64\normalize.dll but I am not sure how to force linking against it if that's what is required
Creating library ..\builds\libcurl-vc9-x64-release-dll-ssl-dll-ipv6-sspi-obj-lib\libcurl.lib and object ..\builds\libcurl-vc9-x64-release-dll-ssl-dll-ipv6-sspi-obj-lib\libcurl.exp
idn_win32.obj : error LNK2019: unresolved external symbol __imp_IdnToAscii referenced in function curl_win32_idn_to_ascii
idn_win32.obj : error LNK2019: unresolved external symbol __imp_IdnToUnicode referenced in function curl_win32_ascii_to_idn
..\builds\libcurl-vc9-x64-release-dll-ssl-dll-ipv6-sspi-obj-lib\libcurl.dll : fatal error LNK1120: 2 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\x86_amd64\link.exe"' : return code '0x460'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
Rob Merritt
ICT - Reporting and Data Services
E246 - 105 Maintenance Road
Saskatoon, SK S7N 5C5
Ph: (306) 966-7028
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-09-21