Custom scoring plugins require the getVersion function.
You must include the following:
const char *getVersion();return char * contains a null terminated string that describes the plugin version.
Implement this function by storing the plugin version number in a static string and return a pointer to the string's base pointer.
myPlugin.h includes the following:
class MyPlugin { public: static const std::string mVersion; }; myPlugin.cpp includes the following const std::string MyPlugin::mVersion = std::string("1.0"); const char *getVersion () { return MyPlugin::mVersion.c_str(); }