cURL / Mailing Lists / curl-library / Single Mail

curl-library

re: unresolved external symbol error using libcurl, with VS2005, on WinXP

From: James Black <jblack_at_ieee.org>
Date: Wed, 11 Oct 2006 14:02:36 -0400

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,
  I have spent a few hours struggling with this problem, and finally
decided to ask for help.

  I am using VS2005, on WinXP.

I compiled libcurl myself, after having copied libssl in
WINDOWS/system32 directory, hopefully that is all I need to do to get it
to compile with ssl support.

I have currently compile libcurl under Release, and the Runtime Library
it /MT, though I tried /MD with the same results.

My client also has the same runtime library as libcurl.

When I change the Linker->Input->Additional Dependencies to be
libcurl2.lib I get an error that it can't find libcurl2.lib. That is
good, as it doesn't exist.

I change it back to be libcurl.lib, and compile

I get this error:
error LNK2019: unresolved external symbol _curl_easy_init

I have already set the Tools->Options->Projects and Solutions->VC++
Directories/Include and Lib to be pointing to the correct directories.

I don't know what I am doing wrong,and hope someone else has a suggestion.

I spent most of my time building and rebuilding without the ssl library
installed, so that won't be the problem.

Thank you for any suggestions.
- --
"Don't worry about people stealing an idea. If it's original, you will
have to ram it down their throats." Howard Aiken
James Black james_at_usf.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFLTG8ikQgpVn8xrARAh2IAJ9Ch8Phnza6GInSLtGoN4GQYJCkrACfVSXB
DGC4B2unCQahV0molz3Gaa0=
=/RRH
-----END PGP SIGNATURE-----
Received on 2006-10-11