From 34d955ec2756c7256ccac1ac4117f44eaf0a90a5 Mon Sep 17 00:00:00 2001 From: AbelLykens <47113175+AbelLykens@users.noreply.github.com> Date: Fri, 27 Jan 2023 20:42:07 +0100 Subject: [PATCH] Extra instructions for Ubuntu On a clean Ubuntu 10.04 you need `pysdl2-dll` too. Also you need some more tools for the build process (`autoconf` and `libtool`). This fixes `error: possibly undefined macro: AC_PROG_LIBTOOL` and `could not find any library for SDL2 (PYSDL2_DLL_PATH: unset)`. --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ab9168547..a0d02e78c 100644 --- a/README.md +++ b/README.md @@ -138,7 +138,7 @@ See You'll need to install these (Ubuntu 20.04): ```shell -apt install build-essential git python3 python3-pip libudev-dev gcc-arm-none-eabi libffi-dev xterm swig libpcsclite-dev python-is-python3 +apt install build-essential git python3 python3-pip libudev-dev gcc-arm-none-eabi libffi-dev xterm swig libpcsclite-dev python-is-python3 autoconf libtool ``` Install and run simulator on Ubuntu 20.04 @@ -153,7 +153,8 @@ python3 -m venv ENV # or virtualenv -p python3 ENV source ENV/bin/activate # install dependencies pip install -U pip setuptools -pip install -r requirements.txt +pip install -r requirements.txt #general requirements +pip install pysdl2-dll # Ubuntu needs this dependency # build simulator cd unix pushd ../external/micropython/mpy-cross/