Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware 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
    • Register
    • Login

    Can't debug C4D 2023 and 2024 on macOS

    Cinema 4D SDK
    2023 2024 c++ macos
    2
    11
    1.3k
    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.
    • ferdinandF
      ferdinand @fwilleke80
      last edited by ferdinand

      Hey @fwilleke80,

      Thank you for reaching out to us. That all looks quite mysterious. It is two months ago that I did any substantial development on Xcode which included debugging. I think I also wrote parts of the 2024 migration examples on my MacBook Pro 2019, without any problems.

      I am currently in the office and do not have my MacBook with me. I will do a test build on the 2023.2 SDK on Monday. What seems to be failing in your screen, is the Image API, i.e., the image.framework, and a pixel packing format. Since the Image API is OS dependent, it could be that Apple has provided a late life service patch for Monterey, with then the Image API not working anymore. But still quite odd since all that stuff is quite fundamental. Could you give us the exact build number for your failing Monterey system?

      Now that I write all this, I remember that I upgraded my MacBook to Ventura + Xcode 14 which will complicate things. I will test on that MacBook anyways for now, if necessary, I will get an older machine then. When you can reproduce the problem under 2024, it would be helpful to know its exact conditions too, as it is for me easier to test here (but that does not mean we will ignore 2023).

      Cheers,
      Ferdinand

      PS: But you are running things with the so-called legacy build system, right? I know that you are an experienced developer, but if you have somehow managed to get the SDK with the new build system going, all sorts of weird errors are to be expected.

      MAXON SDK Specialist
      developers.maxon.net

      fwilleke80F 1 Reply Last reply Reply Quote 0
      • fwilleke80F
        fwilleke80 @ferdinand
        last edited by

        It is mysterious.

        @ferdinand said in Can't debug C4D 2023 on macOS:

        But you are running things with the so-called legacy build system, right? I know that you are an experienced developer, but if you have somehow managed to get the SDK with the new build system going, all sorts of weird errors are to be expected.

        Ah, that could be it. Because I did manage to get it to build with the new system. Hang on, I'll try with the legacy system.

        www.frankwilleke.de
        Only asking personal code questions here.

        1 Reply Last reply Reply Quote 0
        • fwilleke80F
          fwilleke80
          last edited by fwilleke80

          That made no difference at all 😞
          Exactly the same error with legacy build system.

          I also tried in both versions of C4D 2023: 2023.1.3 and 2023.2. Both exactly the same.

          The release build freezes from time to time, too, in about the same moment that the debug build always crashes.

          Built with Xcode 13.2.1 on macOS Monterey 12.6.8 on my 2019 MacBook Pro.

          www.frankwilleke.de
          Only asking personal code questions here.

          1 Reply Last reply Reply Quote 0
          • ferdinandF
            ferdinand
            last edited by

            Okay, will have a look on Monday!

            MAXON SDK Specialist
            developers.maxon.net

            1 Reply Last reply Reply Quote 1
            • fwilleke80F
              fwilleke80
              last edited by

              Thank you 🙂

              www.frankwilleke.de
              Only asking personal code questions here.

              1 Reply Last reply Reply Quote 0
              • fwilleke80F
                fwilleke80
                last edited by fwilleke80

                Follow-up: C4D 2024 (latest release, just downloaded from Maxon website)

                Tried on the same system as before: 2019 MacBook Pro, Xcode 13.2.1 using legacy build system, macOS Monterey 12.6.8.

                Screenshot 2023-09-22 at 11.06.40.jpg

                www.frankwilleke.de
                Only asking personal code questions here.

                1 Reply Last reply Reply Quote 0
                • fwilleke80F
                  fwilleke80
                  last edited by

                  Redshift sure complains a lot in the debug console.

                  Should I try and remove redshift.xlib from C4D 2023 and see if that changes anything?

                  www.frankwilleke.de
                  Only asking personal code questions here.

                  1 Reply Last reply Reply Quote 0
                  • fwilleke80F
                    fwilleke80
                    last edited by

                    Well, well, well, there we have it. It's a Redshift issue! After removing the Redshift .xlib files from /corelibs and /Redshift, most of the error messages are gone, and so is the crash. Tested in C4D 2023.2.

                    Screenshot 2023-09-22 at 11.18.36.jpg

                    www.frankwilleke.de
                    Only asking personal code questions here.

                    ferdinandF 1 Reply Last reply Reply Quote 0
                    • ferdinandF
                      ferdinand @fwilleke80
                      last edited by ferdinand

                      Hello @fwilleke80,

                      first, thank you very much for investing more time into this and with that saving time for me, truly appreciated. But let us discuss the details per mail.

                      I will report back when there is a tangible outcome which relevant for the community.

                      Cheers,
                      Ferdinand

                      MAXON SDK Specialist
                      developers.maxon.net

                      1 Reply Last reply Reply Quote 0
                      • fwilleke80F
                        fwilleke80
                        last edited by fwilleke80

                        @ferdinand said in Can't debug C4D 2023 and 2024 on macOS:

                        first, thank you very much for investing more time into this and with that saving time for me, truly appreciated.

                        You're welcome. If any of this get any of us further it's worth the time.

                        @ferdinand said in Can't debug C4D 2023 and 2024 on macOS:

                        But let us discuss the details per mail.

                        Okay!

                        Cheers,
                        Frank

                        www.frankwilleke.de
                        Only asking personal code questions here.

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