Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 15-11-2017, 15:09   #16
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 905
Re: OCPN Draw 1.4 available

Hi Rick,
I do have to look at the order of precedence for right clicking as sometimes what is acted on does not make sense. Also, not all right clicks appear to be being processed. I am not sure if that is because the plugin just does not get told about it of if the plugin is dropping the ball. I really need a repeatable test case to try that out.

The current patch level is now 1.4.17 as I have applied quite a few changes that didier has supplied for asserts, memory leaks and null pointers. Hopefully the colour mode stuff should now be working correctly as redog wanted.

I am still fighting my windows install so that I can test under that (lightening strike took out the mother board and then a HDD died with all my virtual machines on it!). Just having issues with wxWidgets under windows as it seems to think it is linked against one version and run against another, but they are both the same. Argggg!

Regards
Jon
__________________

__________________
jongough is offline   Reply With Quote
Old 16-11-2017, 00:27   #17
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 905
Re: OCPN Draw 1.4 available

Hi,
I have built test install versions of 1.4.17 for linux and windows, they are available on github (https://github.com/jongough/ocpn_dra...ses/tag/1.4.17). This is an incremental change implementing some missing functionality, i.e. colour scheme changes (RGB, Day, Dusk & Night), and fixing up some memory leaks and issues with the implementation of SVG icons. There are numerous small fixes as well which were found when testing.

Regards
Jon
__________________

__________________
jongough is offline   Reply With Quote
Old 16-11-2017, 02:07   #18
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,808
Re: OCPN Draw 1.4 available

Dear Jon
Very sorry about the troubles. It is hard starting over, but eventually you'll have everything back in order. I always end up changing something for the better when this inconvenience happens.

Thanks for the compile, I will try it tomorrow

Best Rick
__________________
rgleason is online now   Reply With Quote
Old 16-11-2017, 02:07   #19
Registered User

Join Date: Aug 2010
Location: Oz
Boat: EX prawn trawler 14m
Posts: 100
Re: OCPN Draw 1.4 available

Hi Jon
I just threw 1.4.17 into the house computer on Ubuntu 16.04.
Colour settings and dual PIL work brilliantly, can't wait to test drive for real.
Top job, thanks.
Redog
__________________
redog is offline   Reply With Quote
Old 17-11-2017, 02:34   #20
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,808
Re: OCPN Draw 1.4 available

Jon, just downloaded and installed ocpn_draw_pi-1.4.17-win32

and it does not seem to load...

Quote:
10:27:44 PM: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN 4.8.0\plugins\ocpn_draw_pi.dll
10:27:44 PM: Error: Failed to load shared library 'C:\Program Files (x86)\OpenCPN 4.8.0\plugins\ocpn_draw_pi.dll' (error 127: the specified procedure could not be found.)
10:27:44 PM: PlugInManager: Cannot load library: C:\Program Files (x86)\OpenCPN 4.8.0\plugins\ocpn_draw_pi.dll
Quote:
10:27:51 PM: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN 4.8.0\plugins\ocpn_draw_pi.dll
10:27:51 PM: Error: Failed to load shared library 'C:\Program Files (x86)\OpenCPN 4.8.0\plugins\ocpn_draw_pi.dll' (error 127: the specified procedure could not be found.)
10:27:51 PM: PlugInManager: Cannot load library: C:\Program Files (x86)\OpenCPN 4.8.0\plugins\ocpn_draw_pi.dll
in C:\Program Files (x86)\OpenCPN 4.8.0\plugins
I see the dll.
__________________
rgleason is online now   Reply With Quote
Old 17-11-2017, 10:36   #21
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,808
Re: OCPN Draw 1.4 available

Perhaps it requires version 4.8+ of opencpn.lib?

I tried it with v4.8.0 not the current git master version.
__________________
rgleason is online now   Reply With Quote
Old 18-11-2017, 00:52   #22
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 905
Re: OCPN Draw 1.4 available

Rick,
I am still working on my windows installation as whilst I can compile I still have issues when running an 'installed' version of opencpn. It works within the VS IDE, so I think I just have a path wrong somewhere. When I have that fixed then I can try and reproduce your error and see what is going on.

Regards
Jon
__________________
jongough is offline   Reply With Quote
Old 18-11-2017, 02:39   #23
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,808
Re: OCPN Draw 1.4 available

I am in a similar situation, having moved to my SurfacePro3 and am 1/2 way through changing over to a new compile routine based upon BatchUtils.

I think I just got most of the paths done, but there may be some other issues, as I just copied over my github directory to the SP3 and have updated CMAKE and GIT.

Hopefully I can git fetch and compile tomorrow Morning.
__________________
rgleason is online now   Reply With Quote
Old 18-11-2017, 04:13   #24
Registered User

Join Date: Jun 2015
Posts: 237
Re: OCPN Draw 1.4 available

Hi
For that you can use AppVeyor, it will compile a reproducible version using sourceforge opencpn.lib.

You have to:
- create and account on AppVeyor
- link it to your github account
- add ocpn_draw_pi
- done, you get an installer exe for each push, as project owner you can also add pull requests. Installer is in artifacts
https://ci.appveyor.com/api/buildjob...4.20-win32.exe
This is for the last commit on master

if you want to push to github you:
- create a variable 'GitHub_auth_token' for ocpn_draw_pi (I don't remember how).
- tag the push.
__________________
did-g is offline   Reply With Quote
Old 18-11-2017, 09:41   #25
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 2,074
Re: OCPN Draw 1.4 available

Hi
For info I've built recent github code on Windows wo errors. The openCPN.lib is made by latest O Github though.
HŚkan
__________________
Hakan is offline   Reply With Quote
Old 19-11-2017, 01:16   #26
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 905
Re: OCPN Draw 1.4 available

Hi,
I found the issue. The wxWidgets in the 'special' extra file for windows was an older version than I was using for compilation. I just had to copy the current wxWidgets DLL's to the buildwin directory and redo the build package and it all worked OK.

The current version of wxWidgets when you are installing it is 3.0.3, I am not sure what version is in the special extra file, but it may be a bit behind the current version.

Regards
Jon
__________________
jongough is offline   Reply With Quote
Old 19-11-2017, 13:31   #27
Moo
Registered User

Join Date: Mar 2017
Posts: 144
Re: OCPN Draw 1.4 available

Quote:
Originally Posted by did-g View Post
Hi
For that you can use AppVeyor, it will compile a reproducible version using sourceforge opencpn.lib.

You have to:
- create and account on AppVeyor
- link it to your github account
- add ocpn_draw_pi
- done, you get an installer exe for each push, as project owner you can also add pull requests. Installer is in artifacts
https://ci.appveyor.com/api/buildjob...4.20-win32.exe
This is for the last commit on master

if you want to push to github you:
- create a variable 'GitHub_auth_token' for ocpn_draw_pi (I don't remember how).
- tag the push.
I get an empty draw window with this version. The Draw manager window is OK. See attached.
Attached Thumbnails
Click image for larger version

Name:	empty draw window.JPG
Views:	17
Size:	40.1 KB
ID:	159418  
__________________
Moo is offline   Reply With Quote
Old 19-11-2017, 17:27   #28
Registered User

Join Date: Jun 2015
Posts: 237
Re: OCPN Draw 1.4 available

Quote:
Originally Posted by Moo View Post
I get an empty draw window with this version. The Draw manager window is OK. See attached.
Lovely...
Are you using Dave's 4.8.0 official release?

Thanks
__________________
did-g is offline   Reply With Quote
Old 19-11-2017, 21:19   #29
Moo
Registered User

Join Date: Mar 2017
Posts: 144
Re: OCPN Draw 1.4 available

Quote:
Originally Posted by did-g View Post
Lovely...
Are you using Dave's 4.8.0 official release?

Thanks
Hi, No that was with that appveyor version that you made to fix the GRIB issue that I was having. I switched to the official version and all seems OK with Draw.

Cheers
__________________
Moo is offline   Reply With Quote
Old 21-11-2017, 02:00   #30
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,808
Re: OCPN Draw 1.4 available

Jon,
I always seem to be playing catchup:
"The current version of wxWidgets when you are installing it is 3.0.3,..."

I thought it was 3.0.2 but I know TDan uses 3.0.3 sometimes. Has it been officially changed to 3.0.3? If so would someone please announce this?

What problems are we likely to run into?

Thanks.
__________________

__________________
rgleason is online now   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
Ocpn-Draw and Boundary rgleason OpenCPN 1386 29-11-2016 13:51
OCPN Draw 1.2 available jongough OpenCPN 14 08-11-2016 20:28
Dinghy Chaps? Draw String Material? JohnnyB Auxiliary Equipment & Dinghy 8 11-02-2009 19:23
Draw bridge Incedent ICW S/V Antares Rules of the Road, Regulations & Red Tape 36 29-11-2008 09:42
head won't draw in water Buddy_Y Plumbing Systems and Fixtures 10 06-08-2007 20:53



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 19:14.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.