-
Notifications
You must be signed in to change notification settings - Fork 151
Installing to Raspberry Pi
That guide is the result of mine tries and mistakes. Hope it will save little bit of time other happy owners of RPi :)
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get dist-upgrade
sudo apt-get install build-essential libncursesw5-dev libgdbm-dev libc6-dev
sudo apt-get install zlib1g-dev libsqlite3-dev tk-dev
sudo apt-get install libssl-dev openssl
sudo apt-get install git
sudo apt-get install tmux
wget https://www.python.org/ftp/python/3.5.3/Python-3.5.3.tgz
tar -zxvf Python-3.5.3.tgz
cd Python-3.5.3
./configure
make
<== That step will take some time, so just take you time and do something else
sudo make install
cd ../
git clone https://github.com/Noctem/pogeo.git
Edit pogeo/geometry/util/math/mathlimits.h
Line 135 static const Type kMax = kPosMax;
replace with static const Type kMax = SIGNED_INT_MAX(Type);
Line 137 static const Type kNegMax = kMin;
replace with static const Type kNegMax = SIGNED_INT_MIN(Type);
Line 155 static const Type kMax = kPosMax;
replace with static const Type kMax = UNSIGNED_INT_MAX(Type);
Those lines preventing pogeo from build on RPi. Hope Noctem will fix it soon ;)
sudo pip3 install pogeo/
After that you can proceed with default installing guide
Good idea: use tmux to launch scanner
tmux
cd Monocle
python3 scan.py
Now you can press ctr+b,d
to disconnect from tmux
session and close your RPi ssh session.
To reconnect to that session type tmux a
Have fun, guys!