Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 23-12-2017, 14:44   #61
Registered User

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

Quote:
Originally Posted by rgleason View Post
Hakan, Suit yourself. I have no idea what you mean by "normal user build"
Using my English I was trying to refer to someone using the tools mentioned on our wiki. VS2013, wxWidgets. 3.0.2 and so on.

Social activities for me a day or two now.
Merry Christmas or Seasonal Greetings to all of you.

Håkan
__________________

Hakan is offline   Reply With Quote
Old 23-12-2017, 19:32   #62
Registered User
 
rgleason's Avatar

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

Jon, very sorry about that. Maybe jzip is not a good way and it was corrupted? Do you want me to try 7-zip? If you'd like? I will remove the jzip version.

On the plugin front, I learned yesterday, that if a plugin is acting improperly, remove the entire Build directory and then run cmake -T v120_xp .. which makes sure that all the files are fresh, OR even better use
Quote:
cmake -Wno-dev -G "Visual Studio 12 2013" -T "v120_xp" -D CMAKE_CXX_FLAGS=/MP -D CMAKE_C_FLAGS=/MP ..
which is from TDan's BATCHUTILS via Stelian who really helped figure the problem out... His compiled version of weather_routing would Edit Polars, but mine would not, although it compiled fine and installed.
I checked everything MSVC++ compiling, scrubbed the local repos and started over, checked Norton Security, etc. Until I ran that versionn of Cmake, I always had the problem. What a lot of head scratching!

Quote:
I have copied your zip files, thanks. But trying to use it I get lots of warnings and a few errors, I am chasing them down. It appears that VS 2017 and wxWidgets 3.0.2 don't get along very well.
Still fighting with getting really working images (virtual windows 7 & 10 with VS 2017 & 2015) so it is taking longer than normal to sort out some of the issues. Regards
Jon
__________________

rgleason is offline   Reply With Quote
Old 23-12-2017, 23:42   #63
Registered User

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

Hi Gilletarom,
I have found and fixed the problem with the ODPoint Icon increasing in size continuously. It only happened in non-OpenGL and when the 'Chart Object scale factor' was not zero, it was doubling the scale factor on every draw. This is fixed in patch 1.4.41.

Still looking at the toolbar issue. It does not seem to happen in Linux but I have reproduced it in Windows. Again, it seems to be something to do with 'Enabled Scaled Graphics interface' not being zero, but this is a little harder to track down. The icon scaling is controlled by OCPN telling the plugin what the scale factor is. Something is saying it is very small, hence the lack of icons.

Jon

Quote:
Originally Posted by Gilletarom View Post
hello JonGough,

1° With RGleason version, no crash with OCPN 4.8 when I change language.

2° Same problem than Hakkan with the Draw toolbar. Icons are invisible. See screenshot.

3 ° If I use the last tool that was used with DRAW previously, ie "Boundary", I have a strange phenomenon. The mark icon appears and then enlarged to the point of occupying a large part of the screen. See screenshot.
jongough is offline   Reply With Quote
Old 24-12-2017, 04:40   #64
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 4,569
Re: OCPN Draw 1.4 available

All,

wxWidgets has hard coded tests for the version of the VS compiler. These tests assume there will never be a newer compiler than when wx was released. So using VS2017 with an older version of wx requires some manual editing of the wx sources.
transmitterdan is offline   Reply With Quote
Old 24-12-2017, 23:24   #65
Registered User

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

Hi,
I 'think' I have it working now with wxWidgets 3.0.2 and VS 2017. I followed these instructions:
https://forums.wxwidgets.org/viewtop...163676#p163676
re changing three file and changed wxWidgets-3.0.2/include/wx/compile.h (add:
#elif __VISUALC__ < 2000
/* There is no __VISUALC13__! */
# define __VISUALC14__
at line 56)
This allowed me to compile and run.

Now perhaps I can test to see if I can find the ODToolbar issue.

Jon
jongough is offline   Reply With Quote
Old 25-12-2017, 01:56   #66
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,548
Re: OCPN Draw 1.4 available

Hello Jongough,
Quote:
Originally Posted by jongough View Post
Hi Gilletarom,
I have found and fixed the problem with the ODPoint Icon increasing in size continuously. It only happened in non-OpenGL

Jon
Are you shure ? My PC is OpenGL ON.

And incidentally, or mainly, if Christmas is a holiday for you, then merry christmas to you.

Gilletarom
Gilletarom is offline   Reply With Quote
Old 25-12-2017, 21:03   #67
Registered User

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

Hi Gilletarom,
And the seasons greetings to you.

I think I found the issue with the OD Toolbar not showing the icons which I have fixed in patch 1.4.42. I have tried this out on Win 10 using wxWidgets 3.0.2 compiled using VS 2017. For me it seems to work. Can you please try it out and let me know how it goes. Can you also double check the settings for OpenGL, "Enable Scaled Graphics Interface" and the 'User Interface scale factor" and "Chart Object scale factor"?

Thanks
Jon
jongough is offline   Reply With Quote
Old 25-12-2017, 22:56   #68
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,548
Re: OCPN Draw 1.4 available

Hello JonGough
Quote:
Originally Posted by jongough View Post
Hi Gilletarom,
...... I have fixed in patch 1.4.42. ......Can you please try it out and let me know how it goes. ....
Jon
Try ... try ... why not ...But here there is only 1.4.40. Where is 1.4.42 ?
https://github.com/jongough/ocpn_draw_pi/releases
Gilletarom is offline   Reply With Quote
Old 25-12-2017, 23:21   #69
Registered User

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

Hi Gilletarom,
The patch is in git, but I have not made an installable yet. I can try, but I have been fighting windows 10, VS 2017, Cmake 3.10, wxWidgets 3.0.2, all of which have been making it difficult to test under windows. I have done the testing but I have not generated a package installable yet. I am trying, but it may or may not work for you. If you can compile the plugin yourself you should be able to test the fix.

Regards
Jon
jongough is offline   Reply With Quote
Old 26-12-2017, 00:47   #70
Registered User

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

Jon..
Win10 VS2013 and OD 1.4.42
Now are the tool bar icons fine again, see pict. Very good.

Gilletarom...
If you like I've a Win binary package here: https://www.dropbox.com/s/a5thqj6k36...win32.exe?dl=0

Håkan
Attached Images
 
Hakan is offline   Reply With Quote
Old 27-12-2017, 14:55   #71
Registered User

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

Hi Håkan,
I have tried your 1.4.42 and it works fine for me. I have created my own version and it does install but it will not load, not sure why, but my setup, whilst good enough for testing, is not good enough to generate packages. Still looking into it, but....

Regards
Jon
jongough is offline   Reply With Quote
Old 27-12-2017, 15:02   #72
Registered User
 
rgleason's Avatar

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

Hakan, this morning I tried it and it works too.
rgleason is offline   Reply With Quote
Old 27-12-2017, 17:44   #73
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 4,569
Re: OCPN Draw 1.4 available

Latest OD git master builds ok and runs with O 4.8.0 latest git master. Good job everyone.
transmitterdan is offline   Reply With Quote
Old 27-12-2017, 17:44   #74
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 4,569
Re: OCPN Draw 1.4 available

p.s. I built for Raspberry Pi and Windows.
transmitterdan is offline   Reply With Quote
Old 27-12-2017, 23:43   #75
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,548
Re: OCPN Draw 1.4 available

Hello,
Quote:
Originally Posted by Hakan View Post
....

Gilletarom...
If you like I've a Win binary package here: https://www.dropbox.com/s/a5thqj6k36...win32.exe?dl=0
Håkan
Hakkan : Thank for the package.
Jon: After installing the Hakkan package, my quick tests show that the two bugs that Hakkan and I reported were resolved.

That said, I drew a boundary and went to the boundary manager to hide this boundary. The boundary and the internal grid no longer appear but the points that delimit the boundary remain visible.
This happens if the item "Show zone boundary point icons" is checked. It seems to me that this was so before.

Is this intentional or is it a small bug?
Attached Thumbnails
Click image for larger version

Name:	2017-12-28-Draw_Boundary_0.jpg
Views:	28
Size:	303.4 KB
ID:	161130   Click image for larger version

Name:	2017-12-28-Draw_Boundary_1.jpg
Views:	30
Size:	219.6 KB
ID:	161131  

Click image for larger version

Name:	2017-12-28-Draw_Boundary_3.jpg
Views:	28
Size:	189.9 KB
ID:	161132  
__________________

Gilletarom is offline   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 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 12:02.


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.