Is exist any guide for libssh2 C++? I have no any idea why the lnk2019 apears when i try to use any function from libssh2 but i linked this library and included in code.
#include <libssh2_config.h>
#include <libssh2.h>
#include <libssh2_sftp.h>
#include <WinSock2.h>
#include <iostream>
int main()
{
if (libssh2_init(0) != 0) {
return 1;
}
}
Even in this simple code that i want to compile.
I tried search and use any tips how i can solve the problem but it didn't compile due the error LNK2019