Mex error cl : Command line error D8027 cannot execute c1.dll

9 vues (au cours des 30 derniers jours)
Giorgos Papadimitriou
Giorgos Papadimitriou le 9 Oct 2017
Réponse apportée : Jan le 10 Oct 2017
Good eveining, I am trying to execute the mathworks example for mex command running mex yprime.c but I keep on getting the error
Error using mex yprime.c cl : Command line error D8027 : cannot execute 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\Bin\amd64\c1.dll'
Do you have any ideas which is the problem? Thank you.
  2 commentaires
Jan
Jan le 9 Oct 2017
It is not "c1", but "cl" (lowercase L). Please post the message as text. The screenshot seems to be cut off on the right side.
Did you install the compiler properly? Did the compilation work before?
Giorgos Papadimitriou
Giorgos Papadimitriou le 10 Oct 2017
Thank you for your answer. It seems that the dll file it cannot execute is the c1.dll. I followed the instructions described in this link https://www.mathworks.com/matlabcentral/answers/101105-how-do-i-install-microsoft-windows-sdk-7-1 for the SDK 7.1 installation but faced problems like framework 4.6 is already included in the OS of windows 10 with a result to get the framework error
even if I used event special software to clean all the existed frameworks. During the SDK installation although I get the process conclude successfully I get the attached warning
I also used the separate visual compilers for windows SDK 7.1 with no result. Here is the result of my mex -setup command
It is the first time I am trying to do the compilation. Thank you for your help.

Connectez-vous pour commenter.

Réponse acceptée

Jan
Jan le 10 Oct 2017
You will find many instruction how to install the SDK 7.1 under Windows 10, if you search in the forum:
The large number of related threads shows, that the problem is not trivial. But e.g. https://www.mathworks.com/matlabcentral/answers/101105-how-do-i-install-microsoft-windows-sdk-7-1 should contain all required steps.

Plus de réponses (0)

Catégories

En savoir plus sur Troubleshooting in 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