码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2014-08-01 09:06:11      阅读:225      评论:0      收藏:0      [点我收藏+]

标签: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 -install_name@excutable_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

 

如何搭建maya plugin develop environment on MAC OS X,布布扣,bubuko.com

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

标签:des   使用   os   io   ar   c++   res   app   

原文地址:http://www.cnblogs.com/bubbler/p/3884051.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!