MagnumPlugins libraries have no lib prefix #144
-
Greetings, it seems to me that magnum plugins libraries are not generated with lib prefix: FreeTypeFont.so, AssimpImporter.so etc. This causes problems with out build system which expects these to have lib prefixes. Regards |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
That's intentional, these are all put to subdirectories based on the plugin interface and without a lib prefix, as they're meant to be loaded dynamically at runtime using the plugin manager.
Linking and using dynamic plugins directly as if they were shared libraries is not supported, if you don't want to perform dynamic loading at runtime, you can build the library and the plugins as static, but you'll lose quite a bit of flexibility that way, and the dependency libraries will be loaded in memory even though given plugin never gets actually used. |
Beta Was this translation helpful? Give feedback.
That's intentional, these are all put to subdirectories based on the plugin interface and without a lib prefix, as they're meant to be loaded dynamically at runtime using the plugin manager.
Linking and using dynamic plugins directly as if they were shared libraries is not supported, if you don't want to perform dynamic loading at runtime, you can build the library and the plugins as static, but you'll lose quite a bit of flexibility that way, and the dependency libraries will be loaded in memory even though given plugin never gets actually …