Code generates error "Generated code from your project uses OpenCV and requires that you use a supported C++ compiler."

29 ビュー (過去 30 日間)
I've downloaded and installed Microsoft Visual Studio 2019 Community Version and also tried changing directory. But still when the following code is compiled it throws the above error.
  3 件のコメント
Xuecong Fan
Xuecong Fan 2023 年 4 月 6 日
Did you figure it out? I have same problem.
Kiran Kumar
Kiran Kumar 2024 年 11 月 11 日 6:59
Did anyone figure it out? because I am facing the same error.

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

回答 (1 件)

Githin George
Githin George 2023 年 10 月 19 日
Hello,
I understand you are using Microsoft Visual Studio 2019 Community Version and the generated code is throwing an error asking to use a supported C++ compiler.
I’ve attached 2 links below that lists the supported compilers for all versions of MATLAB. Please refer the same and verify that the Microsoft Visual Studio 2019 is indeed a supported compiler for your version.
I hope this resolve your issue.

カテゴリ

Help Center および File ExchangeAndroid Devices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by