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

Re: libssh 0.8.4 MSVC Windows build issue


Hello,

We worked around it by adding "-Dssize_t=SSIZE_T".

Regards,
Chris

On 10/16/2018 09:14 AM, Wolf Wolfswinkel wrote:
>
> Hi,
>
>  
>
> I am trying to upgrade from libssh 0.7.5 to 0.8.4.
>
>  
>
> The 0.7.5 build used to work fine with VS2017, but with 0.8.4 it fails
> because ‘ssize_t’ is undefined (in connector.c). Does anyone recognize
> this?
>
>  
>
> I ran cmake as
>
>  
>
> cmake -G "Visual Studio 15 2017 Win64" -DWITH_ZLIB=OFF
> -DWITH_SERVER=OFF -DWITH_EXAMPLES=OFF
>
>  
>
> Thanks,
>
>  
>
> Wolf Wolfswinkel
>


References:
libssh 0.8.4 MSVC Windows build issueWolf Wolfswinkel <wolf.wolfswinkel@xxxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org