Skip to main content
Known Participant
January 2, 2019
Answered

2019 SDK PRO AMP Wont Compile with Xcode 10

  • January 2, 2019
  • 1 reply
  • 2094 views

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

This topic has been closed for replies.
Correct answer Bruce Bullis

Correct; All the samples are compatible with XCode 9.

We'll have a look.

1 reply

AtonMusicAuthor
Known Participant
January 2, 2019

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 !

Bruce Bullis
Bruce BullisCorrect answer
Legend
January 6, 2019

Correct; All the samples are compatible with XCode 9.

We'll have a look.

Participant
August 7, 2019

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.

```