2019 SDK PRO AMP Wont Compile with Xcode 10
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
