Hey all, I'm running into a minor snag with distributing a plugin I've written. It works perfectly on all of my machines, but all of my machines have Visual Studio installed. Also, when I build on Linux or MacOS, there's no problem. But, when I build on Windows, and try to load the plugin on a machine that doesn't have VS, I get the following error:
Error: Unable to dynamically load : C:\Program Files\Autodesk\Maya2014\bin\plug-ins\XXX.mll The specified module could not be found. XXX is my module name, could be anything. The research I've done says that this is a missing library somewhere. It should be noted that I have no control over the target systems (they're at a school where I teach), but I've noticed that a few of my commercial plugins work fine, so it shouldn't be a missing dependency. I'm guessing that I'm missing something in the build process. At first I thought it was that I was building in Visual Studio 2012, but I've switched to building in 2010 and I have the same issue. One thing I did try was installing the VC10 runtime, but it made no difference. I've tried using DependencyWalker and it looks like it's not finding the OpenMaya library. However, it works perfectly on all of my development machines, so I'm not sure what the issue could be. I also tested on a friend's laptop that didn't have restrictions, and it got the same error as I get at the school. The only thing I can think is that this is some switch I've forgotten to check in Visual Studio. Any ideas? Thanks, Joe -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAM33%3Da7Sd42QLNAgNjuopQ%3Dkid2_q0UmpXh7w93QvMOLzsMa_g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
