I am working on a project that has several similar code paths that I would like to separate from the main project in plugins. The project should remain cross-platform compatible, and all the dynamic library loading APIs that I learned are platform specific.
What is the easiest way to create a dynamic library loading system that can be compiled and run on multiple operating systems without additional code modifications? Ideally, I would like to write one plugin and work on all the operating systems supported by the project.
Thanks.
c ++ plugins portability shared-libraries dynamic-loading
jakogut
source share