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 02-02-2021, 08:05   #76
Registered User

Join Date: Jul 2019
Posts: 115
Re: PhotoLayer plugin - Satellite GeoTiffs with transparency

Hi Mike,

Thanks for your reply !
I did install photolayer through plugin manager. What you say already happened to me, I could resolve it the way you say (same discussion#39)
This time, I have no uninstaller because of having done installation through plugin manager, I suppose ... Though, I can't.

Let me know what to do ...
Cheers.
juancho38 is offline   Reply With Quote
Old 02-02-2021, 08:32   #77
Registered User

Join Date: May 2012
Posts: 1,206
Re: PhotoLayer plugin - Satellite GeoTiffs with transparency

juancho38...

I have seen problems with the uninstaller for managed plugins. Try and uninstall with the manager.

Then go to "C:\Users\Mike\AppData\Local\opencpn\plugins" or similar!

Manually delete photolayer_pi.dll. The data folder "C:\Users\Mike\AppData\Local\opencpn\plugins\photo layer_pi\data" should already have been removed by the uninstaller.

Then try and install again.

You may need to use "reinstall" and close/open OpenCPN to get it working.

Mike
Rasbats is offline   Reply With Quote
Old 02-02-2021, 09:53   #78
Registered User

Join Date: Jul 2019
Posts: 115
Re: PhotoLayer plugin - Satellite GeoTiffs with transparency

Your solution worked perfectly.
Thanks for your help and the great work on this plugin !
juancho38 is offline   Reply With Quote
Old 15-05-2021, 15:31   #79
Registered User

Join Date: Mar 2019
Location: Gent, Belgium
Boat: Trisbal 36
Posts: 18
Send a message via Skype™ to jbruggem60
Re: PhotoLayer plugin - Satellite GeoTiffs with transparency

Hello,


I cannot run photolayer plugin on linux mint 20.1. It does install, but it does not show up in the menu bar, and gets 'forgotten' when I close opencpn (i.e. I have to reinstall it reopening opencpn).



opencpn log file shows:
22:31:50.434 MESSAGE pluginmanager.cpp:1174 Checking plugin candidate: /home/jan/.local/lib/opencpn/libphotolayer_pi.so
22:31:50.434 MESSAGE pluginmanager.cpp:2124 Plugin is compatible by elf library scan: true
22:31:50.434 MESSAGE pluginmanager.cpp:2232 PlugInManager: Loading PlugIn: /home/jan/.local/lib/opencpn/libphotolayer_pi.so
22:31:50.437 ERROR dlunix.cpp:162 /home/jan/.local/lib/opencpn/libphotolayer_pi.so: undefined symbol: proj_get_type
22:31:50.437 MESSAGE pluginmanager.cpp:2291 PlugInManager: Cannot load library: /home/jan/.local/lib/opencpn/libphotolayer_pi.so



I am on opencpn 5.2.4 and photolayer 3.4.2+3669.v3.4.2
I have libgeotiff5 and libgeotiff-dev installed.


What can I do about this ?
__________________
a specialist is somebody who has made all mistakes.
jbruggem60 is offline   Reply With Quote
Old 15-05-2021, 22:44   #80
Registered User

Join Date: May 2012
Posts: 1,206
Re: PhotoLayer plugin - Satellite GeoTiffs with transparency

jbruggem60...

Try installing libproj. This is the source of the projection types and may be the reason for the error message 'undefined symbol: proj_get_type'.

Mike
Rasbats is offline   Reply With Quote
Old 16-05-2021, 01:15   #81
Registered User

Join Date: Mar 2019
Location: Gent, Belgium
Boat: Trisbal 36
Posts: 18
Send a message via Skype™ to jbruggem60
Re: PhotoLayer plugin - Satellite GeoTiffs with transparency

Rasbats ...


Thanks for your reply.

But I have libproj15 and libproj-dev installed as well.


I did install opencpn thru synaptic, would installing it thru flatpak make a difference ?
__________________
a specialist is somebody who has made all mistakes.
jbruggem60 is offline   Reply With Quote
Old 16-05-2021, 01:43   #82
Registered User

Join Date: Mar 2019
Location: Gent, Belgium
Boat: Trisbal 36
Posts: 18
Send a message via Skype™ to jbruggem60
Re: PhotoLayer plugin - Satellite GeoTiffs with transparency

Rasbats ...


investigating a little further. This Proj project is new to me ;-)


I see that proj-bin itself is also installed (version 6.3.1-1)
libproj15 and libproj-dev are also versions 6.3.1-1
system variables $PROJ_LIB and $PROJ_DEBUG are not set


the proj website apparently advises to install proj from source. Should I try this ? And if so, what version ? I see they are at 6.3.2, but there's also versions 7.x.x and even 8.x.x ...
__________________
a specialist is somebody who has made all mistakes.
jbruggem60 is offline   Reply With Quote
Old 16-05-2021, 02:13   #83
Registered User

Join Date: May 2012
Posts: 1,206
Re: PhotoLayer plugin - Satellite GeoTiffs with transparency

jbruggem60 ...

I am also having a problem with photolayer on Linux Ubuntu 20.0.4. This is an old problem. Having a look.

Mike
Rasbats is offline   Reply With Quote
Old 16-05-2021, 02:14   #84
Registered User

Join Date: Mar 2019
Location: Gent, Belgium
Boat: Trisbal 36
Posts: 18
Send a message via Skype™ to jbruggem60
Re: PhotoLayer plugin - Satellite GeoTiffs with transparency

Rasbats...


I found this page : https://githubmemory.com/repo/Rasbat...sues/34?page=1 where you recommended downloading and installing version 3.3.1 of photolayer. I've downloaded it and manually installed it (copying the files in ~/.local/lib/opencpn/libphotolayer_pi.so and ~/.local/share/opencpn/plugins ...) , but this does not work either. I'm not sure if this was the right procedure of installing that package tough.
__________________
a specialist is somebody who has made all mistakes.
jbruggem60 is offline   Reply With Quote
Old 16-05-2021, 02:18   #85
Registered User

Join Date: Mar 2019
Location: Gent, Belgium
Boat: Trisbal 36
Posts: 18
Send a message via Skype™ to jbruggem60
Re: PhotoLayer plugin - Satellite GeoTiffs with transparency

Mike (aka Rasbats)


thanks for looking into it. If you want me to try something, feel free to ask, I'm glad to help. I am confident with Linux, having been a (unix/linux) system administrator for 40 years. But my programming is rusty ...


Jan
__________________
a specialist is somebody who has made all mistakes.
jbruggem60 is offline   Reply With Quote
Old 16-05-2021, 02:42   #86
Registered User

Join Date: May 2012
Posts: 1,206
Re: PhotoLayer plugin - Satellite GeoTiffs with transparency

Jan ...

Thanks for the reminder. An old problem that has not been solved.

Not knowing your version of Mint but ...

Download the v3.3.1 tarball from this page:
https://cloudsmith.io/~opencpn/repos...ckages/?page=2

Using plugin manager use the 'Import Plugin' button and select the appropriate 3.3.1 tarball. Open ... and it will add an entry to the list of plugins available (I hope). Select the item and 'Install'. Enable, and it should work ok.

On Ubuntu 20.0.4 (GTK3) I used the 3.3.1+3103.v3.3.1 package.

Mike
Rasbats is offline   Reply With Quote
Old 16-05-2021, 05:50   #87
Registered User

Join Date: Mar 2019
Location: Gent, Belgium
Boat: Trisbal 36
Posts: 18
Send a message via Skype™ to jbruggem60
Re: PhotoLayer plugin - Satellite GeoTiffs with transparency

Mike,


I've tried to import plugin :
photolayer-3.3.1+3105.v3.3.1_ubuntu-18.04-x86_64.tar.gz
photolayer-3.3.1+3107.v3.3.1_ubuntu-16.04-x86_64.tar.gz


but when importing I get the message :
"incompatible import plugin detected"
So I do not get to see it in the list of installable plugins.


my linux mint version:
jan@idefix:~$ cat /etc/os-release
NAME="Linux Mint"
VERSION="20.1 (Ulyssa)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 20.1"
VERSION_ID="20.1"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.linuxmint.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=ulyssa
UBUNTU_CODENAME=focal

jan@idefix:~$ cat /proc/version
Linux version 5.4.0-73-lowlatency (buildd@lcy01-amd64-019) (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)) #82-Ubuntu SMP PREEMPT Wed Apr 14 19:19:50 UTC 2021
__________________
a specialist is somebody who has made all mistakes.
jbruggem60 is offline   Reply With Quote
Old 16-05-2021, 06:08   #88
Registered User

Join Date: Mar 2019
Location: Gent, Belgium
Boat: Trisbal 36
Posts: 18
Send a message via Skype™ to jbruggem60
Re: PhotoLayer plugin - Satellite GeoTiffs with transparency

mike,


photolayer-3.3.1+3103.v3.3.1_ubuntu-gtk3-20.04-x86_64.tar.gz is being imported, I can then enable it in plugin manager (it displays as version 0.0.0), but still no button appears in menu bar.



this is what appears in opencpn log:
15:02:00.214 MESSAGE pluginmanager.cpp:1174 Checking plugin candidate: /home/jan/.local/lib/opencpn/libphotolayer_pi.so
15:02:00.214 MESSAGE pluginmanager.cpp:2124 Plugin is compatible by elf library scan: true
15:02:00.214 MESSAGE pluginmanager.cpp:2232 PlugInManager: Loading PlugIn: /home/jan/.local/lib/opencpn/libphotolayer_pi.so
15:02:00.215 ERROR dlunix.cpp:162 libwx_gtk2u_core-3.0.so.0: cannot open shared object file: No such file or directory
15:02:00.215 MESSAGE pluginmanager.cpp:2291 PlugInManager: Cannot load library: /home/jan/.local/lib/opencpn/libphotolayer_pi.so
__________________
a specialist is somebody who has made all mistakes.
jbruggem60 is offline   Reply With Quote
Old 16-05-2021, 06:24   #89
Registered User

Join Date: Mar 2019
Location: Gent, Belgium
Boat: Trisbal 36
Posts: 18
Send a message via Skype™ to jbruggem60
Re: PhotoLayer plugin - Satellite GeoTiffs with transparency

mike,


looking into what I've got installed with names as libwx or gtk2u I find:
installed:
libwxbase3.0-0v5
libwxgtk3.0-gtk3-0v5

not installed: libwxsqlite3-3.0-0
__________________
a specialist is somebody who has made all mistakes.
jbruggem60 is offline   Reply With Quote
Old 16-05-2021, 06:26   #90
Registered User

Join Date: May 2012
Posts: 1,206
Re: PhotoLayer plugin - Satellite GeoTiffs with transparency

Jan ...

Using OpenCPN from flatpak, the 3.3.1 flatpak plugin may be worth a try.

This is all useful stuff.

Mike
Rasbats is offline   Reply With Quote
Reply

Tags
enc, photo, plug, satellite


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
VentureFarther Satellite Charts - vfkaps plugin Rasbats OpenCPN 147 27-12-2022 09:47
PhotoPlayer plugin - Satellite GeoTiffs with transparency Rasbats OpenCPN 8 06-03-2019 04:53
Plugin development... How to receive chart objects in my plugin? dmartinez OpenCPN 6 04-08-2017 00:56
Feature Request: Set KAP file transparency rgleason OpenCPN 6 31-07-2017 17:14
Satellite phone rental sneuman Marine Electronics 5 03-10-2005 16:11

Advertise Here


All times are GMT -7. The time now is 09:49.


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.