From 5b7c3ccbca7d89223b8f98bcfc84f8ad7ee43162 Mon Sep 17 00:00:00 2001 From: Neurotek <36542615+Neur0tek@users.noreply.github.com> Date: Thu, 21 May 2020 20:43:22 +0200 Subject: [PATCH] Fixing swig-3 command not found with Ubuntu 20.04 LTS Hi, The command swig for version 3 seem to not be working with the original syntax I've managed to get it to work with this syntax swig3.0 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a9e716a..437d35f 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ all: cp -r $(SDK_PATH)/include ./include wget http://tinyurl.com/leap-i-patch -O Leap.i.diff patch -p0 < Leap.i.diff - swig-3 -c++ -python -o LeapPython.cpp -interface LeapPython ./include/Leap.i + swig3.0 -c++ -python -o LeapPython.cpp -interface LeapPython ./include/Leap.i g++ -fPIC -I/usr/include/python$(PYTHON3_VERSION)m -I/usr/include/python$(PYTHON3_VERSION) -I$(SDK_PATH)/include LeapPython.cpp $(SDK_PATH)/lib/$(ARCH)/libLeap.so -shared -o LeapPython.so clean: