Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 15-05-2019, 04:46   #16
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 5,180
Re: Mac plug-ins

Quote:
Originally Posted by RonSouthworth View Post
Per my PM Pavel,

Thanks Steve for the reply

Very short version from my experience....

Xcode needs to be 10.14.2 or later for compiling Dark Mode. Some dark mode stuff is finally sorted out in the framework in this latest update and it looks pretty good now...

Previous caused all sorts of stuff some crashing. I compile other stuff using qt and with that and the qt stuff sorted the code is rock stable and all the dark look.

To get the most compliant set up to dark mode the only way I could compile wxWidgets was to use ...

* 

* ../configure --with-cxx=11 --with-macosx-version-min=10.14* --disable-debug --with-macosx-sdk=/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk 

anything else and you have the light and dark merging or it simply does not produce a complete compiler library


once you get wxWidgets compiled so it builds everything.

What Pavel has explained is exactly what I have found as far as trying to build things.

The master branch for the app is pretty good atm. I am certain that will change after you guys have a long overdue rest so that is of course a caviet.

if you need someone to locally compile things for official builds in this interim point Pavel from what I have experienced that needs to be on an Elcapitan machine with Xcode 8 or 9.4 (depending on the open source project) I don't have that resource.

Wonder Steve how you compiled wxWigets the config options.

I have received some links just now that hopefully will explain the missing pice of my present puzzle.

Once I get clear of dealing with some personal stuff hopefully I will get it sorted and I will pass it on.

Ron
Please, try to follow the build instructions.
That is the only way forward shall we not have to deal with incompatible binary products confusing users.
My own machine is latest Mojave, using dark mode and always latest Xcode, currently 10.2.1. My OpenCPN has been nothing but black since e5e6a5f in January, so, believe it or not, I do know what I talk about, I do know that the instructions I have written on this very machine doing the builds and that are used building every single commit to the repository in the travis CI system do work...
I also do know that you do not need older macOS or older Xcode to produce OpenCPN able to work on older macOS because I do such builds all the time, both locally and using Travis CI, what you do need is to follow the build instructions.

Pavel
__________________

nohal is offline   Reply With Quote
Old 15-05-2019, 21:26   #17
Registered User

Join Date: Dec 2012
Posts: 73
Re: Mac plug-ins

Quote:
Originally Posted by nohal View Post
Please, try to follow the build instructions.

That is the only way forward shall we not have to deal with incompatible binary products confusing users.

My own machine is latest Mojave, using dark mode and always latest Xcode, currently 10.2.1. My OpenCPN has been nothing but black since e5e6a5f in January, so, believe it or not, I do know what I talk about, I do know that the instructions I have written on this very machine doing the builds and that are used building every single commit to the repository in the travis CI system do work...

I also do know that you do not need older macOS or older Xcode to produce OpenCPN able to work on older macOS because I do such builds all the time, both locally and using Travis CI, what you do need is to follow the build instructions.



Pavel

Thanks Pavel

As per my private message to you i wont repeat that for the sake of brevity.

I will follow the build instructions and advise if it successfully completes building the wXWidgets library.


/Ron
__________________

RonSouthworth is offline   Reply With Quote
Old 16-05-2019, 02:35   #18
Registered User

Join Date: Dec 2012
Posts: 73
Re: Mac plug-ins

Hi Pavel,

A follow up

What i have been experiencing i think is a Library issue.

I have been saying consistently that the library wont compile as specified.

That I have had to try an alternate config in order to get it to compile at all.

I have downloaded and reinstalled this library many times since December the 18.

Today I can tell you the library it is significantly different to the last time and previous times I have downloaded it . The last time was approx mid April.


Click image for larger version

Name:	IMG_5217.jpg
Views:	24
Size:	109.3 KB
ID:	192156


See the attached image.


Note:

Both are downloaded and unzipped zip’s from the offical git wxWidgets3.1.2 release repo and zip.

there are differences in the number of files and overall file size. There is no malicious code or source code embedded in the older version which is comforting.

Both folders are before running any compile scripts they should be identical in size and number of files.

The April 18 zip file will not compile with the opencpn directions on how to compile.

The one from today does!

No speculation as to why but there are plenty of reasons how such a thing can occur.


To a personal note because of what you have typed on the forum.

I have not at any stage inferred anything but the highest of esteem for the design team or yourself and that continues to be my position. I am not that sort of person.

Please never draw a conclusion or inference to anything different to this statement and approach my input or interest in this Project in the spirit intended and that is :

One of open collaboration, mutual respect and learning and understanding.

These qualities i am well respected for promoting at home and abroad.

all I ask that i be afforded the same courtesy and respect.

Finally I can say If anyone can get an obscure problem it will be me

The lesson for the day is,

if something is odd to check the checksum !



/Ron
RonSouthworth is offline   Reply With Quote
Old 16-05-2019, 04:47   #19
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 12,639
Re: Mac plug-ins

Ron, thanks for posting. I recall years ago having trouble downloading and compiling wxWidgets successfully, back when the programming team was just starting to support Windows. I think it was Pavel or Jasper sent me a prebuilt package finally. I attribute my initial troubles to the same kind of download problem and not having experienced enough to know that it was downloading incorrectly.
rgleason is offline   Reply With Quote
Old 16-05-2019, 11:22   #20
Registered User

Join Date: Apr 2018
Location: Las Vegas
Boat: Westsail 32
Posts: 31
Mac plug-ins

Interesting. Yesterday, I started from scratch, downloaded the wxWidgets 3.1.2 tar file, built and installed it. Then followed the instructions closely and successfully built Ov5.0, and a couple plugins.

I noticed a big difference. Previous iterations would only take plug-ins that I built myself. This one take ones I built (squiddio, open draw, climatology and weather routing) AND all the others I d/l from opencpn.org.

ALL WORKS!

The only issue I have is not all the icons in the nav bar are “dark mode”. One is WMM plug-in that was built with Ov5.0. There seems to be no real rhyme or reason as to which ones are correct and which ones aren’t.

I will say the version of weather routing I built off of Pavel’s repository is great. It’s fast and works better than the one I was using in O4.8.8.
Nereus32 is offline   Reply With Quote
Old 17-05-2019, 14:22   #21
Registered User

Join Date: Apr 2018
Location: Las Vegas
Boat: Westsail 32
Posts: 31
Re: Mac plug-ins

Quote:
Originally Posted by Nereus32 View Post
The only issue I have is not all the icons in the nav bar are “dark mode”. One is WMM plug-in that was built with Ov5.0. There seems to be no real rhyme or reason as to which ones are correct and which ones aren’t.
Oh I see. Those icons simply haven't been updated to match the tool bar color scheme yet... Duh...
Nereus32 is offline   Reply With Quote
Old 18-05-2019, 19:03   #22
Registered User

Join Date: Dec 2012
Posts: 73
Re: Mac plug-ins

ALL WORKS!

The only issue I have is not all the icons in the nav bar are “dark mode”. One is WMM plug-in that was built with Ov5.0. There seems to be no real rhyme or reason as to which ones are correct and which ones aren’t.

I will say the version of weather routing I built off of Pavel’s repository is great. It’s fast and works better than the one I was using in O4.8.8.

Good news



Hi Rick

And Steve.

There is a “joke” I claim ownership of when cloud computing first was touted as the “new thing”.

CLOUD sic ...
“Cannot Locate Our Users Data.”

I have seen issues like this before just not for a very long time.

Glad it has helped sort your problems, Steve.

Not a huge difference here the biggest noticeable is in the build sizes, they are slightly smaller. Stability is the same, which is really good.

The decodes of the plugins version and API version in the log here are the same.

The same bugs with wxWidgets stuff between OS.

Re the menu

Look at the how the menu icons states are worked out and how they reference the respective png/ svg.

I find when you load or update a library on startup you have to go to the plugin preferences that seems to force re indexing before the tab changes to the plugin window then you see what plugins are loaded and their state enabled disabled etc an ok and the menu redraws.

On subsequent startups the icons shift not to how you order them in preferences.

Linux doesn’t seem to do that. Windows don’t know.
RonSouthworth is offline   Reply With Quote
Old 20-05-2019, 00:02   #23
Registered User

Join Date: Dec 2012
Posts: 73
Re: Mac plug-ins

Quote:
Originally Posted by RonSouthworth View Post
ALL WORKS!

The only issue I have is not all the icons in the nav bar are “dark mode”. One is WMM plug-in that was built with Ov5.0. There seems to be no real rhyme or reason as to which ones are correct and which ones aren’t.

I will say the version of weather routing I built off of Pavel’s repository is great. It’s fast and works better than the one I was using in O4.8.8.

Good news



Hi Rick

And Steve.

There is a “joke” I claim ownership of when cloud computing first was touted as the “new thing”.

CLOUD sic ...
“Cannot Locate Our Users Data.”

I have seen issues like this before just not for a very long time.

Glad it has helped sort your problems, Steve.

Not a huge difference here the biggest noticeable is in the build sizes, they are slightly smaller. Stability is the same, which is really good.

The decodes of the plugins version and API version in the log here are the same.

The same bugs with wxWidgets stuff between OS.

Re the menu

Look at the how the menu icons states are worked out and how they reference the respective png/ svg.

I find when you load or update a library on startup you have to go to the plugin preferences that seems to force re indexing before the tab changes to the plugin window then you see what plugins are loaded and their state enabled disabled etc an ok and the menu redraws.

On subsequent startups the icons shift not to how you order them in preferences.

Linux doesn’t seem to do that. Windows don’t know.


Just a followup on Linux downloaded the source for wxWidgets3.1.2 this afternoon

same issue with the library

recompiling everything....
__________________

RonSouthworth is offline   Reply With Quote
Reply

Tags
plug

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
Status of the OCPN plug-ins bcn OpenCPN 0 25-01-2015 02:35
Building O's plug-ins with Codeblocks on Ubuntu dave777 OpenCPN 13 10-07-2014 16:02
Plug Ins for Mac OSX kas_1611 OpenCPN 40 30-03-2014 07:51
Plug-ins and ".pot" Gilletarom OpenCPN 2 01-06-2011 13:39
Is There an "Plug Ins for Dummies" Guide? Tom.B OpenCPN 6 22-04-2011 15:24



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

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


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.