(solved) Why can't I generate an audio plugin from the StereoWidth example?

7 ビュー (過去 30 日間)
Joshua VanName
Joshua VanName 2022 年 3 月 6 日
編集済み: Walter Roberson 2022 年 10 月 3 日
Hello,
I am trying to follow along with the example shown here: https://www.mathworks.com/help/audio/gs/design-an-audio-plugin.html
When attempting to:
>> generateAudioPlugin StereoWidth
My command window displays:
..Warning: Selected C compiler is incompatible with C99 (ISO)
language standard. Code generation will switch to C89/90 (ANSI)
instead. Consider changing C compiler or target language setting
to suppress this warning.
??? The specified code generation target is configured to
generate C++, but the C-only compiler, LCC, is the default
compiler. To allow code generation, you can deselect the
'Generate makefile' option. Or, to specify a C++ compiler, enter
'mex -setup' at the command prompt. To generate C code, set the
target language to C in the configuration object.
I have tried:
>> mex -setup c++
MEX configured to use 'MinGW64 Compiler (C++)' for C++ language compilation.
However, I haven't gotten anywhere... Can someone help me to get this example to work?
  2 件のコメント
Joshua VanName
Joshua VanName 2022 年 3 月 8 日
I figured out this question. I just needed to instal Visual Studio 2017 with its tools and a specific version of the Windows 10 SDK.
VÁCLAV KAPLAN
VÁCLAV KAPLAN 2022 年 10 月 2 日
Hello, what exactly did you install? I'm having the same problem. Thanks.

サインインしてコメントする。

回答 (1 件)

Jimmy Lapierre
Jimmy Lapierre 2022 年 3 月 11 日
編集済み: Walter Roberson 2022 年 10 月 3 日
I see you found a solution. Just for reference, here is a list of supported compilers for Audio and other toolboxes (there is a link on the top right to check for older version of MATLAB as well)

カテゴリ

Help Center および File ExchangeCode Generation and Deployment についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by