Code generates error "Generated code from your project uses OpenCV and requires that you use a supported C++ compiler."
1 次查看(过去 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 个评论
回答(1 个)
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.
Supported compilers for latest release - https://www.mathworks.com/support/requirements/supported-compilers.html
Supported compilers for previous releases - https://www.mathworks.com/support/requirements/previous-releases.html
I hope this resolve your issue.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Setup and Configuration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!