2 #include <cpPlugins/Interface/Plugins.h>
4 int main( int argc, char* argv[] )
6 // Create interface and load library
7 cpPlugins::Interface::Plugins::Pointer interface =
8 cpPlugins::Interface::Plugins::New( );
11 interface->LoadEnvironments( );
12 interface->GuessPlugins( );
14 catch( std::exception& err )
16 std::cerr << "Error caught: " << err.what( ) << std::endl;
21 // Show data and finish
22 interface->Print( std::cout );