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

8 ビュー (過去 30 日間)
Giorgos Papadimitriou
Giorgos Papadimitriou 2017 年 10 月 9 日
回答済み: Jan 2017 年 10 月 10 日
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 件のコメント
Jan
Jan 2017 年 10 月 9 日
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 2017 年 10 月 10 日
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.

サインインしてコメントする。

採用された回答

Jan
Jan 2017 年 10 月 10 日
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.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeTroubleshooting in MATLAB Compiler SDK についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by