Cruisers Forum
 


Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 09-09-2015, 13:00   #1
Registered User

Join Date: Sep 2015
Location: The Netherlands
Boat: Verl 27
Posts: 28
Opencpn Pi2 raspbian

Hi,

I'm new to Pi and OpenCPN. I'm quite far and can access the Pi2 (raspbian os) with an Ipad and I have OpenCPN 4.0.0 running with a USB GPS.

Now I'm ready for the next step, installing plugins.

I found several threads and sites but I can't find out how I now must install an plugin, for example the polar plugin, on the Pi2 with Raspbian + OpenCPN 4.0.0.

Please can anyone give me link to a good tutorial or the commands that I have to use?
Swokey is offline   Reply With Quote
Old 11-09-2015, 10:46   #2
Registered User

Join Date: Sep 2015
Location: The Netherlands
Boat: Verl 27
Posts: 28
Re: Opencpn Pi2 raspbian

Nobody that can help me?
Swokey is offline   Reply With Quote
Old 11-09-2015, 13:02   #3
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 719
Re: Opencpn Pi2 raspbian

I sauggest to read this tread:
http://www.cruisersforum.com/forums/...ry-145980.html
petter5 is offline   Reply With Quote
Old 12-09-2015, 14:02   #4
Registered User

Join Date: Sep 2015
Location: The Netherlands
Boat: Verl 27
Posts: 28
Re: Opencpn Pi2 raspbian

Quote:
Originally Posted by petter5 View Post
I'm bit further. I have upgraded mine system to Jessie (cat /etc/debian_version
gives 8.0).

I'm stuck at the command cmake ../ this returns:

-- *** Staging to build polar_pi ***
CMake Error at /usr/share/cmake-3.0/Modules/FindPackageHandleStandardArgs.cmake:136 (message):
Could NOT find wxWidgets (missing: wxWidgets_FOUND)
Call Stack (most recent call first):
/usr/share/cmake-3.0/Modules/FindPackageHandleStandardArgs.cmake:343 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.0/Modules/FindwxWidgets.cmake:869 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:65 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!
See also "/home/pi/opencpn/plugins/polar_pi/CMakeFiles/CMakeOutput.log".

Couldn't find any solution on the web for the PI2. Any hints?
Swokey is offline   Reply With Quote
Old 13-09-2015, 12:16   #5
Registered User

Join Date: Sep 2015
Location: The Netherlands
Boat: Verl 27
Posts: 28
Re: Opencpn Pi2 raspbian

I'm not giving up to install the plugins.

I have updated my system to Jessie. Now i'm following the steps from "http://opencpn.org/ocpn/adding_ppa"

The first command "sudo apt-get install software-properties-common" was no problem.

The problem starts with the second command "sudo add-apt-repository ppapencpn/opencpn"

I get the following back:

Code:
pi@raspberrypi ~/opencpn/plugins/polar_pi $ sudo add-apt-repository ppa:opencpn/opencpn
You are about to add the following PPA to your system:
 A Chartplotter and GPS Navigation Software.

OpenCPN is a free software (GPLv2) project to create a concise chartplotter and navigation 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__
    self.reload_sourceslist()
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 595, in reload_sourceslist
    self.distro.get_sources(self.sourceslist)
  File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 89, in get_sources
    (self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Raspbian/jessie
What is the right command or PPA for jessie?
Swokey is offline   Reply With Quote
Old 14-09-2015, 13:33   #6
Registered User

Join Date: Sep 2015
Location: The Netherlands
Boat: Verl 27
Posts: 28
Re: Opencpn Pi2 raspbian

Was not able to solve the problem. So I started all over, but now with Ubuntu installation. Everything is working now.

I followed the followings steps, some steps are referring to a site with more steps:

1. Download image from: https://wiki.ubuntu.com/ARM/RaspberryPi
2. Unzipped 2015-04-06-ubuntu-trusty.zip
3. Write image with Win32Diskimager to SDcard
4. sudo apt-get update
5. Setting up and running a server with Ubuntu Server 14.04 on Raspberry Pi 2 | Life in apps, os's and code!
6. Configuring Ubuntu PPA | Official OpenCPN Homepage
7. sudo apt-get install xinit
8. sudo apt-get install gpsd gpsd-clients
9. sudo apt-get install screen
10. sudo killall gpsd
11. sudo mknod /dev/ttyUSB0 c 188 0
12. sudo gpsd -N -n -D 2 /dev/ttyUSB0 &
Swokey is offline   Reply With Quote
Old 17-09-2015, 08:52   #7
Registered User
 
skkeith's Avatar

Join Date: Mar 2013
Location: Santa Cruz
Boat: 1975 Isander 28
Posts: 132
Re: Opencpn Pi2 raspbian

I got opencpn and plugins to install from the distro with no problem on debian ( bananaian ). The trick was to upgrade to 'jessie'. I think there is now a jessie release out of bananaian. After that:

edit /etc/apt/sources.list:
deb Index of /opencpn/opencpn/ubuntu trusty main
deb-src Index of /opencpn/opencpn/ubuntu trusty main
deb ftp://ftp.debian.org/debian sid main


apt-get update
apt-get install opencpn
<apt-get install opencpn-plugin-... >

**** make sure to remove the 'sid' entry in /etc/apt/sources.list now so you don't mess yourself up later.
skkeith is offline   Reply With Quote
Reply

Tags
enc, opencpn

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenCPN on Raspberry PI2 starnakel OpenCPN 284 16-03-2017 13:58
OpenCPN on Raspberry Pi2 yaphone OpenCPN 363 12-08-2016 12:56
Has anyone managed to get hardware supported OpenGL on Rasperry Pi2 to work? Gunnar1 OpenCPN 53 16-06-2015 02:10
Raspberry Pi2 ratsea OpenCPN 5 26-02-2015 08:41
OpenCPN on Raspberry PI Raspbian Captain_Steve OpenCPN 12 08-02-2015 10:45

Advertise Here


All times are GMT -7. The time now is 04:23.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.