To whom it may concern.
Trying to build OpenCPN from scratch as of yesterday, I am running into a few issues:
pidev 4.4.38-v7+ #938 SMP Thu Dec 15 15:22:21 GMT 2016 armv7l GNU/Linux
trying to get the source, I get the following error:
apt-cache search opencpn
opencpn - OpenSource Chart Plotter/Navigator
root@pidev:/home/pi# add-apt-repository ppa
You are about to add the following PPA to your system:
and GPS Navigation Software
OpenCPN is a free software
to create a concise chartplotter
software for use as an underway or planning tool. OpenCPN is developed by a team of active sailors using real world conditions for program testing and refinement.
More info: https://launchpad.net/~opencpn/+archive/ubuntu/opencpn
Press [ENTER] to continue or ctrl-c to cancel adding it
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 167, in <module>
sp = SoftwareProperties(options=options)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 105, in __init__
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 595, in reload_sourceslist
File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 89, in get_sources
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Raspbian/jessie
trying to clone from github works fine, but gives me Version 4.2.0
building it, following Allisdair's tutorial, gives me the following issues:
-DBUNDLE_DOCS=ON -DBUNDLE_TCDATA=ON -DBUNDLE_GSHHS=HIGH
The make file terminated after approx 2h! w/out any noticable error.
But then the sudo make install command failed as following:
Install the project
/usr/bin/cmake -P cmake_install.cmake
-- Install configuration: "Release"
-- Installing: /usr/local/bin/opencpn
-- Installing: /usr/local/share/opencpn/gshhs/poly-c-1.dat
-- Installing: /usr/local/share/opencpn/gshhs/wdb_borders_c.b
-- Installing: /usr/local/share/opencpn/gshhs/wdb_rivers_c.b
CMake Error at cmake_install.cmake:52 (file):
file INSTALL cannot find
subsequently, trying to run it, gave the following error:
(opencpn:8223): Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
I gave it another shot w/ GSHHS=CRUDE.
make it (again)
the sudo make install command then worked OK,
but the run time error about GTK2 and GTK3 mixture remained.
Allisdair's pre-compiled version 4.2.0 works like a charm.
This is my 1st post here, and I couild not find anything similar, searching this thread.