Replies: 9 comments
-
|
Thanks @rgleason . I'll take a look. I think wxWidgets should potentially be included in opencpn-libs. I've asked about that here: |
Beta Was this translation helpful? Give feedback.
-
|
Worthwhile asking the question, but it is complex, because there are multiple OS builds with some of them using different wxWidgets, this makes putting wxWidgets into opencpn-libs evern bigger because multiple versions are needed. It will be interesting to see what they say about this idea. |
Beta Was this translation helpful? Give feedback.
-
|
@rgleason @sebastien-rosset It's still not clear to me why we have so many different and often incompatible ways of building OpenCPN and it's plugins. For example, why do we use different versions of wxWidgets on different platforms? Surely we could pick one version (e.g. 3.2) and use that across the board? I can image perhaps needing different patches for different platforms, but that's a slightly different matter, and fairly easily solvable. So here's a strawman proposal for y'all to shoot down.
C'mon, shoot me down :-) |
Beta Was this translation helpful? Give feedback.
-
|
Quinton, tonight I don't want to get into this discussion. I have other things I am trying to accomplish. I will read your comment later. BTW Look at https://github.com/rgleason/weather_routing_pi/tree/improve see all the green checks? If you watch and learn how the system works, perhaps you'll come up with some other suggestions as well. |
Beta Was this translation helpful? Give feedback.
-
|
Quinton, BTW the merge all built pretty fast https://github.com/rgleason/weather_routing_pi |
Beta Was this translation helpful? Give feedback.
-
hmm, personally I don't really have the appetite to propose such a change to the maintainer community. In order to make such a proposal, IMHO the submitter who is going to do the work needs to have a very detailed understanding of all the build intricacies across all supported platforms, and proven experience in the area of OpenCPN build maintenance. I'm not in that place now, and out of respect for the maintainer time, I'm mindful of how much time they would have to spend on this. That's just my personal position. |
Beta Was this translation helpful? Give feedback.
-
|
That makes a lot of sense. If the maintainers like it the way it is, and don't think it needs to be changed, who am I to question that. I do think it would be useful for the people actively working on this particular plugin (i.e. us) to make it's build process work correctly on at least Windows, Linux and Macos, on both dev machines and ci pipelines, without unnecessary duplication and manual hacking (i.e. the clean 'CMake && make' process we've discussed before). Now that i understand the maintainer position on this (or at least Pavel's), I think I can make some progress on that. |
Beta Was this translation helpful? Give feedback.
-
|
Quinton, I for one am always interested in improving the process. So keep an open mind and help us streamline what is a moving parts operation. Your experience and knowledge about these aspects should help. Keep in mind that we are right now building for 16 different OS (and variations). That is down from 21, so perhaps we are gaining. Also circleCI is updating its process on a regular basis, so changes to the scripts are needed when certain builds no longer complete. If you could establish and maintain a definitive approach or script for building MacOS locally, that would be a big gain. Windows is fortunate to have TransmitterDan providing that for MS Visual Studio 2022. Of course Linux has so many flavor and libraries, that it requires 6 builds right now, and then flatpak came along to try to simplify things and we now have 4 flatpak builds. Of course this is expanded because we have different machine architectures. It is not simple and never will be, but it can be improved. I personally don't see any so called hacking being done, but I am not as involved with MacOS locally. We have a circleCI script which I have sent you. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
@quinton-hoole
Have you seen the latest windows bash script to build plugins? It might help.
But first I used TransmitterDan's Complete windows installation of MSVC 2022 which dramatically simplified by his script. The script downloads and builds wxWidgets and puts it into a folder named ocpn_wxwidgets That is the path this script uses:
https://github.com/rgleason/weather_routing_pi/blob/improve/bldwin-rdeb.sh
Everything gets built and the metadata is added to complete the tarball.
Beta Was this translation helpful? Give feedback.
All reactions