Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Help getting the SDK to compile on XCODE

    SDK Help
    0
    7
    517
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Helper
      last edited by

      On 14/01/2014 at 11:32, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   r14 
      Platform:      Mac OSX  ; 
      Language(s) :     C++  ;

      ---------
      I'm running xcode 5.0.2 on a mac osx10.9 with C4Dr14.  When I try to compile the sdk I get the following error.

      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't create output file: /./lib_api_release.a (Permission denied)
      Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool failed with exit code 1

      Anyone offer any help?

      http://www.jimmycoppens.com

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        On 14/01/2014 at 18:12, xxxxxxxx wrote:

        You shouldn't be doing any builds within the Applications folder - it is write protected!
        Copy the plugins and resources folders from Cinema 4D to your Users folder somewhere and build from there.

        1 Reply Last reply Reply Quote 0
        • H
          Helper
          last edited by

          On 15/01/2014 at 09:12, xxxxxxxx wrote:

          When I move the build out of the plugins directory, the linker can't find the c4d.h files.  In previous versions of c4d I always built in the applications folder.

          1 Reply Last reply Reply Quote 0
          • H
            Helper
            last edited by

            On 19/01/2014 at 06:33, xxxxxxxx wrote:

            Tried to do the same thing but with R13 and OSX 10.8 this week. Noticed the / in front of the filename? It wants to copy it into the root directory of your hard drive. The solution is very simple. Just change the install directory to . and it should work.

            P.S. on my system i also had to correct the directory for intermediate build results. Was very easy as well. It is all right in the build options. I set mine to /Users/mwelter/Libraries/Dev/Blablabla/whatever/the/XCode/default/is

            1 Reply Last reply Reply Quote 0
            • H
              Helper
              last edited by

              On 20/01/2014 at 10:52, xxxxxxxx wrote:

              yup, that was it!  Thank you for the reply!  I can now compile the test plugins!  Thanks!

              1 Reply Last reply Reply Quote 0
              • H
                Helper
                last edited by

                On 21/01/2014 at 07:30, xxxxxxxx wrote:

                Howdy,

                Or just change your permissions. The way I see it is, "How dare my computer tell me , the administrator, that I don't have permission!" 😂

                Adios,
                Cactus Dan

                1 Reply Last reply Reply Quote 0
                • H
                  Helper
                  last edited by

                  On 21/01/2014 at 07:33, xxxxxxxx wrote:

                  Cactus Dan!!  Whoa you are awesome man!  I can't believe you are on this forum!  That is fantastic!

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post