R23 Monterey SDK compile errors
-
Hello,
Upon upgrading to Monterey, the R23 SDK no longer compiles. I am using Xcode 13.1
All other versions compile fine.
The errors are mainly in coreframework, newObject.h and baseref.h:
Unexpected type name 'ConstrutorType': expected expressionThanks.
-
Which exact Code version is it? I remember I couldn't use any Xcode version later than 13.2.1. Any more recent version would throw countless errors.
-
Xcode 13.1.0
This is just happening on the R23/S24 SDK.
All other SDK versions run fine from R18 up to 2024. -
Hello @Rox,
Thank you for reaching out to us and please excuse the delay. As lined out in the R23 C++ SDK documentation, we neither support Xcode 13 nor macOS 12 in the 23 SDK. The supported OS are Catalina (10.15.6+) and Big Sur (11), and the supported Xcode versions are 11.3+ and 12.2+.
You might get away with installing Xcode 11/12 on Monterey and forcefully running these earlier versions. Please note that this is a hack to make your life easier and we cannot provide support for problems that arise from it. When you run into problems, we must ask you to use the intended environment.
Cheers,
FerdinandPS: A super handy website in this context is https://xcodereleases.com/.
-
Just to add to this, there is some confusion here. See this page from the R2024 SDK docs, https://developers.maxon.net/docs/cpp/2024_0_0/page_maxonapi_plugin_dev.html
The page clearly states Xcode 13.x for R2023 builds:
This is presumably an error?
Steve
-
-
Hi Ferdinand,
Ah, sorry, my mistake. It's just that I find having to work out which version of C4D requires which version of macOS and which version of Xcode very confusing. For example, the requirements for R2023 were initially for Xcode 12.2, now it's given as Xcode 13. Which in turn requires macOS Monterey, not Big Sur which 12.2 needed. Perhaps 12.2 would still work under Monterey if needed, or perhaps not - who knows?
For any new plugin I write, I'll only be building for the latest C4D release, as long as my MacBook can install whatever macOS/Xcode versions are needed. Once it can't, chances are I won't build for macOS at all - since I'm not selling my plugins, there's no point for me in buying an expensive new Mac.
And yes, I know this isn't Maxon's fault. Apple just seem to make it harder and harder to produce anything for their platform, what with incompatible OS and development versions.
Steve
-
Hey @spedler,
2023 still supports Xcode 12 and macOS 11 (alongside Xcode 13 and macOS 12) as shown here. I just cleaned up a bit in this list for 2024 to streamline it for future versions, as the list is propagated through all versions.
For 2024, the list is looking back in retrospective in a certain sense, and I brought things to the "latest tech" for 2023. This will also simplify support of legacy versions for us. But when you still have a Xcode 12.5.1 (macOS 11.X) setup around, you can still compile on it for 2023. But Xcode 13 and Monterey will likely be the preferred build environment for 2023, 2024, and 2025. Internally, we are already gearing up for Xcode 14 & 15 and with that Ventura and Sonoma, and the removal of the Xcode legacy build system that comes with it.
As a plugin developer you could have two build environments now to build macOS plugins for up to S24.
- S24-S26: Xcode 12 + Big Sur
- 2023-2024: Xcode 13 + Monterey (and quite likely 2025)
I understand that plugin authors often want to support up to R23 or even R21, but that will increase the number of environments you will need. S24 is IMHO the best compromise of effort and output at the moment.
Cheers,
Ferdinand -
Thanks Ferdinand. That's very helpful. TBH, for me the best option is probably to support only R2023/4/5 if that just needs the one development environment. It would be different for commercial plugins but for mine I think the most I want to do is support the 2-3 latest versions of Cinema. It just gets too confusing for earlier releases. But it's very useful to know that Monterey/XCode 13 is good for the current two latest releases and maybe the next one too.
Cheers,
Steve