Cruisers Forum
 


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

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
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 15-11-2017, 23:27   #17
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
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, 01:07   #18
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,529
Images: 2
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, 01:07   #19
Registered User

Join Date: Aug 2010
Location: Oz
Boat: EX prawn trawler 14m
Posts: 166
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, 01:34   #20
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,529
Images: 2
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, 09:36   #21
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,529
Images: 2
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 17-11-2017, 23:52   #22
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
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, 01:39   #23
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,529
Images: 2
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, 03:13   #24
Registered User

Join Date: Jun 2015
Posts: 379
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, 08:41   #25
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,119
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, 00:16   #26
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
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, 12:31   #27
Moo
Registered User

Join Date: Mar 2017
Posts: 804
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:	111
Size:	40.1 KB
ID:	159418  
Moo is offline   Reply With Quote
Old 19-11-2017, 16:27   #28
Registered User

Join Date: Jun 2015
Posts: 379
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, 20:19   #29
Moo
Registered User

Join Date: Mar 2017
Posts: 804
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, 01:00   #30
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,529
Images: 2
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 Search this Thread
Search this Thread:

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

Advertise Here


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


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.