ADN-DevTech / Maya-Cpp-Wizards

A new Maya C++ Wizards
http://www.autodesk.com/developmaya
Other
40 stars 13 forks source link

Maya C++ Wizards

A Maya C++ Wizards for Wizards for Visual Studio and Xcode
optimized and using pre-compiled headers

Written by Cyrille Fauvel (Autodesk Developer Network)
http://www.autodesk.com/adn
http://around-the-corner.typepad.com/

1) Xcode Install

There is 2 way to install the Wizards for Xcode. You can either modify Xcode.app directly (requires super-user rights), or modify per-user Templates. You may also want to read this article if you do not have the right OS & compiler version.

Modifying Xcode.app

Maya 2014 (see requirements) In the following instructions Xcode was renamed Xcode-4.3.3 to match the Maya required compiler version. On your system, it is by default just Xcode.app.

Maya 2015 (see requirements) In the following instructions Xcode was renamed Xcode-5.0.2 to match the Maya required compiler version. On your system, it is by default just Xcode.app.

Per-user Templates

Go to '~/Library/Developer/Xcode' and create, if they do not exist yet, the following 2 folders:

, Maya 2014 (see requirements) In the following instructions Xcode was renamed Xcode-4.3.3 to match the Maya required compiler version. On your system, it is by default just Xcode.app.

Maya 2015 (see requirements) In the following instructions Xcode was renamed Xcode-5.0.2 to match the Maya required compiler version. On your system, it is by default just Xcode.app.

a pkg installer project will be coming soon

Note: Maya 2014 requires using the Mac 10.6 SDK (Snow Leopard). Xcode-4.3.3 is the latest compatible version which can use the 10.6 SDK. If using an older version and/or if you migrated to Mountain Lion, you will need to change the project settings to use the 10.7 SDK (Lion) to be able to compile.

2) Visual Studio Install

There is a wix/msi installer project included in case you want to get it installed for you. The installer will work for Maya 2014, Visual Studio 2010/12 Pro/Standard and Express editions. If you do not have Maya 2014 installed, you can either:

Note: Maya 2014 requires using the VC 10.0 Service Pack 1 runtime, if using Visual Studio 2012, do not forget to change the 'Platform Toolkit' to vc100


License

This sample is licensed under the terms of the MIT License. Please see the LICENSE file for full details.

Written by

Cyrille Fauvel (Autodesk Developer Network)
http://www.autodesk.com/adn
http://around-the-corner.typepad.com/