Unkle...
I've RPi 2 with Raspian by the box and built OCPN from source following this description:
Compiling - Linux | Official OpenCPN Homepage for Debian. One system adaption though;
Add or change in the file /boot/config.txt
framebuffer_depth=32
framebuffer_ignore_alpha=1
Note: I haven't yet tried to built for wxWidgets 3.0 as of the recent compiling description but foresees no trouble with that.
Håkan