Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 22-01-2016, 00:36   #901
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 874
Re: Ocpn-Draw and Boundary

Nav,
Fixed in patch 625.

Jon

Quote:
Originally Posted by NAV View Post
Clicking on 'No' when asked 'Are you sure you wat to delete this point?', the plugin does remove the point.
__________________

__________________
jongough is offline   Reply With Quote
Old 22-01-2016, 00:42   #902
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 874
Re: Ocpn-Draw and Boundary

Gilletarom,
If the plugin does not show up then there is normally an issue in trying to load it. This should be shown in the OCPN log, and if it is a mismatch between OCPN and OD then it should give some indication of what is wrong. If you are using an SVG version of OD but a non SVG version of OCPN you may just get a message that a file is missing, but no indication of what. OD with SVG relies on OCPN having installed cairo.dll, expat.dll, zlib1.dll and WXSVG.dll, without these OD will not load.

Jon

Quote:
Originally Posted by Gilletarom View Post
I had installed the working version of Jean Pierre, with which worked well loaded plugins. In this version, the installer you just proposed does not. The plugin is not visible in the list of plugins when you go into the "Options" of OpenCPN.
I tested this on my PC and my 8.1 W W10 tablet.

I will re-install the normal version of O411317 and see if it works.

Gilletarom.
__________________

__________________
jongough is offline   Reply With Quote
Old 22-01-2016, 00:55   #903
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 2,722
Re: Ocpn-Draw and Boundary

Jon...

mine is a 4.1.1317, so with svg (had a look and for example the cairo.dll is in place).
Nethertheless it fails to load the (installed, existing) draw PI.
Code:
9:44:31 AM: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN 4.1.1317\plugins\ocpn_draw_pi.dll
9:44:31 AM: Error: Failed to load shared library 'C:\Program Files (x86)\OpenCPN 4.1.1317\plugins\ocpn_draw_pi.dll' (error 126: das angegebene Modul wurde nicht gefunden.)
9:44:31 AM:    PlugInManager: Cannot load library: C:\Program Files (x86)\OpenCPN 4.1.1317\plugins\ocpn_draw_pi.dll
error 126: module not found
It is there where it should be in the \plugins directory (Win 8.1)

Hubert
__________________
bcn is offline   Reply With Quote
Old 22-01-2016, 01:19   #904
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 2,722
Re: Ocpn-Draw and Boundary

Quote:
Originally Posted by jongough View Post
Nav,
Fixed in patch 625.

Jon
Jon...

is a Win exe for this patch available?

Hubert
__________________
bcn is offline   Reply With Quote
Old 22-01-2016, 01:33   #905
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 2,722
Re: Ocpn-Draw and Boundary

With the Win 623 (the one that does not appear) I tried to access the Options/Plug-in menu and the system stalls (Win 8.1)

The last entry in the log-file:
Code:
10:23:58 AM: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN 4.1.1317\plugins\chartdldr_pi.dll
10:23:58 AM:   C:\Program Files (x86)\OpenCPN 4.1.1317\plugins\chartdldr_pi.dll
              API Version detected: 113
              PlugIn Version detected: 102
10:23:58 AM: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN 4.1.1317\plugins\grib_pi.dll
10:23:58 AM:   C:\Program Files (x86)\OpenCPN 4.1.1317\plugins\grib_pi.dll
              API Version detected: 112
              PlugIn Version detected: 300
10:23:58 AM: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN 4.1.1317\plugins\ocpn_draw_pi.dll
Attached Thumbnails
Click image for larger version

Name:	2016-01-22 10_24_51-OpenCPN 4.1.1317-options-PI-hangs.png
Views:	46
Size:	45.4 KB
ID:	117225  
__________________
bcn is offline   Reply With Quote
Old 22-01-2016, 01:52   #906
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 2,722
Re: Ocpn-Draw and Boundary

A little bit more about this crash:
(deleting the plug-in will repair the failure)
Attached Thumbnails
Click image for larger version

Name:	2016-01-22 10_42_51-OpenCPN 4.1.1317-wxWidgets-timer-assert.png
Views:	55
Size:	50.4 KB
ID:	117226  
__________________
bcn is offline   Reply With Quote
Old 22-01-2016, 03:56   #907
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,279
Re: Ocpn-Draw and Boundary

Quote:
Originally Posted by jongough View Post
Gilletarom,
.... on OCPN having installed cairo.dll, expat.dll, zlib1.dll and WXSVG.dll, without these OD will not load.
Jon
I end up not knowing what I like version. This is certainly not the original version of 411317. But this is not the version of Jean Pierre. It must be a version downloaded from the RGleason thingie.

I watched what dll are present. There is cairo.dll, expat.dll, zlib1.dll BUT WXSVG.DLL is absent. This certainly explains why the plugin can not be seen by OpenCPN.
__________________
Gilletarom is offline   Reply With Quote
Old 22-01-2016, 05:59   #908
NAV
Registered User

Join Date: Sep 2010
Location: Netherlands
Posts: 424
Re: Ocpn-Draw and Boundary

I suggest to move the data field for Arrival Radius (in Point Properties window) to the left.
Also (just as an example): 'Properties' is not translated in title bar.
Attached Thumbnails
Click image for larger version

Name:	PointProperties.PNG
Views:	50
Size:	22.0 KB
ID:	117233  
__________________
NAV is offline   Reply With Quote
Old 22-01-2016, 06:10   #909
NAV
Registered User

Join Date: Sep 2010
Location: Netherlands
Posts: 424
Re: Ocpn-Draw and Boundary

Examples of non-translated items in click-on-menu's for point and line (Insert, Move, Point).
Attached Thumbnails
Click image for larger version

Name:	Line.PNG
Views:	40
Size:	5.5 KB
ID:	117234   Click image for larger version

Name:	Point.PNG
Views:	42
Size:	4.1 KB
ID:	117235  

__________________
NAV is offline   Reply With Quote
Old 22-01-2016, 06:20   #910
NAV
Registered User

Join Date: Sep 2010
Location: Netherlands
Posts: 424
Re: Ocpn-Draw and Boundary

The fourth selection circle in attached properties window of Draw: an error or is text missing?
Attached Thumbnails
Click image for larger version

Name:	PropertiesDraw.PNG
Views:	46
Size:	13.7 KB
ID:	117236  
__________________
NAV is offline   Reply With Quote
Old 22-01-2016, 07:16   #911
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,238
Re: Ocpn-Draw and Boundary

Jon
I have just compiled thelatest OpenCPN and Draw plugin from git.
I have, as far as I know, all the necessary SVG libraries installed,still I get this runtime error in the log
Quote:
: Error: /usr/local/lib/opencpn/libocpn_draw_pi.so: undefined symbol: _ZTV13wxSVGDocument
Any ideas?

Thomas
__________________
cagney is offline   Reply With Quote
Old 22-01-2016, 12:09   #912
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 874
Re: Ocpn-Draw and Boundary

Thomas,
Have you copied the opencpn.lib file from the build you have just done to the OD directory for linking? When you compiled OCPN did you specify -DOCPN_USE_SVG in the cmake command? All the SVG stuff is in the OCPN install.

Jon

Quote:
Originally Posted by cagney View Post
Jon
I have just compiled thelatest OpenCPN and Draw plugin from git.
I have, as far as I know, all the necessary SVG libraries installed,still I get this runtime error in the log


Any ideas?

Thomas
__________________
jongough is offline   Reply With Quote
Old 22-01-2016, 13:00   #913
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 874
Re: Ocpn-Draw and Boundary

Hubert,
Windows is not my normal environment, hence I am a bit lost with this. I create install packages for OCPN and OD and it all works. I am trying to figure out what dll's are actually available as against lib files. It looks like the SVG install on windows copies the following dll's:
cairo.dll
fontconfig.dll
iconv.dll
libpng16.dll
libxml2.dll
pixman-1.dll
expat.dll

into the base OCPN install directory. I 'think' that the wxSVG stuff is linked into OCPN but relies on the above dll's to work. I know that I have to link using the wxSVG.lib file or the SVG functions do not work.

I am trying to find out if I can provide more of the SVG stuff, just in case, for windows. The issue is that plugins get to use what is available and are not instantiated unless it is, hence the 'cannot load' messages. The SVG stuff is all new and I am not sure how many other plugins are trying to use it. The only messages about SVG are from the cmake process, so I have created a patch for OCPN that will put in the log the type of icons being used. I will generate a windows OCPN and OD and put them up on dropbox shortly.

Jon

Quote:
Originally Posted by bcn View Post
Jon...

mine is a 4.1.1317, so with svg (had a look and for example the cairo.dll is in place).
Nethertheless it fails to load the (installed, existing) draw PI.
Code:
9:44:31 AM: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN 4.1.1317\plugins\ocpn_draw_pi.dll
9:44:31 AM: Error: Failed to load shared library 'C:\Program Files (x86)\OpenCPN 4.1.1317\plugins\ocpn_draw_pi.dll' (error 126: das angegebene Modul wurde nicht gefunden.)
9:44:31 AM:    PlugInManager: Cannot load library: C:\Program Files (x86)\OpenCPN 4.1.1317\plugins\ocpn_draw_pi.dll
error 126: module not found
It is there where it should be in the \plugins directory (Win 8.1)

Hubert
__________________
jongough is offline   Reply With Quote
Old 22-01-2016, 13:06   #914
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 874
Re: Ocpn-Draw and Boundary

Gilletarom,
Further investigation shows that wxSVG is not a dll, but seems to be in the mainline code, BUT it does have its own lib file, hence my mistake. If you want to be sure of the plugin loading then it needs to be build with -DOD_USE_SVG=OFF and it will use standard png files. They will not scale well, but....

The OD plugin makes use of the SVG facility provided by OCPN, so if bits are 'missing' the plugin will not even load under windows, so it cannot make 'intelligent' decisions about what to do. Unless someone knows how to make the application decide what dll's to load after it has started I am not sure what I can do. At build time I can check for facilities, but at runtime I cannot.

Jon

Quote:
Originally Posted by Gilletarom View Post
I end up not knowing what I like version. This is certainly not the original version of 411317. But this is not the version of Jean Pierre. It must be a version downloaded from the RGleason thingie.

I watched what dll are present. There is cairo.dll, expat.dll, zlib1.dll BUT WXSVG.DLL is absent. This certainly explains why the plugin can not be seen by OpenCPN.
__________________
jongough is offline   Reply With Quote
Old 22-01-2016, 13:08   #915
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 2,722
Re: Ocpn-Draw and Boundary

Quote:
Originally Posted by jongough View Post
It looks like the SVG install on windows copies the following dll's:
cairo.dll
fontconfig.dll
iconv.dll
libpng16.dll
libxml2.dll
pixman-1.dll
expat.dll

into the base OCPN install directory..

Jon
Correct, all these dll are present in OCPN 4.1.1317 under W8.1
__________________

__________________
bcn is offline   Reply With Quote
Reply

Thread Tools
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
Rookie questions - boundary circles; exporting options; GPX files fredgmeyer OpenCPN 5 23-05-2014 22:22
Buoys out in Boundary Bay, BC Carogan Liveaboard's Forum 0 27-08-2012 06:41
For Sale: Cascade Designs Seal Line Boundary 70 Dry Bag thesparrow Classifieds Archive 0 14-03-2011 15:27
Current draw and insulation of portable fridges troppo Plumbing Systems and Fixtures 6 06-03-2011 09:00
amperage draw for Garmin radar and MFD janders Marine Electronics 8 16-12-2008 17:00



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 21:00.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.