cURL / Mailing Lists / curl-library / Single Mail

curl-library

SFTPGET.C Help

From: Saccaggi, Francesco <francesco.saccaggi_at_e-ci.com>
Date: Mon, 14 Sep 2015 13:12:25 -0400

To whom this may concern,
So I am trying to get the example sftpget.c to work on visual studios 2008
- Version 9. NOT the express version. The first thing I did was download
the newest version of curl 7.44.0 zip file. Then I open a new project and
stick sftget.c in the Source Files. When I go to build it the errors I get
are that curl_global_***** and curl_easy_****** are unresolved externally.
So I go into the Project Properites | Configuration Properties | C/C++ |
General | Additional Include Directories| "Here I add the path to the curl
7.44.0\include" Folder because that is where the header files are located
for those functions that are unresolved externally. I still get the same
errors doing that. When I add a path to curl-7.21.2\include it WORKS, which
is a much older version.

But the next error I get is that the CURLSSH_AUTH_AGENT is an undeclared
identifier. I then search the entire solution for the word
CURLSSH_AUTH_AGENT and nothing is found. I then try to locate it and I
found it in the curl.h file in the new version of curl-7.44.0, it is not in
the curl.h file in the version curl-7.21.2.

So I am kind of lost now. I am not sure what version contains
CURLSSH_AUTH_AGENT and still works when I add in the include folder path in
my additional include directories.

Thanks,

-- 
Francesco Saccaggi
Software Engineer
Cincinnati Incorporated
(513) 367-7695

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-09-14