Just to re-empathize, the Github master branch is our development code sharing repo. OpenCPN
is an open project, and you are absolutely free to build from that if you want. But expect all sorts of crazy things to happen, including crashes, your computer freezing and big hairy monsters eating your hard disk. In real life this means: Don't do it, unless you are involved in the current
development phase (to which you and everyone else are very welcome, of course, if you can and want to contribute!)
If you want to build stuff that has been somewhat tested and has a higher chance of actually working, build from the release branches/tags. (Right now this means 3.0.0 as no 3.1 beta has yet been tagged)
And BTW, if you want your plugins to work with current
master, you can check the code how it is done for dashboard and grib, and change them the same way. But that way will change in the coming few days, and you will have to change again. That's life on the development edge..!