[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [EXTERNAL] Setting up the workspace
[Thread Prev] | [Thread Next]
- Subject: RE: [EXTERNAL] Setting up the workspace
- From: "Kennedy, Marcus A." <Marcus.Kennedy@xxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Thu, 5 Dec 2019 19:48:03 +0000
- To: "libssh@xxxxxxxxxx" <libssh@xxxxxxxxxx>
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 <stefanica.catalin@xxxxxxxxx> Sent: Thursday, December 5, 2019 10:44 AM To: libssh@xxxxxxxxxx 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. <Marcus.Kennedy@xxxxxxxxxx<mailto:Marcus.Kennedy@xxxxxxxxxx>> 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 <stefanica.catalin@xxxxxxxxx<mailto:stefanica.catalin@xxxxxxxxx>> Sent: Thursday, December 5, 2019 8:04 AM To: libssh@xxxxxxxxxx<mailto:libssh@xxxxxxxxxx> 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.
Re: [EXTERNAL] Setting up the workspace | Stefanica Catalin <stefanica.catalin@xxxxxxxxx> |
Setting up the workspace | Stefanica Catalin <stefanica.catalin@xxxxxxxxx> |
RE: [EXTERNAL] Setting up the workspace | "Kennedy, Marcus A." <Marcus.Kennedy@xxxxxxxxxx> |
Re: [EXTERNAL] Setting up the workspace | Stefanica Catalin <stefanica.catalin@xxxxxxxxx> |