MLL with shared .Lib errors

MLL with shared .Lib errors

Anonymous
Not applicable
328 Views
0 Replies
Message 1 of 1

MLL with shared .Lib errors

Anonymous
Not applicable

So I am trying to link a dll/lib into a pre-existing MLL plugin for Maya and am receiving this error

 

// Error: file: C:/Program Files/Autodesk/Maya2018/scripts/others/pluginWin.mel line 909: Unable to dynamically load : C:/.../Cache/frameCB/x64/Release/frameCB.mll
The specified module could not be found.
//
// Error: file: C:/Program Files/Autodesk/Maya2018/scripts/others/pluginWin.mel line 909: The specified module could not be found.
(frameCB) //

 

 

The MLL will load and run correctly unless I follow these instructions to link a dll

On Property Pages, go to C/C++->General->Additional Include Directories and provide the path, where the header file of the library that you want to use is located.

Then go to Linker->General->Additional Library Directories and specify the path, where your .lib file is located.

Finally, go to Linker->Input->Additional Dependencies and add the name of the file containing your library together with its extension (e.g. example_library.lib).

 

 

https://help.autodesk.com/view/MAYAUL/2017/ENU/?guid=__files_GUID_E7B113F2_5AFD_4C05_A747_298C065864...

I have compiled both solutions using VS 2017 under "Release". I tried to add a PATH variable to the dll directory to no avail. Then I dropped the DLL and LIB files into the /maya/bin/ folder but that didn't work either.

What are the steps to link a static library into a Maya MLL?

0 Likes
329 Views
0 Replies
Replies (0)