Currently the generated library will need to be placed in the same directory as the main executable. I have not done that, but this should show the basic ideas of loading libraries in C++ dynamically on all platforms.
This is more of a simple example, if you need a simple intro to see how you can implement a plugin architecture in C++.