Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

libssh & libzip compilation

Jump to bottom
David Mansolino edited this page Feb 4, 2019 * 3 revisions

This page explains how to recompile the libssh and libzip dependencies on every platforms. libssh and libzip are not used directly by Webots but are distributed with Webots and are used by several controllers requiring to create zip archives and ssh connections.

Windows

On Windows, libssh and libzip are provided as MSYS2 pacman packages and are automatically installed when installing the msys dependencies.

Linux

On Linux, libssh and libzip are also provided as packages called libssh-dev and libzip-dev and are automatically installed when installing the required packages.

Mac

You need to have python 2.7, cmake, git and perl (Windows: see http://strawberryperl.com/)

python ~/webots/src/install_scripts/zlib_installer.py --install
python ~/webots/src/install_scripts/libssh_installer.py --install
python ~/webots/src/install_scripts/libzip_installer.py --install

Package creation

cd ~/webots
tar -cvSjf libssh.tar.bz2 include/libssh/libssh/*.h lib/*ssh.*
tar -cvSjf libzip.tar.bz2 include/libzip/*.h lib/*zip.*

Clone this wiki locally