Skip to content

libcurl can't resolved external symbol  #4492

@mengzhisuoliu

Description

@mengzhisuoliu

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,

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions