Help with C/C++ compiler for windows 10
显示 更早的评论
The problem is that for running it I need a C/C++ compiler.
I tried to install MinGW (was quite easy to get from add-ons menu) but unfortunately it's not supported by matconvnet.
So the other alternative was to get a Visual Studio C/C++ compiler.
I have Windows 10 and matlab 2015b and I have not been able to make it work. I tried to follow lots of guides and forum answers but I'm not even able to run the matlab command mex -setup. So I suppose the compiler and matlab are not connected.
Could someone explain me how can I use Visual studio as a compiler?
Thanks.
4 个评论
Geoff Hayes
2016-2-13
Oriol - is your version of the Visual Studio C/C++ compiler supported for your version of MATLAB? What do you observe when you run
mex -setup -v
Oriol Vila Clarà
2016-2-14
编辑:Oriol Vila Clarà
2016-2-14
Geoff Hayes
2016-2-14
Oriol - it looks like you have installed Visual Studio 14.0 (is this the case?). Which Microsoft SDK have you installed?
Oriol Vila Clarà
2016-2-14
回答(1 个)
Perez Lilian
2018-4-1
0 个投票
En suivant la procédure suivante cela a marché pour moi..., https://fr.mathworks.com/support/bugreports/1741173, j'ai pris le fichier zip suivant: attachment_1741173_13b_through_17a_win64_2018-03-08.zip
1 个评论
Walter Roberson
2018-4-1
Access to that attachment requires setting a cookie. You might have your browser set to reject that cookie. For example it works for me from Safari but not from Netscape, but if go into netscape preferences to Privacy and Security, and change Tracking Protection from "Always" to "Never" then I can access the attachment.
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB Support for MinGW-w64 C/C++ Compiler 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!