From what you write I asume you are trying to deveolp your plugin on Windows. You of course need the wx includes and libraries to link against, you also need the same toolchain as required to build OpenCPN
core to build your plugin.
Follow the instructions t
https://opencpn.org/wiki/dokuwiki/do...piling_windows (Please, try to save our time and do not take any shortcuts, simply follow them)
Then build OpenCPN - it will not only validate that you installed everything correctly, but will also give you a custom opencpn.lib in case you need a newer one than
https://downloads.sourceforge.net/pr...xp/opencpn.lib (which is good for building plugins compatible with OpenCPN 5.x)