Hey, all. I’m trying to load a Ruby extension compiled as .dll (aliased through the .so extension). I used the example found as a basis within the SDK, and this worked great until I began linking a few Qt libraries.
In a nutshell, the Qt libraries depend on .dll files, and every time I try to load the extension through the Ruby console, this message pops out:
LoadError: 126: The specified module could not be found. - C:/ProgramData/SketchUp/SketchUp 2015/SketchUp/Plugins/my_extension.so
So far, I’ve tried things like setting the RUBYLIB environment variable, as well as placing the .dll dependencies in the location provided by echoing
bindir => C:/Program Files (x86)/SketchUp/SketchUp 2015/Tools/bin
Creating the bin/ directory in the Tools folder and placing the dependencies there didn’t yield any results either.
Any advice on this?