Errors compiling for R13

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

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).

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

Hello,

the XCode version recommended for R13 is XCode 3.2.6.

best wishes,
Sebastian

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?

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

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.

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. 😕