hi, On Mon, Jan 3, 2011 at 2:09 AM, Ryan <[email protected]> wrote: > 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?
Using WIN32 and CURL_STATICLIB works fine here, as long as you use a static build of libcurl. Are you sure you added the flag to all configurations? Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
