www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

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


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


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
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

the libssh2 team