I have success too!!
Leaving out the errors and re-tries this is what it took to compile:
Orange Pi PC w/ Samsung 8GBSD class 10, but only 4.2MB/s write speed copying the image
dd bs=4M of=/dev/mmcblk0 if=Armbian_5.05_Orangepih3_Debian_jessie_3.4.110_d esktop.raw
apt-get update; apt-get upgrade #79 MB again
sudo apt-get install build-essential cmake gettext git-core gpsd gpsd-clients libgps-dev wx-common libwxgtk3.0-dev libglu1-mesa-dev libgtk2.0-dev wx3.0-headers libbz2-dev libtinyxml-dev libportaudio2 portaudio19-dev libcurl4-openssl-dev libexpat1-dev libcairo2-dev
git clone git://github.com/OpenCPN/OpenCPN.gitI
changed the CMakeLists.txt as follows in order for the Mali-400 to get in:
# find_path(OPENGLESv1_INCLUDE_DIR GLES/gl.h )
SET(OPENGLESv1_INCLUDE_DIR "/usr/include/GLES" )
I plugghed in a USB stick with a linux
on it with a swap partition temporarily and did:
orangepipc# mkswap -f /dev/sda5
orangepipc# swapon /dev/sda5
To fix the: ERROR: /usr/bin/ld: cannot find -lEGL find the lib
ln -s /usr/lib/mali/libEGL.so /usr/lib/
make clean; make -j1
It WORKS!! mostly.
Installing this way did not include the default world map or tcdata and I haven't heard the ships bells yet.
There were a number of steps to cleanup the armbian 5.05 for automount the USBsticks etc. that I intend to document on my blog. At the rate the Armbian team is progressing, the OS cleanup will not be necessary for long.
Thanks you guys for the help and all the previous posts that I was able to read.