MAYA compile and install third-party libraries

Download the source code library

The packet is marked red source

 https://pypi.org

Maya obtain the corresponding version of the package devikit

I use the 2018

 https://www.autodesk.com/developer-network/platform-technologies/maya?_ga=2.197515945.725087356.1578820079-602794860.1540916958

The corresponding file folder is copied into the folder maya

The corresponding folder

maya directory

Maya obtain the corresponding version of VS (this is my maya2018 version)

Here Insert Picture Description

Compiled libraries

Here Insert Picture Description

管理员运行

编译源码:

CMD命令 : "C:\Program Files\Autodesk\Maya2018\bin\mayapy.exe" "源码目录" setup.py  build_ext -I   "C:\Program Files\Autodesk\Maya2018\include\python2.7" -L "C:\Program Files\Autodesk\Maya2018\lib"

安装编译后的版本:

CMD命令:"C:\Program Files\Autodesk\Maya2018\bin\mayapy.exe" "源码目录" setup.py build install
Published an original article · won praise 0 · Views 35

Guess you like

Origin blog.csdn.net/tiger_666/article/details/103947532
Recommended