Skip to content

macOS Optional Dependencies

Fabien Rohrer edited this page Jun 24, 2019 · 23 revisions

Python 3.7

To use the Python API you will need to install the latest version of Python 3.7 from https://www.python.org

Java

To use the JAVA API you will need to install the Java SE Development Kit 1.8.191 for Mac OS X from: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

Node.js

This dependency is required to build the webots.min.js file, on the develop branch only.

Install it with brew:

brew install node

Requirements to create the Webots .dmg package

appdmg is required to create the Webots .dmg package:

npm install -g appdmg

Create a test Webots.app bundle

In order to launch Webots directly from Finder you could create a Webots.app directory with symbolic links to the Webots local repository content as following:

cd ~/develop
mkdir Webots.app
cd Webots.app/
ln -s ${WEBOTS_HOME}/Contents Contents
ln -s ${WEBOTS_HOME}/resources resources
ln -s ${WEBOTS_HOME}/lib lib
ln -s ${WEBOTS_HOME}/bin bin
ln -s ${WEBOTS_HOME}/change_logs change_logs
ln -s ${WEBOTS_HOME}/doc doc
ln -s ${WEBOTS_HOME}/include include
ln -s ${WEBOTS_HOME}/projects projects
ln -s ${WEBOTS_HOME}/util util

You can now launch Webots.app from the Finder by double-clicking on it.

Clone this wiki locally