Copy link to clipboard
Copied
Hi There,
I am getting odd errors when building. I am posting the Xcode error here... Be nice if someone could help me figure out what to do here..
Tried on 3 different computers all showing same error.. Guess something is wrong with the example. Thanks for a quick fix
RuleScriptExecution /Users/macy/Tresors/Developer/SDKs/Premiere\ Pro\ CC\ 13.0\ Mac\ SDK/Examples/Projects/GPUVideoFilter/SDK_ProcAmp/SDK_ProcAmp.cl normal x86_64 (in target: SDK_ProcAmp) cd /Users/macy/Tresors/Developer/SDKs/Premiere\ Pro\ CC\ 13.0\ Mac\ SDK/Examples/Projects/GPUVideoFilter/SDK_ProcAmp/Mac /bin/sh -c mkdir\ -p\ ${DERIVED_FILE_DIR}/64/PreprocessedMetal/\ \ chmod\ 777\ ${DERIVED_FILE_DIR}/64/PreprocessedMetal/\ \ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang\ -E\ -x\ c\ \ -I\"../../Utils\"\ -I\"${BOOST_BASE_PATH}\"\ -I\"${SDKROOT}\"/../../../usr/lib/clang/3.5/include/metal/\ -DGF_DEVICE_TARGET_METAL=1\ \ -o\ ${DERIVED_FILE_DIR}/64/PreprocessedMetal/${INPUT_FILE_BASE}.i\ \"${INPUT_FILE_PATH}\"\ \ python\ \"${PROJECT_DIR}\"/../../Utils/CreateCString.py\ -i\ ${DERIVED_FILE_DIR}/64/PreprocessedMetal/${INPUT_FILE_BASE}.i\ -o\ ${DERIVED_FILE_DIR}/64/PreprocessedMetal/${INPUT_FILE_BASE}.metal.h\ --name\ k${INPUT_FILE_BASE}_MetalString\ \ mkdir\ -p\ ${DERIVED_FILE_DIR}/64/PreprocessedOpenCL/\ \ chmod\ 777\ ${DERIVED_FILE_DIR}/64/PreprocessedOpenCL/\ \ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang\ -E\ -x\ c\ \ -I\"../../Utils\"\ -I\"${BOOST_BASE_PATH}\"\ -DGF_DEVICE_TARGET_OPENCL=1\ \ -o\ ${DERIVED_FILE_DIR}/64/PreprocessedOpenCL/${INPUT_FILE_BASE}.i\ \"${INPUT_FILE_PATH}\"\ \ python\ \"${PROJECT_DIR}\"/../../Utils/CreateCString.py\ -i\ ${DERIVED_FILE_DIR}/64/PreprocessedOpenCL/${INPUT_FILE_BASE}.i\ -o\ ${DERIVED_FILE_DIR}/64/PreprocessedOpenCL/${INPUT_FILE_BASE}.cl.h\ --name\ k${INPUT_FILE_BASE}_OpenCLString In file included from /Users/macy/Tresors/Developer/SDKs/Premiere Pro CC 13.0 Mac SDK/Examples/Projects/GPUVideoFilter/SDK_ProcAmp/SDK_ProcAmp.cl:4: ../../Utils/PrGPU/KernelSupport/KernelCore.h:51:11: fatal error: 'metal_common' file not found # include <metal_common> ^~~~~~~~~~~~~~ 1 error generated. Traceback (most recent call last): File "/Users/macy/Tresors/Developer/SDKs/Premiere Pro CC 13.0 Mac SDK/Examples/Projects/GPUVideoFilter/SDK_ProcAmp/Mac/../../Utils/CreateCString.py", line 52, in with open(inputfile, 'r') if len(inputfile) > 0 else sys.stdin as f: IOError: [Errno 2] No such file or directory: '/Users/macy/Library/Developer/Xcode/DerivedData/SDK_ProcAmp-gpjfvssmxrnvslflzuelyuczxdup/Build/Intermediates.noindex/SDK_ProcAmp.build/Debug/SDK_ProcAmp.build/DerivedSources/64/PreprocessedMetal/SDK_ProcAmp.i' In file included from /Users/macy/Tresors/Developer/SDKs/Premiere Pro CC 13.0 Mac SDK/Examples/Projects/GPUVideoFilter/SDK_ProcAmp/SDK_ProcAmp.cl:4: In file included from ../../Utils/PrGPU/KernelSupport/KernelCore.h:532: ../../Utils/PrGPU/KernelSupport/KernelWrapper.h:25:10: fatal error: 'boost/preprocessor/list/for_each.hpp' file not found #include <boost/preprocessor/list/for_each.hpp> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. Traceback (most recent call last): File "/Users/macy/Tresors/Developer/SDKs/Premiere Pro CC 13.0 Mac SDK/Examples/Projects/GPUVideoFilter/SDK_ProcAmp/Mac/../../Utils/CreateCString.py", line 52, in with open(inputfile, 'r') if len(inputfile) > 0 else sys.stdin as f: IOError: [Errno 2] No such file or directory: '/Users/macy/Library/Developer/Xcode/DerivedData/SDK_ProcAmp-gpjfvssmxrnvslflzuelyuczxdup/Build/Intermediates.noindex/SDK_ProcAmp.build/Debug/SDK_ProcAmp.build/DerivedSources/64/PreprocessedOpenCL/SDK_ProcAmp.i' Command RuleScriptExecution failed with a nonzero exit code
Showing Recent Messages
:-1: In file included from /Users/macy/Tresors/Developer/SDKs/Premiere Pro CC 13.0 Mac SDK/Examples/Projects/GPUVideoFilter/SDK_ProcAmp/SDK_ProcAmp.cl:4:
:-1: ../../Utils/PrGPU/KernelSupport/KernelCore.h:51:11: fatal error: 'metal_common' file not found
:-1: # include <metal_common>
:-1: ^~~~~~~~~~~~~~
:-1: 1 error generated.
:-1: Traceback (most recent call last):
:-1: File "/Users/macy/Tresors/Developer/SDKs/Premiere Pro CC 13.0 Mac SDK/Examples/Projects/GPUVideoFilter/SDK_ProcAmp/Mac/../../Utils/CreateCString.py", line 52, in <module>
:-1: with open(inputfile, 'r') if len(inputfile) > 0 else sys.stdin as f:
:-1: IOError: [Errno 2] No such file or directory: '/Users/macy/Library/Developer/Xcode/DerivedData/SDK_ProcAmp-gpjfvssmxrnvslflzuelyuczxdup/Build/Intermediates.noindex/SDK_ProcAmp.build/Debug/SDK_ProcAmp.build/DerivedSources/64/PreprocessedMetal/SDK_ProcAmp.i'
:-1: In file included from /Users/macy/Tresors/Developer/SDKs/Premiere Pro CC 13.0 Mac SDK/Examples/Projects/GPUVideoFilter/SDK_ProcAmp/SDK_ProcAmp.cl:4:
:-1: In file included from ../../Utils/PrGPU/KernelSupport/KernelCore.h:532:
:-1: ../../Utils/PrGPU/KernelSupport/KernelWrapper.h:25:10: fatal error: 'boost/preprocessor/list/for_each.hpp' file not found
:-1: #include <boost/preprocessor/list/for_each.hpp>
:-1: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:-1: 1 error generated.
:-1: Traceback (most recent call last):
:-1: File "/Users/macy/Tresors/Developer/SDKs/Premiere Pro CC 13.0 Mac SDK/Examples/Projects/GPUVideoFilter/SDK_ProcAmp/Mac/../../Utils/CreateCString.py", line 52, in <module>
:-1: with open(inputfile, 'r') if len(inputfile) > 0 else sys.stdin as f:
:-1: IOError: [Errno 2] No such file or directory: '/Users/macy/Library/Developer/Xcode/DerivedData/SDK_ProcAmp-gpjfvssmxrnvslflzuelyuczxdup/Build/Intermediates.noindex/SDK_ProcAmp.build/Debug/SDK_ProcAmp.build/DerivedSources/64/PreprocessedOpenCL/SDK_ProcAmp.i'
Command RuleScriptExecution failed with a nonzero exit code
1 Correct answer
Correct; All the samples are compatible with XCode 9.
We'll have a look.
Copy link to clipboard
Copied
And here another really weird error after installing BOOST.
One should def. deem all GPU Example Codes of the 2019 PPRO SDK as NOT WORKING with Xcode 10 and Above..
It is possible to satisfy Xcode by inserting multiple curlies and what not but the plug will crash PPRO on instantiation.
ProcAmp used to be quite simple (with older sdks) why over complicate things just to get auto translation of kernel code?
Which I would never use anyway... I mean writing a kernel in OCL and translating that to Metal isn't any harder than translating Car from English to German which is Auto !
Copy link to clipboard
Copied
Correct; All the samples are compatible with XCode 9.
We'll have a look.
Copy link to clipboard
Copied
Any updates on this issue?
I'm still not able to compile multiple examples in Xcode from the premiere pro SDK, e.g. SDK_CrossDissolve due to not being able to find a boost header (even tho it is installed and xcode is pointed toward it):
```
In file included from /Users/jarrodhaas/Desktop/Premiere Pro CC 13.0 Mac SDK/Examples/Projects/GPUVideoFilter/SDK_CrossDissolve/SDK_CrossDissolve.cl:14:
In file included from /Users/jarrodhaas/Desktop/Premiere Pro CC 13.0 Mac SDK/Examples/Projects/GPUVideoFilter/SDK_CrossDissolve/SDK_CrossDissolve.cu:8:
In file included from ../../Utils/PrGPU/KernelSupport/KernelCore.h:532:
../../Utils/PrGPU/KernelSupport/KernelWrapper.h:25:10: fatal error: 'boost/preprocessor/list/for_each.hpp' file not found
#include <boost/preprocessor/list/for_each.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
```
Copy link to clipboard
Copied
Any updates on this issue?
None. XCode 9 remains the recommended compiler.
Copy link to clipboard
Copied
Any further updates? Not sure if XCode 9 is even available anymore (at least on Mac OS 11)... Or do you recommend any other IDE on a Mac?
Copy link to clipboard
Copied
Any updates on this? XCode 10 has been out for YEARS now. Dear ADOBE PLEASE UPDATE YOUR EXAMPLE CODE TO WORK WITH WHAT SHIPS FROM THE APP STORE
Copy link to clipboard
Copied
Correction fix for XCode 13!
Copy link to clipboard
Copied
IT IS 2021 XCODE 13 SHIPS WITH THE APP STORE. UPDATE YOUR SDK EXAMPLES

