cURL / Mailing Lists / curl-library / Single Mail

curl-library

VC6 and static libcurl problem

From: a <chris_at_redpawsystems.com>
Date: Sat, 4 Jun 2005 14:31:41 -0600

I am trying to statically link libcurl 1.17.0 to a vc6 project, libcurl
compiles fine (nmake /f Makefile.vc6 cfg=release-ssl) but when I try to
build my project I get linker errors.
error LNK2001: unresolved external symbol __imp__FUNCTION_NAME
I get this error with all libcurl functions. A bit of searching
suggests a difference in run time libraries, the libcurl library is
compiling with the /MD switch while my project has /ML. I can't seem to
fix either and I can't use the libcurl.dll.
Does anyone know how to fix this problem? Help is greatly appreciated.
 
Thanks in advance
 
Received on 2005-06-04