[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Libssh bits for Windows


We are cross compiling for Windows on Linux using MinGW (i.e. no MSVC)
and configure everything via cmake parameters. Here's the cmake call we
currently use:

> cmake '-DCMAKE_C_FLAGS:STRING=-m64 -march=x86-64 -mtune=generic' -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_C_COMPILER=x86_64-w64-mingw32-gcc -DCMAKE_INSTALL_PREFIX=/my/output/path -DCMAKE_BUILD_TYPE=Release -DOPENSSL_ROOT_DIR=/my/openssl/path -DOPENSSL_INCLUDE_DIR=/my/openssl/path/include -DWITH_GSSAPI=OFF -DWITH_ZLIB=OFF -DWITH_SSH1=OFF -DWITH_SFTP=ON -DWITH_SERVER=OFF -DWITH_STATIC_LIB=ON -DWITH_DEBUG_CRYPTO=OFF -DWITH_DEBUG_CALLTRACE=ON -DWITH_GCRYPT=OFF -DWITH_PCAP=ON -DWITH_INTERNAL_DOC=OFF -DWITH_TESTING=OFF -DWITH_CLIENT_TESTING=OFF -DWITH_BENCHMARKS=OFF -DWITH_EXAMPLES=OFF -DWITH_NACL=ON /my/libssh/path

Regards
Tilo

Am 21.07.2016 um 21:14 schrieb Hitesh Sharma:
> The error I'm getting for Windows are same as listed here.
> 
> https://www.libssh.org/archive/libssh/2014-04/0000082.html
> 
> IIRC there were a few headers that were being complained about in my
> case. Can you share the CMake configuration you used (like which MSVC
> compiler, etc)? I'm very new to CMake so it is quite likely I didn't set
> it up properly.
> 
> Thanks,
> Hitesh
> 
>> Date: Thu, 21 Jul 2016 09:29:14 +0200
>> From: tilo.eckert@xxxxxxx
>> To: libssh@xxxxxxxxxx
>> Subject: Re: Libssh bits for Windows
>>
>> There are no binaries at this time as long as red.libssh.org does not
> work.
>>
>> What are your Windows build errors? Is it something about session.c? If
>> yes, I submitted a patch for a Windows build issue 3 weeks ago which has
>> not been included into master, yet. You can find it here (the last of
>> the three):
>> http://permalink.gmane.org/gmane.network.ssh.libssh.general/2474
>>
>> Regards
>> Tilo
>>
>> Am 20.07.2016 um 20:15 schrieb Hitesh Sharma:
>> > Thanks for the response.
>> >
>> > I'm looking for Windows binaries so I don't have to build myself. FWIW,
>> > I tried building for Windows and run into some errors.
>> >
>> > Regards,
>> > Hitesh
>> >
>> > ------------------------------------------------------------------------
>> > From: spanikulam@xxxxxxxxxxxx
>> > To: libssh@xxxxxxxxxx
>> > Subject: RE: Libssh bits for Windows
>> > Date: Wed, 20 Jul 2016 17:32:41 +0000
>> >
>> > Latest version of the Master Branch in ZIP and TGZ format is
> available at
>> >
>> >
>> >
>> > https://git.libssh.org/projects/libssh.git/snapshot/master.zip
>> >
>> > https://git.libssh.org/projects/libssh.git/snapshot/master.tar.gz
>> >
>> >
>> >
>> > *From:*Hitesh Sharma [mailto:shankarhitesh@xxxxxxxxxxx]
>> > *Sent:* Wednesday, July 20, 2016 13:15
>> > *To:* libssh@xxxxxxxxxx
>> > *Subject:* RE: Libssh bits for Windows
>> >
>> >
>> >
>> > Thank you for the response, folks.
>> >
>> >
>> >
>> > Is there an alternate medium to download the Windows bits? If someone
>> > can upload it somewhere then it will help while we wait for the server
>> > to be fixed.
>> >
>> >
>> >
>> > Regards,
>> >
>> > Hitesh
>> >
>> >
>> >
>> >> Subject: Re: Libssh bits for Windows
>> >> To: libssh@xxxxxxxxxx <mailto:libssh@xxxxxxxxxx>
>> >> From: aris@xxxxxxxxxxxx <mailto:aris@xxxxxxxxxxxx>
>> >> Date: Wed, 20 Jul 2016 12:58:20 +0200
>> >>
>> >> Hi,
>> >>
>> >> I'm sorry, it's Andreas who's the only one with access to the failed
>> >> server, and he's unfortunately unreachable (I tried a few times already
>> >> on different mediums). When he's back and the server is back online,
>> >> we'll discuss a way to have backup access in case the server needs
> a fix.
>> >>
>> >> Aris
>> >>
>> >>
>> >> On 20/07/16 12:09, Tilo Eckert wrote:
>> >> > http://comments.gmane.org/gmane.network.ssh.libssh.general/2479
>> >> >
>> >> > Libssh maintainers aren't very active, unfortunately...
>> >> >
>> >> > Am 19.07.2016 um 21:51 schrieb Hitesh Sharma:
>> >> >> Hello,
>> >> >>
>> >> >> The download link for libssh seems to be broken. Why is that?
>> >> >>
>> >> >> https://red.libssh.org/projects/libssh/files
>> >> >>
>> >> >> Thanks,
>> >> >>
>> >> >> Hitesh
>> >> >>
>> >> >>
>> >> >> Object not found!
>> >> >>
>> >> >> The requested URL was not found on this server. The link on the
>> >> >> referring page seems to be wrong or outdated. Please inform the
> author
>> >> >> of that page about the error.
>> >> >>
>> >> >> If you think this is a server error, please contact the webmaster.
>> >> >>
>> >> >> Error 404
>> >> >>
>> >> >> red.libssh.org
>> >> >> Apache/2.4.16 (Linux/SUSE)
>> >> >
>> >>
>> >>
>> >
>>
>>


References:
Libssh bits for WindowsHitesh Sharma <shankarhitesh@xxxxxxxxxxx>
Re: Libssh bits for WindowsTilo Eckert <tilo.eckert@xxxxxxx>
Re: Libssh bits for WindowsAris Adamantiadis <aris@xxxxxxxxxxxx>
RE: Libssh bits for WindowsHitesh Sharma <shankarhitesh@xxxxxxxxxxx>
RE: Libssh bits for WindowsSaju Panikulam <spanikulam@xxxxxxxxxxxx>
RE: Libssh bits for WindowsHitesh Sharma <shankarhitesh@xxxxxxxxxxx>
Re: Libssh bits for WindowsTilo Eckert <tilo.eckert@xxxxxxx>
RE: Libssh bits for WindowsHitesh Sharma <shankarhitesh@xxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org