I am having an issue with dynamically linking with a couple of Boost’s libraries. Specifically, libboost_system and libboost_filesystem for use in a boost::asio based HTTP library. I am attempting to compile AU, VST, and VST3 files. The project compiles completely fine, but I can not load the VST or AU in REAPER. It does not even show up in my plug-in library. I deduced that it might be an issue with the dylibs for the boost library not existing in a place that the executable can find them. So, I tried copying the files into the application package and running these commands to change where the executable looks for them.
install_name_tool -change libboost_filesystem.dylib @rpath/../Frameworks/libboost_filesystem.dylib MyVST install_name_tool -change libboost_system.dylib @rpath/../Frameworks/libboost_system.dylib MyVST
And verifying it using
otool -L MyVST
while I am in the directory of MyVST. Even after doing this it would still not register as a VST. The same thing happened with AU. I also tried to statically link in those two libraries and it registers a large number of syntax errors in the Boost libraries related to standard library methods needing to be statically linked in. I am not sure where to really look to debug this issue any further. Anybody have any clue as to what is going on?