As a relatively novice
programmer I am having trouble with my attempt at doing some plugin development. I have so far looked though some of the available plugins and have attempted to compile/build some plugins from their source code so that I can try changing things, recompiling, and testing.
Unfortunately haven't been able to successfully build any of the plugins I have tried. I am using VS 2013 (although I do have 2010 and 2015 installed) and installed cmake, poedit, NSIS, and the newest release of wxWigets.
I have not compiled or built the full openCPN project
but I downloaded the source code of this as well as multiple plugins which I placed into the plugins folder of openCPN
. I then create a build folder, copy in opencpn.lib (that I got off github) and do:
cmake --build .
cmake .. generally doesn't fail although it says the dependency opencpn does not exist.
cmake --build usually has multiple errors that dont make much sense such as (i am paraphasing as I dont remember the actual errrors) the operation ^= is arbitrary, or files not being found.
I'm wondering if its the compiler I am using is wrong or maybe I need to build openCPN first??
What should the steps be to compile/build the demo_pi_sample program for instance?