Yeah, that happened to me too while working on Qt applications , not Maya related. Visual Studio always needs to be connected to their dlls, but you have to find a way so that it doesn't need to be connected. I think you could just ask in a general c++ stack overflow forum. There are plenty of solutions there, for sure.
-- Lidia 2015-02-23 19:58 GMT+01:00 Justin Israel <[email protected]>: > I don't have any experience with compiling Maya plugins with Visual > Studio, but as a random guess it sounds like it isn't actually linking > against Maya? I wouldn't think you would need the VS runtime on the target > machine, if it is just going to link against Maya. Maybe I am totally > wrong. > > On Tue, 24 Feb 2015 7:50 AM Joe Weidenbach <[email protected]> wrote: > >> 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 >> <https://groups.google.com/d/msgid/python_inside_maya/CAM33%3Da7Sd42QLNAgNjuopQ%3Dkid2_q0UmpXh7w93QvMOLzsMa_g%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- > 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/CAPGFgA3h7enYqzeh7zoRPAdnoemUB7E%2Bu%3DkBOb%3DtMQOyHcQ91g%40mail.gmail.com > <https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA3h7enYqzeh7zoRPAdnoemUB7E%2Bu%3DkBOb%3DtMQOyHcQ91g%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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/CAAB1%3D8zj%3DKOYejgh7hafdKBYa0KEdGbJk5Nfui75q%3DJ2aJv2vA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
