You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem occurs b/c OSX can't find libAnimX.dylib. The solution is to set the DYLD_LIBRARY_PATH variable. This is equivalent to the Windows PATH variable. Your system uses this variable to determine which directories to inspect for dynamic libraries.
After downloading sources and cd-ing into the directory with sources, here are the steps I used to build and run the library:
Now when you open the plug-in manager you should see AnimXPlugin.bundle. You should get no errors when clicking load. Assuming that all works out, you should be able to load the pyplugin.py file in the script editor. Once you run the file contents type testCurves().
That should do the trick.
Once you confirm this fixes your issue, I'll update the README.md to avoid confusion in the future.
I'm having trouble installing the plugin. Maya 2018 is saying it can't find libAnimX.dylib. What am I doing wrong?
// Error: file: /Applications/Autodesk/maya2018/Maya.app/Contents/scripts/others/pluginWin.mel line 290: Unable to dynamically load : /Users/lg3/BW_MCP/BW_LIB/MAYA/animx/AnimXPlugin.bundle
dlopen(/Users/lg3/BW_MCP/BW_LIB/MAYA/animx/AnimXPlugin.bundle, 1): Library not loaded: libAnimX.dylib
Referenced from: /Users/lg3/BW_MCP/BW_LIB/MAYA/animx/AnimXPlugin.bundle
Reason: image not found //
My Maya.env file is:
MAYA_PLUG_IN_PATH = $HOME/myCircleNode/build/Debug:$HOME/BW_MCP/BW_LIB/MAYA/animx
MAYA_SCRIPT_PATH = $HOME/myCircleNode:$HOME/BW_MCP/BW_LIB/MAYA/animx/scripts
XBMLANGPATH = $HOME/myCircleNode
Install location are:
/Users/lg3/BW_MCP/BW_LIB/MAYA/animx/./libAnimX.dylib
/Users/lg3/BW_MCP/BW_LIB/MAYA/animx/./AnimXPlugin.bundle
/Users/lg3/BW_MCP/BW_LIB/MAYA/animx/scripts/pydll.py
/Users/lg3/BW_MCP/BW_LIB/MAYA/animx/scripts/pyplugin.py
cmake_instal command:
cmake --install -DCMAKE_INSTALL_PREFIX=$HOME/BW_MCP/BW_LIB/MAYA/animx ..
I'd appreciate the help. thanks
The text was updated successfully, but these errors were encountered: