I confront some problems when do some working about compiling
1 次查看(过去 30 天)
显示 更早的评论
when I run code 'mbuild -setup', matlab shows 'Warning: Windows SDK 7.1 appears to be installed, but its compiler was not found. Install .NET Framework 4.0, and then rerun the SDKinstallation to add the "Visual C++ Compilers" component.'.
Then I download '.Net Framework 4.6' and install it, shown as below:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/151755/image.png)
But when I rerun 'winsdk_web' to add the "Visual C++ Compilers" component, I find I can't select this item as below:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/151757/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/151758/image.png)
In the fact, I find my PC has install VC++ as below:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/151760/image.png)
So what's the problem? and how I should resolve this problem?
Thank you!
0 个评论
回答(2 个)
Walter Roberson
2015-11-15
If you are not running Windows 10 then you need to uninstall .Net 4.6, then install .NET 4.0 and SDK 7.1, and then install .NET 4.6 again.
If you are running Windows 10, then getting a compiler to work is going to be difficult.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 C Shared Library Integration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!