How to Set up Maya plugin develop environment on Mac OS X

Source: Internet
Author: User

1. The first platform I use is xcode version 5.1.1, maya2015, Max OS X 10.9.4.

Maya2015 requires: mountain lion 10.8.5, xcode 5.0.2 with SDK 10.8 (mountain lion), clang with libstdc ++.

However, it does not matter. Although xcode's default project compilation SDK is 10.9, xcode 5.1.1 supports the 10.8 SDK.

2. In build setting, set the Lib path of the Project LINK and the C ++ compilation options:

(1) ubuntures:

A. You shoshould set ubuntures to standard ubuntures (64-bit Intel) (X86-64)

B. Base SDK: osx10.8

C. Others: Default

(2) linking:

A. Other linkers flags: Add [email protected] _ path/libname. dylib and-rpath (I do not know if this is necessary)

(3) Search paths:

A. I followed maya2015 develop help to set incluenvironment variable previous.

B. Framework search paths:/applications/Autodesk/maya2015/Maya. APP/contents/framworks

C. header search paths: $ (maya_directory)/devkit/include // applications/Autodesk/maya2015/devkit/include

D. library search paths: $ (maya_directory)/Maya. APP/contents/MACOs/applications/Autodesk/maya2015/Maya. APP/contents/MACOs

3. Language C ++

Set C ++ standard library to: libstdc ++

 

4. In build phases:

In link binary with libraries, add corefoundation. Framework

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.