Subject: Windows: failed to build X11 example

Windows: failed to build X11 example

From: Luis Lavena <luislavena_at_gmail.com>
Date: Sun, 12 Feb 2012 18:08:39 -0300

Hello,

I encountered the following error when trying to build libssh2 1.4.0 on Windows:

https://gist.github.com/6a234cd94c1ceb0ac7c8

GCC used was 4.6.2, OpenSSL was 1.0.0g and Zlib was 1.2.6

The culprit seems to be the attempt to compile X11 sample when Windows
do not provide X11 headers or support for it (at least not directly)

Wouldn't be better if X11 presence is detected at configure time and
x11 example excluded from compilation if not possible to build it?

Thank you.

-- 
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2012-02-12