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

    Errors compiling for R13

    SDK Help
    0
    7
    609
    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 09/01/2017 at 23:46, xxxxxxxx wrote:

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

      ---------
      Tried to compile for R13 today and I'm getting a bunch of errors. Does anyone know how to fix?

      /Applications/Maxon/Cinema 4D R13/resource/_api/c4d_string.h:253:17: Friend declaration specifying a default argument must be a definition
      /Applications/Maxon/Cinema 4D R13/resource/_api/c4d_string.h:351:15: Friend declaration specifying a default argument must be the only declaration
      /Applications/Maxon/Cinema 4D R13/resource/_api/c4d_basesound.cpp:253:17: Friend declaration specifying a default argument must be a definition
      /Applications/Maxon/Cinema 4D R13/resource/_api/c4d_basesound.cpp:351:15: Friend declaration specifying a default argument must be the only declaration

      OSX 10.11.6
      XCode 8.0

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

        On 10/01/2017 at 00:57, xxxxxxxx wrote:

        R14 and older compile with XCode 5 or 4.6 only (maybe others in the same range, too).

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

          On 10/01/2017 at 01:14, xxxxxxxx wrote:

          Hello,

          the XCode version recommended for R13 is XCode 3.2.6[URL-REMOVED].

          best wishes,
          Sebastian


          [URL-REMOVED] @maxon: This section contained a non-resolving link which has been removed.

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

            On 10/01/2017 at 05:22, xxxxxxxx wrote:

            Out of curiosity, is there a way to run an older version of XCode on latest OSX?

            Also: I understand the clang teams motivation behind enforcing the standard, but am I the only one who whishes they'd just do it all at once instead of breaking old code cyclically?

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

              On 10/01/2017 at 06:04, xxxxxxxx wrote:

              Personally, I've downloaded all of the OSX Command-line Tools disk images from the Apple Developers
              site so I can unpack them somewhere and use them. I have a "Clang-5.0" directory lying around that I
              can activate by sourcing a script. However, I build from the command-line, I do not know how to use that
              with XCode. I *think* you can keep several versions of the command-line tools installed and use them
              with XCode, but I do not know how.

              Cheers,
              Niklas

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

                On 10/01/2017 at 06:20, xxxxxxxx wrote:

                Thanks Niklas, very useful information. I have no interest in XCode either, all I want is the command line tools.

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

                  On 10/01/2017 at 09:01, xxxxxxxx wrote:

                  In case you are interested, I have a small script to unpack the DMGs to a directory. It also copies the
                  activate script into the target directory.

                  You can find it here: https://github.com/NiklasRosenstein/xcode-cltools-installer

                  Unfortunately I think the Apple EULA doesn't allow to redistribute the CL-Tools DMGs, otherwise
                  I'd make them available in the GitHub repository. 😕

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