Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 26-03-2019, 19:04   #1
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
oeSENC_PI for OpenCPN5 on Raspberry Pi

Hello Pi users....


An intermittent fault in oesenc_pi for ARMHF architectures on OpenCPN Version 5 has been found and corrected.
An update to Version 2.9.1526 is now available in the OpenCPN PPA.


Feedback is always appreciated.
Thanks
Dave
bdbcat is offline   Reply With Quote
Old 27-03-2019, 00:42   #2
Registered User

Join Date: Dec 2015
Location: Germany, sailing: Northsea
Boat: Friendship 28
Posts: 244
Re: oeSENC_PI for OpenCPN5 on Raspberry Pi

Hi,

Dave, thanks.

I´ll try it in the afternoon and give a feedback.

Regards

Andreas
Andreas29 is offline   Reply With Quote
Old 27-03-2019, 00:58   #3
Registered User

Join Date: Feb 2019
Location: Y Felinheli, Wales
Boat: Feeling 1090
Posts: 84
Re: oeSENC_PI for OpenCPN5 on Raspberry Pi

Thanks, I shall try it shortly!
rszemeti is offline   Reply With Quote
Old 27-03-2019, 06:44   #4
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,147
Re: oeSENC_PI for OpenCPN5 on Raspberry Pi

Dave or anyone Linux educator...
As you may know I'm a native Win user.
On my pi oeSENC is "spreading" files around out of my control so both oeserverd and libsglarmhf32-2.30.0.0.so is hard to find for O and oesenc itself. Possible due to my build history.
Even after I have tried to clean the history by deleting all build folders and run a new cmake for O and all my plugins. (And all projects in my repository are rebased to origin.)
There seems to be more file destinations data saved in the system. So my question:
How do I clean the history in Debian, if possible?

Here is where oesenc is saved and a runtime error:
Code:
oeSENC:
Install the project...
-- Install configuration: "Release"
-- Up-to-date: /usr/bin/oeserverd
-- Up-to-date: /usr/lib/opencpn/libsglarmhf32-2.30.0.0.so
-- Up-to-date: /etc/udev/rules.d/98-sglock.rules
-- Up-to-date: /usr/share/opencpn/plugins/oesenc_pi/rrc_eula_ChartSetsForOpenCPN-v16-12.txt
...
-- Installing: /usr/lib/opencpn/liboesenc_pi.so
-- Up-to-date: /usr/share/opencpn/plugins/oesenc_pi/data
-- Up-to-date: /usr/share/opencpn/plugins/oesenc_pi/data/LUPPatch2.xml
-- Up-to-date: /usr/share/opencpn/plugins/oesenc_pi/data/SymbolPatch5.xml
-- Up-to-date: /usr/share/opencpn/plugins/oesenc_pi/data/SymbolPatch3.xml
-- Up-to-date: /usr/share/opencpn/plugins/oesenc_pi/data/license.txt
-- Up-to-date: /usr/share/opencpn/plugins/oesenc_pi/data/SymbolPatch4.xml
-- Up-to-date: /usr/share/opencpn/plugins/oesenc_pi/data/SymbolPatch1.xml
-- Up-to-date: /usr/share/opencpn/plugins/oesenc_pi/data/LUPPatch3.xml
-- Up-to-date: /usr/share/opencpn/plugins/oesenc_pi/data/LUPPatch1.xml
-- Up-to-date: /usr/share/opencpn/plugins/oesenc_pi/data/SymbolPatch2.xml

Runtime:
(opencpn:31661): .....

/usr/local/bin/oeserverd: error while loading shared libraries: libsglarmhf32-2.30.0.0.so: cannot open shared object file: No such file or directory
Hakan is offline   Reply With Quote
Old 27-03-2019, 08:01   #5
Registered User

Join Date: Aug 2016
Location: Stockholm, Sweden
Posts: 272
Re: oeSENC_PI for OpenCPN5 on Raspberry Pi

Håkan,

not exactly sure what you are after but:

To erase a complete compilatiion of OpenCPN (located in /usr/local/src/opencpn) including the source code, tou may use these steps (<username> is your local username):


rm -r /home/<username>/.opencpn
sudo find /usr/local/share -name "opencpn*" -exec rm -r {} \;
sudo rm -r /usr/local/lib/opencpn
sudo rm -r /usr/localbin/opencpn
sudo rm -r /usr/local/src/OpenCPN


This will remove everything related to OpenCPN.
The above lines will also tell you all the locations where OpenCPN keep it files. Note that if the system is installed using e.g PPA, you use the same paths but exclude the '../local..' part of the path.
Hope this helps!
/lennartG
LennartG is offline   Reply With Quote
Old 27-03-2019, 08:03   #6
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
Re: oeSENC_PI for OpenCPN5 on Raspberry Pi

Hakan...


Your local builds of oeSENC by default land in /usr/local.
Installs from PPA land in /usr.
linux loader tries to satisfy link requirements looking in /usr/local first, and then /usr second.


If you want to test a PPA plugin, you should simply:
Code:
$sudo rm /usr/local/lib/opencpn/lib*

That will cause linker to go to /us/lib/opencpn/ for the plugins, and all required parts. Then all should be well.


This problem only occurs if you build locally. Casual users will not be affected.


Dave
bdbcat is offline   Reply With Quote
Old 27-03-2019, 08:14   #7
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,147
Re: oeSENC_PI for OpenCPN5 on Raspberry Pi

Quote:
Originally Posted by bdbcat View Post
Hakan...


Your local builds of oeSENC by default land in /usr/local.
Installs from PPA land in /usr.
linux loader tries to satisfy link requirements looking in /usr/local first, and then /usr second.


If you want to test a PPA plugin, you should simply:
Code:
$sudo rm /usr/local/lib/opencpn/lib*
That will cause linker to go to /us/lib/opencpn/ for the plugins, and all required parts. Then all should be well.


This problem only occurs if you build locally. Casual users will not be affected.


Dave
Dave..

I've never used a PPA on this Pi.
If you see the make report from my Pi above you'll see nothing is installed in /local/
I'm using latest Git.
Thanks/Håkan
Hakan is offline   Reply With Quote
Old 27-03-2019, 08:14   #8
Registered User

Join Date: Jan 2017
Location: Irish Sea
Posts: 1,321
Images: 7
Re: oeSENC_PI for OpenCPN5 on Raspberry Pi

Brilliant, keep up the good work, just bought a Pi Although not for navigation (yet) but exploring those options as well. Once feeling confident enough with the system, I'll duplicate the charts from my Tab A, as allowed by o-charts.
__________________
Useful as a fireproof bottom paint...
GTom is offline   Reply With Quote
Old 27-03-2019, 08:34   #9
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
Re: oeSENC_PI for OpenCPN5 on Raspberry Pi

Hakan...
Please show logfile for error run.


Thanks
Dave
bdbcat is offline   Reply With Quote
Old 27-03-2019, 08:47   #10
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,147
Re: oeSENC_PI for OpenCPN5 on Raspberry Pi

Dave..
Log attached but I think I've to clean up as of Lennarts advice. (Thanks!)


oeserverd, opencpn and more are present is several locations. (But nothing in any /local/


Thanks for your time
Håkan
Attached Files
File Type: pdf opencpn.log.pdf (25.0 KB, 30 views)
Hakan is offline   Reply With Quote
Old 27-03-2019, 09:51   #11
Registered User

Join Date: Feb 2019
Location: Y Felinheli, Wales
Boat: Feeling 1090
Posts: 84
Re: oeSENC_PI for OpenCPN5 on Raspberry Pi

Quote:
Originally Posted by bdbcat View Post
Hello Pi users....


An intermittent fault in oesenc_pi for ARMHF architectures on OpenCPN Version 5 has been found and corrected.
An update to Version 2.9.1526 is now available in the OpenCPN PPA.


Feedback is always appreciated.
Thanks
Dave



Hi Dave!


Sorted! This has corrected my issues completely, thank you!



Your support is very much appreciated,
rszemeti is offline   Reply With Quote
Old 27-03-2019, 10:01   #12
Registered User

Join Date: Feb 2019
Location: Y Felinheli, Wales
Boat: Feeling 1090
Posts: 84
Re: oeSENC_PI for OpenCPN5 on Raspberry Pi

Quote:
Originally Posted by GTom View Post
Brilliant, keep up the good work, just bought a Pi Although not for navigation (yet) but exploring those options as well. Once feeling confident enough with the system, I'll duplicate the charts from my Tab A, as allowed by o-charts.

My plan is to run a pi on a "big screen" below decks and a self contained pi with touchscreen at the helm. I have a 7" capacitive touchscreen, I am thinking about a 10" touchscreen though for the helm, as 7" is a bit too small.


I have a 17" LCD panel from an old laptop, with an HDMI -> LVDS adaptor ... the whole system is going to cost me less than the cables would have cost for the Raymarine plotter I had bought!
rszemeti is offline   Reply With Quote
Old 27-03-2019, 12:34   #13
Registered User

Join Date: Dec 2015
Location: Germany, sailing: Northsea
Boat: Friendship 28
Posts: 244
Re: oeSENC_PI for OpenCPN5 on Raspberry Pi

Hi,

Dave, tested the new plugin-version. Works.

Thanks

Regards

Andreas
Andreas29 is offline   Reply With Quote
Old 01-04-2019, 09:34   #14
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,147
Re: oeSENC_PI for OpenCPN5 on Raspberry Pi

Quote:
Originally Posted by Hakan View Post
Dave..
Log attached but I think I've to clean up as of Lennarts advice. (Thanks!)
oeserverd, opencpn and more are present is several locations. (But nothing in any /local/
Håkan
Dave..
To continue this where I'm obstinate enough to build oeSENC_pi on my local repository. It may be someone else would get the same idea.
So I've removed everything concerning opencpn and related plugins in /usr/ and underlying directories.
/build directories for O and oesenc are renewed so both are built from scratch and using fresh clones for each local repository.
The file locations after that as of this list:
Code:
pi@raspberrypi:~/builds/oesenc_pi/build $ find /usr/ -name  "opencpn"
/usr/share/opencpn
/usr/lib/opencpn
/usr/local/bin/opencpn
/usr/local/share/opencpn
/usr/local/share/doc/opencpn
/usr/local/lib/opencpn

pi@raspberrypi:~/builds/oesenc_pi/build $ find /usr/ -name  "libsglarmh*"
/usr/lib/opencpn/libsglarmhf32-2.30.0.0.so

pi@raspberrypi:~/builds/oesenc_pi/build $ find /usr/ -name  "oeserverd"
/usr/bin/oeserverd

pi@raspberrypi:~/builds/oesenc_pi/build $ find /usr/ -name  "lib*_pi.so"
/usr/lib/opencpn/liboesenc_pi.so
/usr/local/lib/opencpn/libchartdldr_pi.so
/usr/local/lib/opencpn/libgrib_pi.so
/usr/local/lib/opencpn/libdashboard_pi.so
/usr/local/lib/opencpn/libwmm_pi.so
O found oeSENC but didn't load:
Code:
09:49:51 CEST: PlugInManager: Loading PlugIn: /usr/lib/opencpn/liboesenc_pi.so
09:49:51 CEST: Error: /usr/lib/opencpn/liboesenc_pi.so: undefined symbol: _ZTI10wxCurlHTTP
09:49:51 CEST:    PlugInManager: Cannot load library: /usr/lib/opencpn/liboesenc_pi.so
Attached Files
File Type: pdf opencpn_rpi.log.pdf (36.5 KB, 33 views)
Hakan is offline   Reply With Quote
Old 01-04-2019, 11:52   #15
Registered User

Join Date: Mar 2017
Location: Brittany, France
Boat: First 18
Posts: 323
Re: oeSENC_PI for OpenCPN5 on Raspberry Pi

Quote:
Originally Posted by Hakan View Post
Code:
09:49:51 CEST: PlugInManager: Loading PlugIn: /usr/lib/opencpn/liboesenc_pi.so
09:49:51 CEST: Error: /usr/lib/opencpn/liboesenc_pi.so: undefined symbol: _ZTI10wxCurlHTTP
 09:49:51 CEST:    PlugInManager: Cannot load library: /usr/lib/opencpn/liboesenc_pi.so

I get this one too (on x86_64 linux), seems to be related to the latest, post-5.0.0 changes pushed into the OpenCPN git repo.


Stelian.
stelian is offline   Reply With Quote
Reply

Tags
enc, opencpn


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
oesenc_pi installation failure janx OpenCPN 2 17-03-2019 13:47
Failure to generate fingerprint with arm64 build of oesenc_pi 1.7 sailorF54 OpenCPN 31 16-02-2018 09:44
Can Someone Help Compile on Raspberry Pi ? jimseng OpenCPN 11 06-07-2012 16:24
Raspberry PI compiles OpenCPN monstads OpenCPN 7 15-03-2012 12:41
The Perfect Platform for OpenCPN ? Raspberry Pi night0wl OpenCPN 10 08-09-2011 19:09

Advertise Here


All times are GMT -7. The time now is 13:50.


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.