I had the same problem. I saw the error:
Found unsuitable version “3.0.2”, but required is at
So I found on the Internet how to Install 3.0.10 of swig.
The link is here Install swig 3.0.10
Here are the steps, download the swig-3.0.10.tar.gz file to your Dragonboard.
Then untar it using
tar xvf swig-3.0.10.tar
Then change to the swig, I cannot remember the exact name.
Then follow the instruction on the link:
./configure --prefix=/usr \
Then sudo to root
make install &&
install -v -m755 -d /usr/share/doc/swig-3.0.10 &&
cp -v -R Doc/* /usr/share/doc/swig-3.0.10
After I did this, I got the UPM library to compile. It takes about 40 minutes.
But I am having a problem when I try yo compile C++ code that says upm.h is not found.
So I am still missing some step.