我已经重新安装了C++可重新发行版,重新启动,在线搜索,阅读帮助文件,我不知道该做什么。
Matlab编码器sais:
验证报告: 2010 v10.0 \ nmake (32位C++ ):工具链未安装。
我已经尝试了一个小时来执行各种复杂的工具链设置步骤,但是没有什么是有效的,我甚至不知道问题是什么,如果是注册表项还是其他什么。
请帮帮我。mex:找到了已安装的编译器MicrosoftWindowsSDK7.1(C++)。MEX配置为“MicrosoftWindowsSDK7.1( C++ )”用于C++语言编译.
警告:找不到“setup_mssdk71.bat”文件。
在coder.make.ToolchainInfo/configureToolchain/configureProperty (第2382行)
编译器中止并告诉我LCC是Matlab的默认编译器,如果我想编译C,我必须撤消C++选项。
>> mex -setup c++ -v
Verbose mode is on.
... Looking for compiler 'Intel C++ Composer XE 2011 with Microsoft SDK 7.1' ...
... Looking for environment variable 'ICPP_COMPILER12' ...No.
Did not find installed compiler 'Intel C++ Composer XE 2011 with Microsoft SDK 7.1'.
... Looking for compiler 'Intel C++ Composer XE 2011 with Microsoft Visual Studio 2008' ...
... Looking for environment variable 'ICPP_COMPILER12' ...No.
Did not find installed compiler 'Intel C++ Composer XE 2011 with Microsoft Visual Studio 2008'.
... Looking for compiler 'Intel C++ Composer XE 2011 with Microsoft Visual Studio 2010 ' ...
... Looking for environment variable 'ICPP_COMPILER12' ...No.
Did not find installed compiler 'Intel C++ Composer XE 2011 with Microsoft Visual Studio 2010 '.
... Looking for compiler 'Intel C++ Composer XE 2013 with Microsoft SDK 7.1' ...
... Looking for environment variable 'ICPP_COMPILER14' ...No.
... Looking for environment variable 'ICPP_COMPILER13' ...No.
Did not find installed compiler 'Intel C++ Composer XE 2013 with Microsoft SDK 7.1'.
... Looking for compiler 'Intel C++ Composer XE 2013 with Microsoft Visual Studio 2010' ...
... Looking for environment variable 'ICPP_COMPILER14' ...No.
... Looking for environment variable 'ICPP_COMPILER13' ...No.
Did not find installed compiler 'Intel C++ Composer XE 2013 with Microsoft Visual Studio 2010'.
... Looking for compiler 'Intel C++ Composer XE 2013 with Microsoft Visual Studio 2012' ...
... Looking for environment variable 'ICPP_COMPILER14' ...No.
... Looking for environment variable 'ICPP_COMPILER13' ...No.
Did not find installed compiler 'Intel C++ Composer XE 2013 with Microsoft Visual Studio 2012'.
... Looking for compiler 'Microsoft Visual C++ 2008 Professional' ...
... Looking for environment variable 'VS90COMNTOOLS' ...No.
Did not find installed compiler 'Microsoft Visual C++ 2008 Professional'.
... Looking for compiler 'Microsoft Visual C++ 2010 Professional' ...
... Looking for environment variable 'VS100COMNTOOLS' ...Yes ('C:\Program Files\Microsoft Visual Studio 10.0\Common7\Tools\').
... Looking for file 'C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\cl.exe' ...Yes.
... Looking for folder 'C:\Program Files\Microsoft Visual Studio 10.0' ...Yes.
... Looking for registry setting 'HKLM\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A' InstallationFolder ...No.
... Looking for registry setting 'HKCU\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A' InstallationFolder ...No.
Did not find installed compiler 'Microsoft Visual C++ 2010 Professional'.
... Looking for compiler 'Microsoft Visual C++ 2012' ...
... Looking for registry setting 'HKLM\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 11.0 ...No.
... Looking for registry setting 'HKCU\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 11.0 ...No.
... Looking for registry setting 'HKLM\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VS7' 11.0 ...No.
... Looking for registry setting 'HKCU\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VS7' 11.0 ...No.
Did not find installed compiler 'Microsoft Visual C++ 2012'.
... Looking for compiler 'Microsoft Visual C++ 2013 Professional' ...
... Looking for registry setting 'HKLM\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 12.0 ...No.
... Looking for registry setting 'HKCU\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 12.0 ...No.
... Looking for registry setting 'HKLM\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VS7' 12.0 ...No.
... Looking for registry setting 'HKCU\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VS7' 12.0 ...No.
Did not find installed compiler 'Microsoft Visual C++ 2013 Professional'.
... Looking for compiler 'Microsoft Windows SDK 7.1 (C++)' ...
... Looking for registry setting 'HKLM\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.1' InstallationFolder ...Yes ('C:\Program Files\Microsoft SDKs\Windows\v7.1\').
... Looking for registry setting 'HKLM\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VC7' 10.0 ...No.
... Looking for registry setting 'HKLM\SOFTWARE\Microsoft\VisualStudio\SxS\VC7' 10.0 ...Yes ('C:\Program Files\Microsoft Visual Studio 10.0\VC\').
... Looking for file 'C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\cl.exe' ...Yes.
... Looking for folder 'C:\Program Files\Microsoft Visual Studio 10.0' ...Yes.
Found installed compiler 'Microsoft Windows SDK 7.1 (C++)'.
... Looking for compiler 'Microsoft Windows SDK 7.1 (C++)' ...
... Looking for registry setting 'HKLM\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.1' InstallationFolder ...Yes ('C:\Program Files\Microsoft SDKs\Windows\v7.1\').
... Looking for registry setting 'HKLM\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VC7' 10.0 ...No.
... Looking for registry setting 'HKLM\SOFTWARE\Microsoft\VisualStudio\SxS\VC7' 10.0 ...Yes ('C:\Program Files\Microsoft Visual Studio 10.0\VC\').
... Looking for file 'C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\cl.exe' ...Yes.
... Looking for folder 'C:\Program Files\Microsoft Visual Studio 10.0' ...Yes.
Found installed compiler 'Microsoft Windows SDK 7.1 (C++)'.
MEX configured to use 'Microsoft Windows SDK 7.1 (C++)' for C++ language compilation.
Warning: The MATLAB C and Fortran API has changed to support MATLAB
variables with more than 2^32-1 elements. In the near future
you will be required to update your code to utilize the
new API. You can find more information about this at:
http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html.发布于 2015-07-07 11:11:04
我终于让它起作用了。
在卸载了十几次之后,我安装了第一个dotNetFx40_Full_x86_x64.exe,并为version 4安装了win SDK,然后重新启动,它工作了.同时,我还安装了composer编译器,它也能工作,我不知道它是否覆盖了一些注册表问题,但是在安装了这3之后,它被修复了。
发布于 2015-07-04 14:28:40
您已经安装了visual c++可再发行版,这不是编译器。您需要可视化c++或其他受支持的编译器之一。
查看Matlab版本的文档以获得完整的列表,WindowsSDK7.1可能是最好的选择。
https://stackoverflow.com/questions/31221582
复制相似问题