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
    • Login

    Compiling my plugin on R23

    Cinema 4D SDK
    1
    6
    980
    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.
    • P
      pim
      last edited by

      I compiled my plugin for R23 on a PC and no problems.
      Now I want to do the same on the Mac (10.15.6) using Xcode 11.3.1.

      I copied the sdk and the ran R23 projecttool to /Documents.
      Everything seems ok, plugins.xcode was created and looks good.

      Again, I am doing everything in my Documents folder, so I should not have any protection / privilege issues.
      But I get the following IOError.

      Screenshot 2020-09-18 at 09.46.14.png

      projectdefinition.txt

      P 1 Reply Last reply Reply Quote 0
      • P
        pim @pim
        last edited by

        Even compiling everything from default (microsdk) gave an error:

        error: Build input file cannot be found:
        '/Users/pgrooff/Documents/R23_sdk/sdk_R23.008/frameworks/core.framework/generated/hxx/register.cpp' (in target 'core.framework' from project 'core.framework')

        I downloaded and installed everything from scratch.
        I am using Mac 10.15.6 and Xcode 11.3.1.

        Screenshot 2020-09-18 at 11.44.43.png

        1 Reply Last reply Reply Quote 0
        • P
          pim
          last edited by

          Here the folder structure.
          Screenshot 2020-09-18 at 11.50.55.png

          1 Reply Last reply Reply Quote 0
          • P
            pim
            last edited by

            After
            "The default interactive shell is now zsh.
            To update your account to use zsh, please run chsh -s /bin/zsh."

            I started Xcode, did a "Clean Build Folder" and compiled again.

            • Error
            • Compiled again
            • Error
            • Compiled again
            • ...
            • ...

            Success!
            So, I had to do a lot of compiles, before I had success.
            I guess the hxx files were not generated yet.

            I will now try my own plugin.

            1 Reply Last reply Reply Quote 0
            • P
              pim
              last edited by

              I now changed projectdefinition.txt to compile my own plugin, but i keep getting

              File "/Users/pgrooff/Documents/R23_sdk/sdk_R23.008/frameworks/settings/sourceprocessor/declarations.py", line 123, in writeToFile
              f = open(file, 'w')
              IOError: [Errno 1] Operation not permitted: '/Users/pgrooff/Documents/R23_sdk/sdk_R23.008/plugins/getloglines/generated/sourceprocessor.stamp'
              Command PhaseScriptExecution failed with a nonzero exit code

              Screenshot 2020-09-18 at 12.12.51.png

              Is the sequence of building correct?

              1 Reply Last reply Reply Quote 0
              • P
                pim
                last edited by

                Ok, success.
                Copying the plugin folder from pc to mac was the issue!

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