plugin development. I'am following this tutorial from opencpn
to learn how to develop a plugin (https://opencpn.org/wiki/dokuwiki/do..._build_windows
I did all the steps and a generate the plugin. The problem is when i try to add it to OCPN 5.0.0 it does not work
. I move the DR_pi.dll to the plugins folder and it does not appers in the software's plugins tab. I tried to use it in a old version of the OCPN 4.4.0 and an compatibility error shows up when i open the plugins tab.
I'am using the windows 10, Visual Studio 2015 and the CMAKE V3.15.0-rc1 to build the tutorial project
1 - I did the download of the missing resources:
- wxWidgets-3.1.2 (Latest version at the time)
- opencpn.lib (from the tutoral page)
- DR_pi project
2 - I did the configuration of the CMAKE, generate the visual studio project and add the opencpn.lib to the build folder. During this step i realize that the visual studio libraries for wxwidgets were missing. Then, i did the download of them from wxwidgets website:
3 - I open the project on VS2015 and i add the opencpn.lib to the additional dependencies:
4 - After the deployment of the plugin, i add it to OpenCPN5.0.0 plugins folder and launch the software
. The plugin does not shows on plugins TAB. I tried to use different version of the opencpn.lib and nothing:
I even tried a diffrent version of VS wxwidgets and nothing...
When i open this plugin on the opencpn 4.4.0 this errors occurs:
which is expectable once it is a old version and the wxwidgets is the new one.
i'am running out of solutions....
What am i doing wrong? Can you help me?