cURL / Mailing Lists / curl-library / Single Mail

curl-library

Vanilla curl on Windows with Visual Studio 2010 - compiles but still unresolved symbols

From: Ryan <superryan_at_gmail.com>
Date: Sun, 2 Jan 2011 19:09:45 -0600

I'm going crazy. I downloaded the 7.21.3 source to c:\7.21.3. Then, I
followed the documentation, opened the msvc command line tool and tried:

nmake vc

I also tried:

cd lib\
nmake /f CFG=release

Both methods build the library.

But, when I go to Visual Studio 2010 and try to run simple.c (
http://curl.haxx.se/libcurl/c/simple.html) I get linker errors. I have /MT
set. I also have my dependencies set to libcurl.lib. I tried defining
CURL_STATICLIB in my preprocessor definitions but I still have the problem.

Am I missing something obvious?

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-01-03