This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
opencpn pypilot plugin, autopilot_route via git for OP2?
#1
I tried to update the plugin for opencpn  and install autopilot_route on my RPi4... got some errors, guessing its not ready for that?

maybe there is a separate git for that?
  Reply
#2
There is a separate git for the plugins. Which error?
  Reply
#3
(09-14-2019, 07:33 PM)seandepagnier Wrote: There is a separate git for the plugins.  Which error?

Hi Sean. First I want to emphasize that this was using OP2 on RPI4b.  
The errors were reported at the end of cmake ..
I can try to build it again and post the terminal window if that’s helpful.
  Reply
#4
(09-14-2019, 07:33 PM)seandepagnier Wrote: There is a separate git for the plugins.  Which error?

So here is the error shown in terminal window see file attached

what i did up to this point ...
sudo apt install libwxbase3.0-dev libbz2-dev wx-common libwxgtk3.0-dev
git clone https://github.com/pypilot/pypilot_pi
cd pypilot_pi
mkdir build
cd build
cmake ..

-at this point I am told that cmake is not known as a command so I 
sudo apt-get install cmake 
Once that is installed then I attempt 
cmake ..

- this time it attempts to execute but eventually I get the attached error.

make
sudo make install

I would really like to update this plugin as the one that is packaged with OP2 is broken, the manual errors are backwards and it will not follow a route using GPS...


Attached Files Thumbnail(s)
   
  Reply
#5
To build opencpn and plugins please execute:
Code:
$ 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 libarchive-dev liblzma-dev libexif-dev libelf-dev libsqlite3-dev
The instructions from here:
https://opencpn.org/wiki/dokuwiki/doku.p...ling_linux
  Reply
#6
(10-18-2019, 07:17 PM)seandepagnier Wrote: To build opencpn and plugins please execute:
Code:
$ 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 libarchive-dev liblzma-dev libexif-dev libelf-dev libsqlite3-dev
The instructions from here:
https://opencpn.org/wiki/dokuwiki/doku.p...ling_linux

Oh Boy what did I get myself into now! Okay so I have compiled it and installed it on the Rpi I compiled it on... I have got pypilot_pi installed but I am having issues with the oesenc pluging...  

These are the instructions are they correct?

pi@raspberrypi:~ $ sudo apt-get install opencpn-plugin-oesenc-pi

pi@raspberrypi:~ $ sudo apt-get install opencpn-plugin-oesenc_pi

both give me the same error 

E: Unable to locate package

so then I decided I could just install it from git... which I did successfully but when I try to install my maps I get the same error over and over again 

<Cannot find the oserved utility>

So now I am stuck. Any ideas?

I am looking at the other forum atm but so far I have found nothing to do with oserved


Attached Files Thumbnail(s)
   
  Reply
#7
WHOA... maybe I misunderstood your instructions Sean?
I thought you wanted me to build OCPN from source... but maybe you just wanted me to install the dependencies in order to be able to install the pluggins from source?

Is this correct?

I have built opencpn from source now but I get an error each time I run it

"Lock file '/home/pi/OpenCPN' has incorrect permissions" I'm afraid maybe I should have built and installed this in the default install dir /usr/local... I did everything in the home dir is this why I am getting this error?

need help!
  Reply
#8
Yep so that worked.... thank you
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)