Hello, I programmed a basic SSH client program (similar in concept to PuTTY) and I'm having troubles running it on any computer other than my own. I'm using Windows XP and Visual C++ 2008 Express Edition as my compiler.
Basically I'm using an SSH library called "libssh2". I compiled the libSSH library into a .lib file called libssh2.lib, and included it in my project under Project Properties > Linker > Input > Additional Dependencies. I also have a few others there. This is what my Additional Dependencies looks like:
libssh2.lib ws2_32.lib shlwapi.lib
My include headers are:
The error message I get when I run this on a computer that it doesn't work on is:Code:#include <iostream> #include <stdio.h> #include <Winsock2.h> #include <Ws2tcpip.h> #include <libssh2.h> #include <Shlwapi.h> #include <string> #include <fstream> #include <vector> #include <cmath> #include <ctime>
The system cannot execute the specified program.
I'm pretty sure this is because I'm missing "C++ Runtime" files or something... But, I have no idea what those files are, I'm not sure how to obtain them, and I really don't want to have to have a heap of files in my programs folder.
Is there a way to compile whatever it is that's missing into my program? How do I fix this!