Help with C/C++ compiler for windows 10

2 views (last 30 days)
Oriol Vila Clarà
Oriol Vila Clarà on 13 Feb 2016
Commented: Walter Roberson on 1 Apr 2018
Hi, I need to use matconvnet toolbox for a project. http://www.vlfeat.org/matconvnet/
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 Comments
Geoff Hayes
Geoff Hayes on 14 Feb 2016
Oriol - it looks like you have installed Visual Studio 14.0 (is this the case?). Which Microsoft SDK have you installed?
Oriol Vila Clarà
Oriol Vila Clarà on 14 Feb 2016
I downloaded extra VStools for windows and now it works fine. Thank for the help!

Sign in to comment.

Answers (1)

Perez Lilian
Perez Lilian on 1 Apr 2018
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 Comment
Walter Roberson
Walter Roberson on 1 Apr 2018
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.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!