Error using generateAudioPlugin for VST plugin generation in Matlab 2019b

7 views (last 30 days)
Hi all
I have been using Matlab 2019b. I am using the AudioPlugin of AudioSystem Toolbox
to prototype some audio algorithm. I am using this plugin to generate a corresponding VST dll
file to test it in a DAW.
However, when I first run the command the "validateAudioPlugin" its sucessful. But the
generateAudioPlugin fails with the error shown in the screenshot.
If I try the same plugin in Matlb 2018a, it generates the respective dll file. I have checked about
the "devenv.com" and respective settings of Visual studio 2017 paths in the Environment
variables. Since the same plugin runs on Matlab 2018a, I belive the settings are correct.
Please let me know if there is some specific settings for Matlab 2019b that I am missing.
Thanks
Regards
Daniel
  1 Comment
Charlie DeVane
Charlie DeVane on 14 Nov 2019
Hi Daniel,
I'm sorry you are having this problem.
The error message's reference to "Visual Studio 14.0" suggests that MATLAB is trying to use Visual Studio 2015 for C++ Compilation. To use Visual Studio 2017 with generationAudioPlugin, you need to be sure mex is set up to use that as your C++ compiler. You can check this by typing
>> mex -setup C++
You should see something like this:
>> mex -setup C++
MEX configured to use 'Microsoft Visual C++ 2017' for C++ language compilation.
What do you see?
Charlie

Sign in to comment.

Answers (6)

Daniel Kotulla
Daniel Kotulla on 14 Nov 2019
Hi Charlie,
Thanks you very much for the quick update. I ran the mex setup and I could see the
same message as you have mentioned in the above mail.
But I still have the same error with generateAudioPlugin. Please find
below the error msg from matlab command prompt.
>>generateAudioPlugin dummytest
......
Error using generateAudioPlugin
Visual Studio build failed:
'"C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\devenv.com"' is not recognized as an internal or external command,
operable program or batch file.
Error in generateAudioPlugin
Error in generateAudioPlugin
However, I would like to add that I could find a version of the "devenv.com" under the below path
in my PC.
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE.
Could you please let me know if I could configure the path for the file "devenv.com". Also note that
I have already added this path in my matlab path as well as Environment variables.
Thanks for the same.
BR
  1 Comment
Charlie DeVane
Charlie DeVane on 14 Nov 2019
Hi Daniel,
It's helpful to know where you found devenv.com in your installation, but unfortunately I don't think configuing paths will help you.
Does the folder "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools" exist on your computer?
Could you run the command below and paste the result here?
>> mex.getCompilerConfigurations('C++','Selected')

Sign in to comment.


Daniel Kotulla
Daniel Kotulla on 14 Nov 2019
Hi Charlie,
Yes, the location of "*\BuildTool" exist on my computer but I did not have the file in that path.
Please find below the output you requested in your last response and let me if you have further
comments or suggestion.
>> mex.getCompilerConfigurations('C++','Selected')
ans =
CompilerConfiguration with properties:
Name: 'Microsoft Visual C++ 2017'
Manufacturer: 'Microsoft'
Language: 'C++'
Version: '15.0'
Location: 'C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\'
ShortName: 'MSVCPP150'
Priority: 'A'
Details: [1×1 mex.CompilerConfigurationDetails]
LinkerName: 'link'
LinkerVersion: ''
MexOpt: 'C:\Users\b.desikan\AppData\Roaming\MathWorks\MATLAB\R2019b\mex_C++_win64.xml'
Thanks
Regards

Fazil Peermohammed
Fazil Peermohammed on 15 Nov 2019
Hi, what edition of Visual Studio do you have? Please note that we only support Community, Professional, and Enterprise editions. We do not support Visual Studio build tools. See this page for supported compilers:

Daniel Kotulla
Daniel Kotulla on 18 Nov 2019
Hi Fazil,
Please find below the details of the installed Visual studio in my PC. I believe that we have the
Professinal version only.
Microsoft Visual Studio Professional 2017
Version 15.3.2
VisualStudio.15.Release/15.3.2+26730.10
Microsoft .NET Framework
Version 4.8.03761
Installed Version: Professional
Thanks
Regards
  1 Comment
Charlie DeVane
Charlie DeVane on 18 Nov 2019
Hi Daniel,
Sorry this is taking a while to diagnose, but we need some more details. Please run the two commands below and post the output.
thanks,
Charlie
>> mex -setup:MSVCPP150 -v
>> a = mex.getCompilerConfigurations('C++', 'selected')

Sign in to comment.


Daniel Kotulla
Daniel Kotulla on 18 Nov 2019
Hi Charlie
Thanks for your quick responses. No problem please take your time.
Please find below the outpts of the above commands as requested.
Kindly let me know in case of further clarifications.
>> mex -setup:MSVCPP150 -v
Verbose mode is on.
... Looking for compiler 'Microsoft Visual C++ 2017' ...
... Looking for registry setting 'HKLM\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 15.0 ...No.
... Looking for registry setting 'HKCU\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 15.0 ...No.
... Looking for registry setting 'HKLM\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VS7' 15.0 ...Yes ('C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\').
... Executing command 'set "vcroot=C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools"&for /f "delims= " %a in ('type "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\Microsoft.VCToolsVersion.default.txt"') do @if exist "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\%a\bin\HostX64\x64\cl.exe" call echo %vcroot%' ...Yes ('C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools').
... Looking for registry setting 'HKLM\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v10.0' InstallationFolder ...No.
... Looking for registry setting 'HKCU\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v10.0' InstallationFolder ...No.
... Looking for registry setting 'HKLM\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v10.0' InstallationFolder ...Yes ('C:\Program Files (x86)\Windows Kits\10\').
... Looking for registry setting 'HKLM\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 15.0 ...No.
... Looking for registry setting 'HKCU\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 15.0 ...No.
... Looking for registry setting 'HKLM\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VS7' 15.0 ...Yes ('C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\').
... Looking for registry setting 'HKLM\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 15.0 ...No.
... Looking for registry setting 'HKCU\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 15.0 ...No.
... Looking for registry setting 'HKLM\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VS7' 15.0 ...Yes ('C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\').
... Executing command 'set "vcroot=C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools"&for /f "delims= " %a in ('type "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\Microsoft.VCToolsVersion.default.txt"') do @if exist "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\%a\bin\HostX64\x64\cl.exe" call echo %vcroot%\VC\Tools\MSVC\%a' ...Yes ('C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.12.25827').
... Looking for registry setting 'HKLM\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 15.0 ...No.
... Looking for registry setting 'HKCU\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 15.0 ...No.
... Looking for registry setting 'HKLM\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VS7' 15.0 ...Yes ('C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\').
... Looking for file 'C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvarsall.bat' ...Yes.
... Looking for folder 'C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build' ...Yes.
... Looking for registry setting 'HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows Kits\Installed Roots' KitsRoot10 ...Yes ('C:\Program Files (x86)\Windows Kits\10\').
... Looking for registry setting 'HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows Kits\Installed Roots' KitsRoot10 ...Yes ('C:\Program Files (x86)\Windows Kits\10\').
... Executing command 'echo off&set "sdkversion="&(for /f %a IN ('dir "C:\Program Files (x86)\Windows Kits\10\include\" /b /ad-h /on') do ( @if exist "C:\Program Files (x86)\Windows Kits\10\include\%a\ucrt\" set "sdkversion=%a" ))&call echo %sdkversion%' ...Yes ('10.0.16299.0').
Found installed compiler 'Microsoft Visual C++ 2017'.
MEX configured to use 'Microsoft Visual C++ 2017' for C++ language compilation.
>> a = mex.getCompilerConfigurations('C++', 'selected')
a =
CompilerConfiguration with properties:
Name: 'Microsoft Visual C++ 2017'
Manufacturer: 'Microsoft'
Language: 'C++'
Version: '15.0'
Location: 'C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\'
ShortName: 'MSVCPP150'
Priority: 'A'
Details: [1×1 mex.CompilerConfigurationDetails]
LinkerName: 'link'
LinkerVersion: ''
MexOpt: 'C:\Users\b.desikan\AppData\Roaming\MathWorks\MATLAB\R2019b\mex_C++_win64.xml'
Thanks
Regards
.
  1 Comment
Charlie DeVane
Charlie DeVane on 18 Nov 2019
Hi Daniel,
It looks like your machine has both Professional and Build Tools editions installed, and somehow the registry is pointing to Build Tools. I suggest:
  1. Uninstall BuildTools version. If the you cannot find that edition, uninstall all editions and then install the supported edition only (Professional, Enterprise or Community)
  2. Start MATLAB and type >>mex -setup C++
  3. Select VS 2017
  4. Run >> mex.getCompilerConfigurations('C++', 'selected')
  5. Confirm that the location points to the supported edition instead of "BuildTools", eg, "Location: 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\'"
hope this helps,
Charlie

Sign in to comment.


Daniel Kotulla
Daniel Kotulla on 19 Nov 2019
Hi Charlie
Thanks a lot, this helped me fix that issue. However, I am having the following error
in the validateAudioPlugin command as follows. But the mex setup you mentioned above are config correctly.
Please note that earlier "validateAudioPlugin" command was running fine in my set-up.
>> validateAudioPlugin ReverbXtraction
Checking plug-in class 'ReverbXtraction'... passed.
Generating testbench file 'testbench_ReverbXtraction.m'... done.
Running testbench... passed.
Generating mex file 'testbench_ReverbXtraction_mex.mexw64'... ------------------------------------------------------------------------
[1/28] cl /c /Zp8 /GR /W3 /EHs /nologo /MD /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0 /DMATLAB_MEX_FILE /DMATLAB_MEX_FILE /O2 /Oy- /DNDEBUG /fp:strict /I "." /I "C:\Users\b.desikan\Documents\ReverbXtraction_V_3_0_update_JUCE" /I ".\interface" /I "C:\Program Files\MATLAB\R2019b\extern\include" /I "C:\Program Files\MATLAB\R2019b\simulink\include" /I "C:\Program Files\MATLAB\R2019b\rtw\c\src" /I "C:\Program Files\MATLAB\R2019b\rtw\c\src\ext_mode\common" /I "C:\Program Files\MATLAB\R2019b\rtw\c\ert" /I "." -DMODEL=testbench_ReverbXtraction_mex -DHAVESTDIO -DUSE_RTMODEL /openmp testbench_ReverbXtraction_mexutil.c /Fobuild\win64\testbench_ReverbXtraction_mexutil.obj
FAILED: build/win64/testbench_ReverbXtraction_mexutil.obj
cl /c /Zp8 /GR /W3 /EHs /nologo /MD /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0 /DMATLAB_MEX_FILE /DMATLAB_MEX_FILE /O2 /Oy- /DNDEBUG /fp:strict /I "." /I "C:\Users\b.desikan\Documents\ReverbXtraction_V_3_0_update_JUCE" /I ".\interface" /I "C:\Program Files\MATLAB\R2019b\extern\include" /I "C:\Program Files\MATLAB\R2019b\simulink\include" /I "C:\Program Files\MATLAB\R2019b\rtw\c\src" /I "C:\Program Files\MATLAB\R2019b\rtw\c\src\ext_mode\common" /I "C:\Program Files\MATLAB\R2019b\rtw\c\ert" /I "." -DMODEL=testbench_ReverbXtraction_mex -DHAVESTDIO -DUSE_RTMODEL /openmp testbench_ReverbXtraction_mexutil.c /Fobuild\win64\testbench_ReverbXtraction_mexutil.obj
CreateProcess failed: The system cannot find the file specified.
[2/28] cl /c /Zp8 /GR /W3 /EHs /nologo /MD /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0 /DMATLAB_MEX_FILE /DMATLAB_MEX_FILE /O2 /Oy- /DNDEBUG /fp:strict /I "." /I "C:\Users\b.desikan\Documents\ReverbXtraction_V_3_0_update_JUCE" /I ".\interface" /I "C:\Program Files\MATLAB\R2019b\extern\include" /I "C:\Program Files\MATLAB\R2019b\simulink\include" /I "C:\Program Files\MATLAB\R2019b\rtw\c\src" /I "C:\Program Files\MATLAB\R2019b\rtw\c\src\ext_mode\common" /I "C:\Program Files\MATLAB\R2019b\rtw\c\ert" /I "." -DMODEL=testbench_ReverbXtraction_mex -DHAVESTDIO -DUSE_RTMODEL /openmp rt_nonfinite.c /Fobuild\win64\rt_nonfinite.obj
FAILED: build/win64/rt_nonfinite.obj
cl /c /Zp8 /GR /W3 /EHs /nologo /MD /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0 /DMATLAB_MEX_FILE /DMATLAB_MEX_FILE /O2 /Oy- /DNDEBUG /fp:strict /I "." /I "C:\Users\b.desikan\Documents\ReverbXtraction_V_3_0_update_JUCE" /I ".\interface" /I "C:\Program Files\MATLAB\R2019b\extern\include" /I "C:\Program Files\MATLAB\R2019b\simulink\include" /I "C:\Program Files\MATLAB\R2019b\rtw\c\src" /I "C:\Program Files\MATLAB\R2019b\rtw\c\src\ext_mode\common" /I "C:\Program Files\MATLAB\R2019b\rtw\c\ert" /I "." -DMODEL=testbench_ReverbXtraction_mex -DHAVESTDIO -DUSE_RTMODEL /openmp rt_nonfinite.c /Fobuild\win64\rt_nonfinite.obj
CreateProcess failed: The system cannot find the file specified.
[3/28] cl /c /Zp8 /GR /W3 /EHs /nologo /MD /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0 /DMATLAB_MEX_FILE /DMATLAB_MEX_FILE /O2 /Oy- /DNDEBUG /fp:strict /I "." /I "C:\Users\b.desikan\Documents\ReverbXtraction_V_3_0_update_JUCE" /I ".\interface" /I "C:\Program Files\MATLAB\R2019b\extern\include" /I "C:\Program Files\MATLAB\R2019b\simulink\include" /I "C:\Program Files\MATLAB\R2019b\rtw\c\src" /I "C:\Program Files\MATLAB\R2019b\rtw\c\src\ext_mode\common" /I "C:\Program Files\MATLAB\R2019b\rtw\c\ert" /I "." -DMODEL=testbench_ReverbXtraction_mex -DHAVESTDIO -DUSE_RTMODEL /openmp testbench_ReverbXtraction_data.c /Fobuild\win64\testbench_ReverbXtraction_data.obj
FAILED: build/win64/testbench_ReverbXtraction_data.obj
cl /c /Zp8 /GR /W3 /EHs /nologo /MD /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0 /DMATLAB_MEX_FILE /DMATLAB_MEX_FILE /O2 /Oy- /DNDEBUG /fp:strict /I "." /I "C:\Users\b.desikan\Documents\ReverbXtraction_V_3_0_update_JUCE" /I ".\interface" /I "C:\Program Files\MATLAB\R2019b\extern\include" /I "C:\Program Files\MATLAB\R2019b\simulink\include" /I "C:\Program Files\MATLAB\R2019b\rtw\c\src" /I "C:\Program Files\MATLAB\R2019b\rtw\c\src\ext_mode\common" /I "C:\Program Files\MATLAB\R2019b\rtw\c\ert" /I "." -DMODEL=testbench_ReverbXtraction_mex -DHAVESTDIO -DUSE_RTMODEL /openmp testbench_ReverbXtraction_data.c /Fobuild\win64\testbench_ReverbXtraction_data.obj
CreateProcess failed: The system cannot find the file specified.
[4/28] cl /c /Zp8 /GR /W3 /EHs /nologo /MD /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0 /DMATLAB_MEX_FILE /DMATLAB_MEX_FILE /O2 /Oy- /DNDEBUG /fp:strict /I "." /I "C:\Users\b.desikan\Documents\ReverbXtraction_V_3_0_update_JUCE" /I ".\interface" /I "C:\Program Files\MATLAB\R2019b\extern\include" /I "C:\Program Files\MATLAB\R2019b\simulink\include" /I "C:\Program Files\MATLAB\R2019b\rtw\c\src" /I "C:\Program Files\MATLAB\R2019b\rtw\c\src\ext_mode\common" /I "C:\Program Files\MATLAB\R2019b\rtw\c\ert" /I "." -DMODEL=testbench_ReverbXtraction_mex -DHAVESTDIO -DUSE_RTMODEL /openmp eml_int_forloop_overflow_check.c /Fobuild\win64\eml_int_forloop_overflow_check.obj
FAILED: build/win64/eml_int_forloop_overflow_check.obj
cl /c /Zp8 /GR /W3 /EHs /nologo /MD /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0 /DMATLAB_MEX_FILE /DMATLAB_MEX_FILE /O2 /Oy- /DNDEBUG /fp:strict /I "." /I "C:\Users\b.desikan\Documents\ReverbXtraction_V_3_0_update_JUCE" /I ".\interface" /I "C:\Program Files\MATLAB\R2019b\extern\include" /I "C:\Program Files\MATLAB\R2019b\simulink\include" /I "C:\Program Files\MATLAB\R2019b\rtw\c\src" /I "C:\Program Files\MATLAB\R2019b\rtw\c\src\ext_mode\common" /I "C:\Program Files\MATLAB\R2019b\rtw\c\ert" /I "." -DMODEL=testbench_ReverbXtraction_mex -DHAVESTDIO -DUSE_RTMODEL /openmp eml_int_forloop_overflow_check.c /Fobuild\win64\eml_int_forloop_overflow_check.obj
CreateProcess failed: The system cannot find the file specified.
[5/28] cl /c /Zp8 /GR /W3 /EHs /nologo /MD /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0 /DMATLAB_MEX_FILE /DMATLAB_MEX_FILE /O2 /Oy- /DNDEBUG /fp:strict /I "." /I "C:\Users\b.desikan\Documents\ReverbXtraction_V_3_0_update_JUCE" /I ".\interface" /I "C:\Program Files\MATLAB\R2019b\extern\include" /I "C:\Program Files\MATLAB\R2019b\simulink\include" /I "C:\Program Files\MATLAB\R2019b\rtw\c\src" /I "C:\Program Files\MATLAB\R2019b\rtw\c\src\ext_mode\common" /I "C:\Program Files\MATLAB\R2019b\rtw\c\ert" /I "." -DMODEL=testbench_ReverbXtraction_mex -DHAVESTDIO -DUSE_RTMODEL /openmp audioPlugin.c /Fobuild\win64\audioPlugin.obj
FAILED: build/win64/audioPlugin.obj
cl /c /Zp8 /GR /W3 /EHs /nologo /MD /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0 /DMATLAB_MEX_FILE /DMATLAB_MEX_FILE /O2 /Oy- /DNDEBUG /fp:strict /I "." /I "C:\Users\b.desikan\Documents\ReverbXtraction_V_3_0_update_JUCE" /I ".\interface" /I "C:\Program Files\MATLAB\R2019b\extern\include" /I "C:\Program Files\MATLAB\R2019b\simulink\include" /I "C:\Program Files\MATLAB\R2019b\rtw\c\src" /I "C:\Program Files\MATLAB\R2019b\rtw\c\src\ext_mode\common" /I "C:\Program Files\MATLAB\R2019b\rtw\c\ert" /I "." -DMODEL=testbench_ReverbXtraction_mex -DHAVESTDIO -DUSE_RTMODEL /openmp audioPlugin.c /Fobuild\win64\audioPlugin.obj
CreateProcess failed: The system cannot find the file specified.
[6/28] cl /c /Zp8 /GR /W3 /EHs /nologo /MD /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0 /DMATLAB_MEX_FILE /DMATLAB_MEX_FILE /O2 /Oy- /DNDEBUG /fp:strict /I "." /I "C:\Users\b.desikan\Documents\ReverbXtraction_V_3_0_update_JUCE" /I ".\interface" /I "C:\Program Files\MATLAB\R2019b\extern\include" /I "C:\Program Files\MATLAB\R2019b\simulink\include" /I "C:\Program Files\MATLAB\R2019b\rtw\c\src" /I "C:\Program Files\MATLAB\R2019b\rtw\c\src\ext_mode\common" /I "C:\Program Files\MATLAB\R2019b\rtw\c\ert" /I "." -DMODEL=testbench_ReverbXtraction_mex -DHAVESTDIO -DUSE_RTMODEL /openmp matlabCodegenHandle.c /Fobuild\win64\matlabCodegenHandle.obj
FAILED: build/win64/matlabCodegenHandle.obj
cl /c /Zp8 /GR /W3 /EHs /nologo /MD /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0 /DMATLAB_MEX_FILE /DMATLAB_MEX_FILE /O2 /Oy- /DNDEBUG /fp:strict /I "." /I "C:\Users\b.desikan\Documents\ReverbXtraction_V_3_0_update_JUCE" /I ".\interface" /I "C:\Program Files\MATLAB\R2019b\extern\include" /I "C:\Program Files\MATLAB\R2019b\simulink\include" /I "C:\Program Files\MATLAB\R2019b\rtw\c\src" /I "C:\Program Files\MATLAB\R2019b\rtw\c\src\ext_mode\common" /I "C:\Program Files\MATLAB\R2019b\rtw\c\ert" /I "." -DMODEL=testbench_ReverbXtraction_mex -DHAVESTDIO -DUSE_RTMODEL /openmp matlabCodegenHandle.c /Fobuild\win64\matlabCodegenHandle.obj
CreateProcess failed: The system cannot find the file specified.
ninja: build stopped: subcommand failed.
------------------------------------------------------------------------
??? Build error: C compiler produced errors. See the Build Log for further details.
Code generation failed: View Error Report
Error using coder.internal.generateAudioPlugin
Error in validateAudioPlugin
>>
Thanks again!!,
BR
Daniel
  2 Comments
Charlie DeVane
Charlie DeVane on 19 Nov 2019
Edited: Charlie DeVane on 19 Nov 2019
Hi Daniel,
Can you reproduce this on a different computer?
Please run the commands below and post the output.
>> ver
>> mex -setup:MSVCPP150 -v
>> mex.getCompilerConfigurations('C++', 'selected')
>> mex -setup:MSVC150 -v
>> mex.getCompilerConfigurations('C', 'selected')
Charlie DeVane
Charlie DeVane on 19 Nov 2019
It would also be helpful if you can send us an example plugin, as small as possible, that reproduces the problem. If you would rather not post that publicly, we can proceed through tech support.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!