Mercurial > hg > vamp-plugin-sdk
diff vamp-sdk/PluginAdapter.cpp @ 194:27cfae2a4155
* Make summarising adapter debug optional
* Tidy up template generator output a bit
* Clarify an error message
author | cannam |
---|---|
date | Tue, 30 Sep 2008 13:24:41 +0000 |
parents | d4fbd4e6fdbf |
children |
line wrap: on
line diff
--- a/vamp-sdk/PluginAdapter.cpp Mon Sep 22 13:40:00 2008 +0000 +++ b/vamp-sdk/PluginAdapter.cpp Tue Sep 30 13:24:41 2008 +0000 @@ -162,12 +162,13 @@ if (plugin->getVampApiVersion() != VAMP_API_VERSION) { std::cerr << "Vamp::PluginAdapterBase::Impl::getDescriptor: ERROR: " - << "Plugin object API version " - << plugin->getVampApiVersion() - << " does not match actual API version " - << VAMP_API_VERSION << std::endl; - std::cerr << "(Plugin identifier is: " - << plugin->getIdentifier() << ")" << std::endl; + << "API version " << plugin->getVampApiVersion() + << " for\nplugin \"" << plugin->getIdentifier() << "\" " + << "differs from version " + << VAMP_API_VERSION << " for adapter.\n" + << "This plugin is probably linked against a different version of the Vamp SDK\n" + << "from the version it was compiled with. It will need to be re-linked correctly\n" + << "before it can be used." << std::endl; delete plugin; return 0; }