Installing plugin on Mac OS Maya 2018

Open
#2 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
cmake, cpp, macos

Research direction

Reproduce the Maya 2018 load using the reported Maya.env values and installation paths. Start at pluginWin.mel line 290 and inspect how AnimXPlugin.bundle resolves libAnimX.dylib; done means the plugin loads without the reported dynamic-library error.

Written by the indexing model from the issue text.

Description

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

Dominant language
C++
Stars
221
Forks
31
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Autodesk/animx

All issues in Autodesk/animx

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.