Note that there are some explanatory texts on larger screens.

plurals
  1. POImplementing CURL with Visual Studio 2010
    primarykey
    data
    text
    <p>I am trying to compile a program that uses Curl in Visual Studio 2010 on Windows Vista x64. I downloaded the latest version of Curl 7.23.1 from the official website and unzipped it to C:Program Files. From there, I opened the VCProject file in the lib directory, converted it, and built it in Visual C++ Express Version. This resulted in the creation of a debug folder in the lib folder with object files, sbr files, and a libcurl.lib file. After that I opened a W32 Console Application in Visual Studio, added the include folder to include directories, added the debug folder to library directories and additional library directories under Linker, and added libcurl.lib to additional dependencies. When trying to compile my code, I received the following errors:</p> <pre> Error 1 error LNK2001: unresolved external symbol __imp__curl_easy_setopt C:\Users\********\Documents\Visual Studio 2010\Projects\MainProject\Run\Run\Run.obj Error 2 error LNK2001: unresolved external symbol __imp__curl_easy_perform C:\Users\********\Documents\Visual Studio 2010\Projects\MainProject\Run\Run\Run.obj Error 4 error LNK2001: unresolved external symbol __imp__curl_easy_init C:\Users\********\Documents\Visual Studio 2010\Projects\MainProject\Run\Run\Run.obj Error 3 error LNK2001: unresolved external symbol __imp__curl_easy_cleanup C:\Users\********\Documents\Visual Studio 2010\Projects\MainProject\Run\Run\Run.obj Error 5 error LNK1120: 4 unresolved externals C:\Users\********\Documents\Visual Studio 2010\Projects\MainProject\Run\Release\Run.exe Run </pre> <p>I have tried following some tutorials online but they are all outdated. The procedure I followed is supposed to work on Visual Studio 2008. I thought that maybe I may be missing some header files or have not built/compiled parts of Curl. Thanks for any help.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload