Thursday, March 05, 2015

OpenCPN on the Raspberry PI model 2

I just received the new Raspberry PI model B, it comes with 1Gb of RAM.
And it seems that OpenCPN runs just fine on it!
I started from the last NOOBS available from the Raspberry PI website.
Here are the steps I had to go through to build it:
Prompt> sudo apt-get update
Prompt> sudo apt-get install -y libgtk2.0-dev gettext git-core cmake gpsd gpsd-clients \
  libgps-dev build-essential wx-common libwxgtk2.8-dev \
  libglu1-mesa-dev libgtk2.0-dev wx2.8-headers \
  libbz2-dev libtinyxml-dev libsdl1.2debian xcalib

Prompt> git clone https://github.com/seandepagnier/OpenCPN.git
Prompt> cd OpenCPN/
Prompt> mkdir build
Prompt> cd build
Prompt> cmake ../
Prompt> make
Prompt> sudo make install
After that, at the prompt you enter:
Prompt> opencpn &
And that's it!
And by the way, it works the same on all the Ubuntu-like distributions I tested.