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. -
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. -
Here the folder structure.
-
After
"The default interactive shell is now zsh.
To update your account to use zsh, please runchsh -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.
-
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 codeIs the sequence of building correct?
-
Ok, success.
Copying the plugin folder from pc to mac was the issue!