Libssh library installation advice/guide

Hi, I’m currently having an issue with using the libssh library located here and was hoping someone might be able to help me out. I’m trying to run a dummy C program using the ssh_new and ssh_free functions simply to test if I have connected the libssh library to my Visual Studio (2013) project correctly. Once I know the library is connected I can begin development.
The issue is that the program compiles with no errors but when I go to run it I get the error message “The program can't start because MSVCR100D.dll is missing from your computer”.

I’ve looked all over the internet for solutions and everything points towards me not installing/connecting the library correctly.

  • I have the required Microsoft Visual C++ Redistributable software installed (I even reinstalled).

  • I’m using Visual Studio 2013 as my IDE, trying to create a C program on Windows.

  • My OS is Windows 7 64bit.

  • I’ve connected the “openssl” library and included the “zlib1.dll” into the correct directories with my VS installation.

  • The libssh library was connected to my project in VS by placing the contents of the include, bin and lib directories into my /VC/ directory.

  • I also appended “;ssh.lib;ssleay32.lib;libeay32.lib;” to the “Additional Dependencies” of my VS project which resolved the “unresolved external symbol _imp_ssh_free” issues I was getting.

  • This is the best guide I’ve been able to get somewhere with so far which describes the steps above.

Does anyone have any guides they can direct me to that can assist with the installation of this library?

Apologies for my lack of experience, any advice/help you can provide would be massively appreciated as this project is part of my university dissertation.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!