Cruisers Forum
 


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 06-06-2016, 03:13   #16
Registered User

Join Date: May 2016
Posts: 14
Re: ODraw - beta 1.1

Thank you very much for your work jonjough.Where can i get the beta so that i can test it as you offered in your last post?

I'll give you background if you want about it.

Regards.
palolo1 is offline   Reply With Quote
Old 06-06-2016, 03:22   #17
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
Re: ODraw - beta 1.1

Hi Palolo1,
At the moment you will have to get the source from github (https://github.com/jongough/ocpn_draw_pi) in the release_1.1 branch and the build it yourself. This is really an alpha release of GZ as I am still working on the periferal parts. But it should work well enough so that you can see if it does what you want.

Regards
Jon
jongough is offline   Reply With Quote
Old 06-06-2016, 03:30   #18
Registered User

Join Date: May 2016
Posts: 14
Re: ODraw - beta 1.1

Thanks again Jon. I've seen the reléase beta but don't actually know how to compile it. As you said you were still in the process of pre-production of your new versión, I think i can wait until you got it complete.

Anyway is a pleasure to see how active and fast you are in the fórum. Great job again.
palolo1 is offline   Reply With Quote
Old 06-06-2016, 04:27   #19
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
Images: 2
Re: ODraw - beta 1.1

Jon I get one error


Quote:
Build FAILED.

"C:\Users\Rick\Documents\GitHub\o-plugin\n-ocpn_draw_pi\build\ALL_BUILD.vcxproj" (default target) (
1) ->
"C:\Users\Rick\Documents\GitHub\o-plugin\n-ocpn_draw_pi\build\ocpn_draw_pi.vcxproj" (default target
) (3) ->
(Link target) ->
LINK : fatal error LNK1181: cannot open input file 'cairo.lib' [C:\Users\Rick\Documents\GitHub\o-
plugin\n-ocpn_draw_pi\build\ocpn_draw_pi.vcxproj]

0 Warning(s)
1 Error(s)
Tried Cairo.lib in buildwin with all the other prerequisites.
Where should it go?
rgleason is offline   Reply With Quote
Old 06-06-2016, 15:22   #20
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
Re: ODraw - beta 1.1

Rick,
In my windows build environment the cairo.lib file is in my build directory. I have also put up patch 1.1.5 to fix a couple of windows build issues. I have now tried it out and it does work under windows 7.

Regards
Jon
jongough is offline   Reply With Quote
Old 06-06-2016, 18:28   #21
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
Images: 2
Re: ODraw - beta 1.1

Jon, 1 errror Undeclared....

Quote:
Build FAILED.

"C:\Users\Rick\Documents\GitHub\o-plugin\j-ocpn_draw_pi\build\ALL_BUILD.vcxproj" (default target) (1) ->
"C:\Users\Rick\Documents\GitHub\o-plugin\j-ocpn_draw_pi\build\ocpn_draw_pi.vcxproj" (default target) (3) ->
(ClCompile target) ->
C:\Users\Rick\Documents\GitHub\o-plugin\j-ocpn_draw_pi\src\ocpn_draw_pi.cpp(390): error C2065: 'PLUGIN_CATALOG
_NAME' : undeclared identifier [C:\Users\Rick\Documents\GitHub\o-plugin\j-ocpn_draw_pi\build\ocpn_draw_pi.vcxpro
j]

0 Warning(s) 1 Error(s)
rgleason is offline   Reply With Quote
Old 06-06-2016, 20:13   #22
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
Re: ODraw - beta 1.1

Rick,
I have just done a clone of the ocpn_draw_pi repository into a new directory, switched to the 'release_1.1' branch, copied cairo.lib, expat.lib and WXSVG.lib to the base build directory and opencpn.lib to the build/Debug directory. I ran 'cmake ..' followed by a build within VC2013 and it all worked OK.

I suspect that you have a 'partial' new version. The item that is missing is from when I modified the locale implementation to use only the ocpn_draw_pi to ensure translations worked as expected without picking up translations from mainline and other plugins.

Regards
Jon

PS: I have created a windows install for this. You can download it from dropbox: https://www.dropbox.com/s/rlcdgqr1so...win32.exe?dl=0
jongough is offline   Reply With Quote
Old 07-06-2016, 10:53   #23
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
Images: 2
Re: ODraw - beta 1.1

Jon did.
Quote:
1.clone of the ocpn_draw_pi repository into a new directory,
2. Switched to the 'release_1.1' branch, -- git checkout release_1.1
3. Copied cairo.lib, expat.lib and WXSVG.lib to the base build directory
4. Copied opencpn.lib to the build/Debug directory.
5. Ran 'cmake -T v120_xp ..' followed by a build within VC2013
and it all worked OK.
Jon was this in order to run the plugin in MSVC++ Debug mode?
Did you do the clone inside of the OpenCPN repository at
C:\..\GitHub\OpenCPN\plugins , for example?

What I just did to build the plugin independently:
1. Removed my old ocpn_draw directory.
2. Cloned the ocpn_draw_pi repository into a new directory,
3. Expanded the OpenCPN-Buildwin.7z into the buildwin directory.
4. Switched to the 'release_1.1' branch, -- git checkout release_1.1
6. Made a new "build" directory
5. Copied cairo.lib, expat.lib and WXSVG.lib to the base 'build' directory
7. Copied opencpn.lib for Opencpn v4.2.0 to the 'build' directory.
8. Using command prompt from the 'build' directory
8. Ran 'cmake -T v120_xp ..'
9. Ran 'cmake --build . --config release
10. Ran 'cpack'
It compiled with no errors.
PS tried Opencpn.lib from v4.2.1724 and it had errors.
rgleason is offline   Reply With Quote
Old 07-06-2016, 11:08   #24
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
Images: 2
Re: ODraw - beta 1.1

Nice.

Made a bunch of Guard Zones...
When I zoom in one goes missing for some reason...
This is with Opengl on and off...

--Should I test anything else? Alarms aren't implemented, so I can't test those. These sectors work very nicely.

--PS using O v4.2.1 recent. Downloaded your installer fine, but since I could build it, I installed the one I built.
Attached Thumbnails
Click image for larger version

Name:	Guard Zones.jpg
Views:	128
Size:	50.3 KB
ID:	125717   Click image for larger version

Name:	Guard-Zones-Zoom-One-missing.jpg
Views:	144
Size:	91.6 KB
ID:	125718  

rgleason is offline   Reply With Quote
Old 07-06-2016, 11:15   #25
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
Images: 2
Re: ODraw - beta 1.1

Jon, I found a little problem you can fix.
Once you are in the Guard Zone, you can't get out of it and pick one of the other toolkit objects.
rgleason is offline   Reply With Quote
Old 08-06-2016, 11:00   #26
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,982
Re: ODraw - beta 1.1

Hello Jongouh,

I am at sea for the summer here in the northern hemisphere. Aujourd'jui and yesterday we used OpenCPN 421,724 and Draw 10 to set up alerts with Watchdog. The crew enjoyed this tool.

I saw amazing areas in a post of Rick. Will I get a windows version of the latest version 11 Draw?

I tried to install the version 1.1.5 that I saw in a previous post. The installation was not successful with either O 4.2 or with 4.2.1724. Draw does not appear in the list of plugins in the O options

Best regards. Gilletarom
Gilletarom is offline   Reply With Quote
Old 08-06-2016, 15:33   #27
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
Re: ODraw - beta 1.1

Rick,
The GZ tool should work the same as the others, i.e. before dropping the first point with a left click the right click will cycle through the tools. After dropping the first point a left click with complete the current GZ and allow you to draw another, a right click will terminate the current drawing and will leave you with no tool selected. After the second left click a right click will deselect the tool. You should also be able to use the mouse to deselect the tool, one drawing starts, and you should be able to use 'Esc' to also terminate the drawing.

Once you start drawing it is not possible to select another tool until you have completed using the current tool. So all the other tools are greyed out in the floating toolbar to indicate this. This stops issues where a user starts to use another tool before completing using the first tool.

Regards
Jon

Quote:
Originally Posted by rgleason View Post
Jon, I found a little problem you can fix.
Once you are in the Guard Zone, you can't get out of it and pick one of the other toolkit objects.
jongough is offline   Reply With Quote
Old 08-06-2016, 19:07   #28
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
Images: 2
Re: ODraw - beta 1.1

Jon,
Of course you are right. I had not hit "Escape" !!! to get the other object types un greyed.

Thank you.
rgleason is offline   Reply With Quote
Old 08-06-2016, 19:26   #29
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
Re: ODraw - beta 1.1

Rick,
I have tried to get a GZ to dissapear on zoom and scroll but I have not managed it. I have tried under Linux and Windows 10, but, for me it is working OK.

For a GZ to display you need to have at least one point on the screen. There are points at the centre of the boat and each corner of the sector (these are not OD points as there are only two of these, but logical points used to render the segment). There will be an issue if you draw a LARGE sector, i.e. a big angle between the bounding lines) and these two points AND the boat are not displayed on the screen. But I do not know of users are going to draw that type of zone, it does not really make much sense to me, but..... Anyway, this beta is to find out what users really want in the way of a GZ.

I would like to make sure that the GZ's work the way that seems 'natural' to users, i.e rotate with boat or not and follow the COG or HDG. When a few more people have tested/used the GZ's then I will look at making the alarm work with it (it may have to be another alarm type in Watchdog, don't know yet).

Jon
Quote:
Originally Posted by rgleason View Post
Nice.

Made a bunch of Guard Zones...
When I zoom in one goes missing for some reason...
This is with Opengl on and off...

--Should I test anything else? Alarms aren't implemented, so I can't test those. These sectors work very nicely.

--PS using O v4.2.1 recent. Downloaded your installer fine, but since I could build it, I installed the one I built.
jongough is offline   Reply With Quote
Old 08-06-2016, 19:54   #30
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
Images: 2
Re: ODraw - beta 1.1

Jon, Just realized that I need to test it by running VDR so the guard zones move with the boat. Thanks.
rgleason is offline   Reply With Quote
Reply


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
Beta Test / Technical bdbcat OpenCPN 2866 Today 12:49
Beta Marine Diesel michaelmrc Engines and Propulsion Systems 48 23-03-2016 13:44
Winmor (Virtual TNC) Software Out on Beta Testing for WL2K Hamsailor Marine Electronics 2 13-10-2009 21:33

Advertise Here


All times are GMT -7. The time now is 22:15.


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.