如何搭建maya plugin develop environment on MAC OS X

來源:互聯網
上載者:User

標籤:des   使用   os   io   ar   c++   res   app   

1.首先我使用的平台是xcode version 5.1.1 ,MAYA2015, MAX OS X 10.9.4。

  MAYA2015要求的是:Mountain Lion 10.8.5, Xcode 5.0.2 with SDK 10.8 (Mountain Lion), clang with libstdc++。

  但是沒有關係, 雖然xcode預設的工程編譯sdk是10.9但是xcode 5.1.1是支援10.8的sdk的。

2. 在build setting 裡面設定工程連結的lib的路徑和C++的編譯選項:

     (1) architectures:

      a.you should set Architectures to Standard Architectures(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 many environment 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

 

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.