Compiling my plugin on R23

  • 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


  • 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

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

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

    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.

  • 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/", 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?

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