@paul I'm kind of curious about VST development, it seems like a fun way to get into some DSP stuff. Should I just start going through JUCE tutorials? You seem like you would have opinions here.
@jcmorrow A great question! If you are on linux/osx, you can use libdl, and make calls to things like dlopen and dlsym. dlopen(3) has some sample code: https://www.man7.org/linux/man-pages/man3/dlopen.3.html
I also quickly found some more sample code that includes both the shared object code and the thing loading that code as well: https://gist.github.com/tailriver/30bf0c943325330b7b6a
Here's another one, with Makefiles: https://github.com/cirosantilli/cpp-cheat/tree/81ab30c55634db24216e89ada1e0f271cac074e7/shared-library/basic
I haven't tried any of these, but at least one of them ought to work.
When compiling with gcc/clang, you'll need to compile the shared object library with the flags "-fPIC" and "-shared".
If you're on Windows, I can't help you too much, but maybe WSL or msys2 could do this?
@paul Ok cool, I'm on Mac mostly, so one of those should work for me. I will investigate!
Merveilles is a community project aimed at the establishment of new ways of speaking, seeing and organizing information — A culture that seeks augmentation through the arts of engineering and design. A warm welcome to any like-minded people who feel these ideals resonate with them.