-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
libcurl can't resolved external symbol #4492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
|
No response and lots of people have built curl without getting this. Closing. |
vs prj miss : lib\vssh\ and lib\vquic dir . |
@zogvm What files are you then talking about that need this fix? |
it worked after I put : but I forgot where I downloaded the "libcurl_imp.lib" since the project only creates "libcurl.lib" |
I would strongly discourage everyone from downloading and using a library from a random site that isn't vetted and trusted. It is then much better to get the source package and built it yourself to be completely sure what you're running and how to (re-)produce it etc. |
- Generate VQUIC and VSSH filenames in Visual Studio project files. - Update checksrc.bat to check vquic and vssh directories. Prior to this change generated Visual Studio project configurations that enabled SSH did not build properly. Broken since SSH files were moved to lib/vssh 3 months ago in 5b2d703. Bug: curl#4492 (comment) Reported-by: zogvm@users.noreply.github.com Closes #xxxx
I did this
i use the curl-7.66.0 version to complie lib Release - Lib OpenSSL - Lib LibSSH2 with vs2017,the compile is ok.
it generate libcurl.lib ,i use libcurl.lib for the project,it can't work!it show like this:
Error LNK2019 unresolved external symbol _Curl_ssh_init referenced in function _global_init
Error LNK2019 unresolved external symbol _Curl_ssh_cleanup referenced in function _curl_global_cleanup
Error LNK2001 unresolved external symbol _Curl_handler_scp
Error LNK2001 unresolved external symbol _Curl_handler_sftp
Error LNK2019 unresolved external symbol _Curl_ssh_version referenced in function _curl_version
Error LNK1120 5 unresolved externals
I expected the following
curl/libcurl version
curl-7.66.0
[curl -V output]
operating system
WIN10,
The text was updated successfully, but these errors were encountered: