[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: Stefanica Catalin <stefanica.catalin@xxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Fri, 6 Dec 2019 16:59:42 +0200
- To: libssh@xxxxxxxxxx
So initially i tried with the -lssh as well and i stil got the priv.h errors. I decided to reinstall the library and after trying again with -lssh it seems that the compiling errors are gone. I will thank you in advance for this and make a short update if i can make my small project connect to my ssh server. Again, thanks for that ^^ On Thu, Dec 5, 2019 at 9:50 PM Kennedy, Marcus A. <Marcus.Kennedy@xxxxxxxxxx> wrote: > 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> 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> > Sent: Thursday, December 5, 2019 8:04 AM > To: 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 | Aris Adamantiadis <aris@xxxxxxxxxx> |
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> |
RE: [EXTERNAL] Setting up the workspace | "Kennedy, Marcus A." <Marcus.Kennedy@xxxxxxxxxx> |