Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 348 Bytes

File metadata and controls

7 lines (5 loc) · 348 Bytes

Troubleshoots in Maya API compile use Visual Studio

LNK2005: MApiVersion already defined in *.obj

Please check out the including <maya/MFnPlugin.h> must in cpp file for register only.
that have initializePlugin() and uninitializePlugin() functions,
If MFnPlugin is duplicated in other cpp file, It will occur this compile error.