sonictk / maya_python_c_extension

An example of how to create a Python C++ extension for use in Maya
MIT License
41 stars 9 forks source link

Can't build with Devkit #2

Open mottosso opened 3 years ago

mottosso commented 3 years ago

In the tutorial you point out that one could/should use the Maya devkit, but as it happens you actually can't.

The devkit includes the same header files and most library files, but excludes the Python library files, namely python27.lib on Windows and libpython27.so on Linux. These are only accessible from a complete install of Maya.

Figured I'd document this here for Googler's finding their way, since this seems to be just the only complete resource on building Python extensions for Maya.

sonictk commented 3 years ago

Ah, I should probably clarify that the static library is part of the Maya install rather than the devkit itself. Thanks!