Help with C/C++ compiler for windows 10

4 vues (au cours des 30 derniers jours)
Oriol Vila Clarà
Oriol Vila Clarà le 13 Fév 2016
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 commentaires
Geoff Hayes
Geoff Hayes le 14 Fév 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à le 14 Fév 2016
I downloaded extra VStools for windows and now it works fine. Thank for the help!

Connectez-vous pour commenter.

Réponses (1)

Perez Lilian
Perez Lilian le 1 Avr 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 commentaire
Walter Roberson
Walter Roberson le 1 Avr 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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur MATLAB Compiler SDK dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by