Congratulation!, you managed to compile your dissector.This is neither a Wireshark nor a library problem. Each dissector should have a public symbol *version* like this:
extern "C" G_MODULE_EXPORT gchar version[30] = "none";Add it to your dissector, set an appropriate value and make sure it has no C++ decoration.