tags:

views:

72

answers:

3

hello

Are there any popular open-source plug-in architectures for C++, which allowed discovering and loading shared object plug-ins during runtime or at startup via some sort of descriptor file? I had some experience with eclipse architecture, but I would like something easier than osgi bundles

Thank you

+1  A: 

Qt (http://qt.nokia.com/) has a plugin architecture it's cross platform and open source for non commercial apps. It may be what you're after, if not some more details would be good.

hth

daven11
do you know if it's usable as a stand-alone library, or do I have to have QT runtime?
aaa
I would imagine it is part of the whole package. I haven't tried to separate it out
daven11
+1  A: 

Boost Extension may be useful here, though I don't believe it has been accepted into Boost yet.

Sam Miller
+3  A: 

The yet in progress Boost.Extension and the C (not C++) portable GNU Libtool module come readily to mind. There was even an idea for a C++ standard plugin handling library, maybe you could check it out in search for solutions - WG21 N2015

For a simple implementation of portable synamic library loading you can also check out the OGRE rendering engine, particulary the DynLib and DynLibManager classes.

Kornel Kisielewicz