Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 12-03-2016, 05:32   #1
Registered User

Join Date: Jul 2015
Location: Plano, Texas
Posts: 68
wxwidgets 3.1 and vs15

Hi all,

Just an FYI. I downloaded the most recent wxwidgets-3.1.0 and built opencpn with it using VS15 using the V140 runtime, sdk 10, and .net 4.6. All seems to work. Someone that knows a lot more about wxwidgets than I do would have to decipher the changes made. A couple of interesting notes about all of that.

1. The current cmake files for opencpn do not copy the wxwidgets dll although that looks like the intention. You have to manually add them to your buildwin directory.

2. There are a lot of deprecated functions. I ignored them all and everything seems to work. It would seem that these probably need to be addressed at some point.

3. Wxwidgets now supports an x64 build. I tried that. The only change that had to be made to opencpn was one instance of an implicit cast to a pointer to a function. I changed that easily enough to an explicit conversion.

4. Related to an x64 build, I can't complete the build because I don't have x64 builds of expat, cairo etc. I looked at rebuilding those, but it looks like it would take a lot of time to figure out what and how to do that. If someone wants to rebuild those into x64 builds, I will be glad to continue the x64 effort. I have no idea if this is even work the time or effort, but generally things that do a lot of data manipulation or pixel pushing benefit from a true 64 bit build.

5. They claim better event handling and better openGL support. Don't know if that is actually true.

6. Related to VS15 and V140, microsoft changed the name of one of the two dll's need to be included in the wxwidget build. It took a bit, I finally found the new version in the redistribution and added it to buildwin and all is well.

7. Of course all the addons need to be rebuilt using the v140 libraries. I have rebuilt a few (draw, weather routing, climatology, watchdog iirc). No issues with any of those.

8. Widget 3.1 is still considered a development build, and is still changing, although I haven't seen many changes since it was released. I appears that 3.2 will be the next release for production.

9. 3.1 adds support for QT. I doubt that would be of much use to windows/mac/linux users, but may be useful for the android builders/users.

If I was road-mapping the next release of opencpn, I would wait on wxwidgets 3.2, but I would fix the deprecated functions against 3.1. As related to vs15, there is supposed to be a an update coming this spring that fixes a few annoying things in the IDE and some ancillary support stuff, but certainly vs15 is usable today. The only issue I would be concerned about is supporting users still on XP, but I believe (although I don't know for sure), that they can still run programs built with v140 and SDK 10 although they may need the latest redistributes from msoft.

Just wanted to pass this along in case someone else is thinking about going down this path. Not suggesting that opencpn needs to be on this path right away, but it something to think about.

Regards,
Doug
__________________

__________________
dwoodall is offline   Reply With Quote
Old 12-03-2016, 09:03   #2
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,398
Re: wxwidgets 3.1 and vs15

Would x64 Opencpn really improve on the rpi3?
__________________

__________________
rgleason is online now   Reply With Quote
Old 12-03-2016, 09:54   #3
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,777
Re: wxwidgets 3.1 and vs15

Doug,

the most recent version of wxWidgets is 3.1.1 and not 3.1.0. I use it it since a long time and it fixes several wxWigets bugs.

Gerhard
__________________
CarCode is offline   Reply With Quote
Old 12-03-2016, 13:26   #4
Registered User

Join Date: Jul 2015
Location: Plano, Texas
Posts: 68
Re: wxwidgets 3.1 and vs15

Hi Gerhard,

At wxwidgets.org the latest release is 3.1.0. Wasn't interested in the homebrew version.

Regards,
Doug
__________________
dwoodall is offline   Reply With Quote
Old 12-03-2016, 14:17   #5
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,777
Re: wxwidgets 3.1 and vs15

Doug,

have a look for commit #7eee3576cf473d20438f00b620995848644074d8 [7eee357] of https://github.com/wxWidgets/wxWidgets.git before you write any wrong things.

Gerhard
__________________
CarCode is offline   Reply With Quote
Old 12-03-2016, 15:30   #6
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,018
Re: wxwidgets 3.1 and vs15

Gerhard...
3.1.1 is the NEXT wxWidgets DEVELOPMENT release, please look at https://github.com/wxWidgets/wxWidgets/releases and/or Roadmap – wxWidgets if you are not sure which release was already completed and which is a work in progress. Yes, we know that you are always using the latest wxWidgets master code, but we already explained you several times that it is not feasible for OpenCPN project to do the same, so please don't start this again.

Thanks

Pavel
__________________
nohal is online now   Reply With Quote
Old 13-03-2016, 03:02   #7
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,777
Re: wxwidgets 3.1 and vs15

Quote:
Originally Posted by nohal View Post
Gerhard...
3.1.1 is the NEXT wxWidgets DEVELOPMENT release, please look at https://github.com/wxWidgets/wxWidgets/releases and/or Roadmap – wxWidgets if you are not sure which release was already completed and which is a work in progress. Yes, we know that you are always using the latest wxWidgets master code, but we already explained you several times that it is not feasible for OpenCPN project to do the same, so please don't start this again.

Thanks

Pavel
I know your situation, no need to explain it again and again. It is correct for Linux and Windows but not for Mac OS X where wxWidgets is still in development and far away to be stable and finished. A few days ago e.g. in wxWidgets 3.1.1 the old and outdated Carbon port was abandoned finally and the Cocoa port is now state of the art.
Gerhard
__________________
CarCode is offline   Reply With Quote
Old 13-03-2016, 07:01   #8
Registered User

Join Date: Jul 2015
Location: Plano, Texas
Posts: 68
Re: wxwidgets 3.1 and vs15

Quote:
Originally Posted by rgleason View Post
Would x64 Opencpn really improve on the rpi3?
I found the attached white paper interesting and may help answer the questions about rpi3/ARM8.

Here is the link https://community.arm.com/docs/DOC-8453

Regards,
Doug
__________________

__________________
dwoodall 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
wxWidgets 2.9.5 version changed to 3.0.0 CarCode OpenCPN 1 17-10-2013 14:03
wxWidgets Version 2.9 for OpenCPN (Experimental) bdbcat OpenCPN 8 06-06-2011 12:06
OpenCPN and wxWidgets 2.9 bdbcat OpenCPN 9 14-03-2011 23:51
Compatibility wxWidgets 2.9.0 and VC++ 2010 Netsurfer OpenCPN 4 31-05-2010 13:04



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

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


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.