On Linux try: gcc client.c -I/usr/include/libssh -lssh
For the windows side of the house, you'll need to add ssh.lib to your libraries list for your build configuration. Good luck! Andy From: Stefanica Catalin <[email protected]> Sent: Thursday, December 5, 2019 10:44 AM To: [email protected] Subject: Re: [EXTERNAL] Setting up the workspace Hey, so for the linux i used: "gcc client.c -I/usr/include/libssh" . The client.c file is basically a hello world program which includes libssh.h . And the errors are : 1.error "no strtoull function found" and 2. error "Your system must provide a __func__ macro" both of them from priv.h. For windows: i don't see any /bin in the libssh directory. On Thu, Dec 5, 2019 at 6:15 PM Kennedy, Marcus A. <[email protected]<mailto:[email protected]>> wrote: Linux: can you provide your command line for the build? Windows: Are you linking against the ssh.lib under <libssh directory>/bin? -----Original Message----- From: Stefanica Catalin <[email protected]<mailto:[email protected]>> Sent: Thursday, December 5, 2019 8:04 AM To: [email protected]<mailto:[email protected]> Subject: [EXTERNAL] Setting up the workspace I just cannot get the library to work on either linux or windows. I tried compiling something from the tutorial in linux using gcc -I(where the library is saved) and i get an error about strtoull and something else in priv.h while on windows i get unresolved symbols for every function call from libssh.
