Build failed with generateAudioPlugin in Matlab 2020a

14 visualizzazioni (ultimi 30 giorni)
Hello,
I am using Matlab r2020a with the audio toolbox. I have a very basic plugin that is validated, but when I run generateAudioPlugin the build fails.
The error report is incredibly long (100+ lines), but it mostly looks like this excerpt:
CompileC
/var/folders/c4/94nvs2kx1ts1knpwm3xs5b900000gn/T/tp435d986b_f7be_460e_aa31_7ccf81fece40/Builds/MacOSX/build/StereoWidth.build/Release/StereoWidth\
-\ Shared\ Code.build/Objects-normal/x86_64/include_juce_events.o
/var/folders/c4/94nvs2kx1ts1knpwm3xs5b900000gn/T/tp435d986b_f7be_460e_aa31_7ccf81fece40/JuceLibraryCode/include_juce_events.mm normal
x86_64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'StereoWidth - Shared Code' from project 'StereoWidth')
cd /var/folders/c4/94nvs2kx1ts1knpwm3xs5b900000gn/T/tp435d986b_f7be_460e_aa31_7ccf81fece40/Builds/MacOSX
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c++ -target
x86_64-apple-macos10.11 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c++11
-stdlib=libc++ -Wno-trigraphs -fpascal-strings -O3 -flto -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes
-Wunreachable-code -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wnon-virtual-dtor
-Wno-overloaded-virtual -Wno-exit-time-destructors -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch
-Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized
-Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion
-Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32
-Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations
-Wno-c++11-extensions -D_NDEBUG=1 -DNDEBUG=1 -DJUCER_XCODE_MAC_F6D2F4CF=1 -DJUCE_APP_VERSION=1.0.0 -DJUCE_APP_VERSION_HEX=0x10000
-DJucePlugin_Build_VST=1 -DJucePlugin_Build_VST3=0 -DJucePlugin_Build_AU=0 -DJucePlugin_Build_AUv3=0 -DJucePlugin_Build_RTAS=0
-DJucePlugin_Build_AAX=0 -DJucePlugin_Build_Standalone=0 -DJUCE_SHARED_CODE=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing
-Wprotocol -Wdeprecated-declarations -Winvalid-offsetof -fvisibility=hidden -fvisibility-inlines-hidden -Wno-sign-conversion
-Winfinite-recursion -Wmove -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wrange-loop-analysis
-Wno-semicolon-before-method-body
-I/var/folders/c4/94nvs2kx1ts1knpwm3xs5b900000gn/T/tp435d986b_f7be_460e_aa31_7ccf81fece40/Builds/MacOSX/build/Release/include
-I../../JuceLibraryCode -I../../modules -I../../modules/juce_audio_plugin_client
-I/var/folders/c4/94nvs2kx1ts1knpwm3xs5b900000gn/T/tp435d986b_f7be_460e_aa31_7ccf81fece40/Builds/MacOSX/build/StereoWidth.build/Release/StereoWidth\
-\ Shared\ Code.build/DerivedSources-normal/x86_64
-I/var/folders/c4/94nvs2kx1ts1knpwm3xs5b900000gn/T/tp435d986b_f7be_460e_aa31_7ccf81fece40/Builds/MacOSX/build/StereoWidth.build/Release/StereoWidth\
-\ Shared\ Code.build/DerivedSources/x86_64
-I/var/folders/c4/94nvs2kx1ts1knpwm3xs5b900000gn/T/tp435d986b_f7be_460e_aa31_7ccf81fece40/Builds/MacOSX/build/StereoWidth.build/Release/StereoWidth\
-\ Shared\ Code.build/DerivedSources -Wreorder
-F/var/folders/c4/94nvs2kx1ts1knpwm3xs5b900000gn/T/tp435d986b_f7be_460e_aa31_7ccf81fece40/Builds/MacOSX/build/Release -MMD -MT
dependencies -MF
/var/folders/c4/94nvs2kx1ts1knpwm3xs5b900000gn/T/tp435d986b_f7be_460e_aa31_7ccf81fece40/Builds/MacOSX/build/StereoWidth.build/Release/StereoWidth\
-\ Shared\ Code.build/Objects-normal/x86_64/include_juce_events.d --serialize-diagnostics
/var/folders/c4/94nvs2kx1ts1knpwm3xs5b900000gn/T/tp435d986b_f7be_460e_aa31_7ccf81fece40/Builds/MacOSX/build/StereoWidth.build/Release/StereoWidth\
-\ Shared\ Code.build/Objects-normal/x86_64/include_juce_events.dia -c
/var/folders/c4/94nvs2kx1ts1knpwm3xs5b900000gn/T/tp435d986b_f7be_460e_aa31_7ccf81fece40/JuceLibraryCode/include_juce_events.mm -o
/var/folders/c4/94nvs2kx1ts1knpwm3xs5b900000gn/T/tp435d986b_f7be_460e_aa31_7ccf81fece40/Builds/MacOSX/build/StereoWidth.build/Release/StereoWidth\
-\ Shared\ Code.build/Objects-normal/x86_64/include_juce_events.o
warning: Could not read serialized diagnostics file: Cannot Load File: Failed to open diagnostics file (in target 'StereoWidth -
Shared Code' from project 'StereoWidth')
** BUILD FAILED **
The following build commands failed:
CompileC
/var/folders/c4/94nvs2kx1ts1knpwm3xs5b900000gn/T/tp435d986b_f7be_460e_aa31_7ccf81fece40/Builds/MacOSX/build/StereoWidth.build/Release/StereoWidth\
-\ Shared\ Code.build/Objects-normal/x86_64/StereoWidthPluginProcessor.o
/var/folders/c4/94nvs2kx1ts1knpwm3xs5b900000gn/T/tp435d986b_f7be_460e_aa31_7ccf81fece40/Source/StereoWidthPluginProcessor.cpp
normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
It seems to be having trouble with the Xcode compiler, but I don't know how to fix it.
I should probably mention I'm running Xcode 11.14 and macOS 10.15.4 (Catalina). This computer is only a few months old and these are fresh installations of Xcode and Matlab.
Thank you for the help.
  2 Commenti
Egebjerg
Egebjerg il 4 Apr 2020
Hi
I had a similar issue after upgrading Xcode a few weeks ago, so I rolled back to Xcode 11.3.1 (117505), and after that all seems to be OK.
Best regards
Egebjerg

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Prodotti


Release

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by