- 1 year ago
Installing libssh on windows using vcpkg
Comment
1 / 1
To install libssh on Windows using vcpkg, follow these steps:
Install vcpkg by following the instructions on the vcpkg GitHub page (https://github.com/microsoft/vcpkg).
Open a command prompt and navigate to the vcpkg directory.
Run the following command to install libssh:
vcpkg install libssh
Wait for the installation to complete.
Once the installation is complete, you can use libssh in your C++ projects by adding the following line to your source code:
arduino#include <libssh/libssh.h>
To link your project with libssh, add the following line to your CMakeLists.txt file:
scsstarget_link_libraries(<your_project_name> libssh)
By following these steps, you should be able to install and use libssh on Windows using vcpkg.