matlabR2014a 和VS2013 交叉编译问题
2017-01-04 13:30
246 查看
先说下我的环境配置:
win 8.1
matlab r2014a(破解版)64位
visual studio 2013
mbuild -setup 总是提示找不到SDK
我试过三种办法,最后一种办法解决问题:
一定要先安装vs2013再安装matlab,不确定的话,可以将matlab卸载重新安装。
1、替换网上提供的mexopts
http://download.csdn.net/detail/sinat_25434937/9732580
2、安装sdk7.1
大家可以在我的上传的资源中下载
http://download.csdn.net/detail/sinat_25434937/9732581
3、改变环境路径
按照如下说明增添一个环境变量:VS120COMNTOOLS
Running mex inverbose mode has identified the issue - I installed visual studio to anon-standard location (on my D: drive), but for some reason, the VS120COMNTOOLS environment variable was pointing to the 'C:\Program Files (x86)\MicrosoftVisual Studio 12.0\Common7\Tools\'
directory. Quitting matlab and changing theenvironment variable to the correct location ('D:\Microsoft Visual Studio12.0\Common7\Tools\' in my case) fixed the issue.
相应的VS2010和vs2015的版本添加相应的环境变量。
C:\Softwares\MicrosoftVisual Studio 10.0\Common7\Tools
C:\Softwares\MicrosoftVisual Studio 14.0\Common7\Tools
以下是我的电脑添加的:
![](https://oscdn.geek-share.com/Uploads/Images/Content/201701/c87b55b2a9c8dcc7cc87e959b6c26139)
win 8.1
matlab r2014a(破解版)64位
visual studio 2013
mbuild -setup 总是提示找不到SDK
我试过三种办法,最后一种办法解决问题:
一定要先安装vs2013再安装matlab,不确定的话,可以将matlab卸载重新安装。
1、替换网上提供的mexopts
http://download.csdn.net/detail/sinat_25434937/9732580
2、安装sdk7.1
大家可以在我的上传的资源中下载
http://download.csdn.net/detail/sinat_25434937/9732581
3、改变环境路径
按照如下说明增添一个环境变量:VS120COMNTOOLS
Running mex inverbose mode has identified the issue - I installed visual studio to anon-standard location (on my D: drive), but for some reason, the VS120COMNTOOLS environment variable was pointing to the 'C:\Program Files (x86)\MicrosoftVisual Studio 12.0\Common7\Tools\'
directory. Quitting matlab and changing theenvironment variable to the correct location ('D:\Microsoft Visual Studio12.0\Common7\Tools\' in my case) fixed the issue.
相应的VS2010和vs2015的版本添加相应的环境变量。
C:\Softwares\MicrosoftVisual Studio 10.0\Common7\Tools
C:\Softwares\MicrosoftVisual Studio 14.0\Common7\Tools
以下是我的电脑添加的:
相关文章推荐
- vs2013编译程序不能在xp上运行的问题
- 初学者使用vs2013编译c语言程序遇到问题及解决办法。
- 3D游戏编程大师技巧第一章 vs2013编译书本源码问题解决方案
- 在VS2013编译FFmpeg遇到的问题
- vs2013-qt5编译兼容xp时常遇问题
- vs2013+qt5.3.2 QSerialPort 编译时提示找不到外部符号,连接出错的问题
- 学习Open GL在VS2013编译过程中遇到的问题
- VS2013 win10下交叉编译boost 1.60
- VS2013编译Duilib界面库,“找不到Riched20.lib”的问题
- openCV310编译vs2013问题解决
- VS2013编译duilibv1.1,“找不到Riched20.lib”的问题
- _CRT_SECURE_NO_WARNINGS VS2013安全编译问题解决
- VS2013编译duilibv1.1,“找不到Riched20.lib”的问题
- 20160531 VS2013编译duilibv1.1,“找不到Riched20.lib”的问题
- vs2013编译的程序不能在XP和2003下执行问题的解决
- 初学者使用vs2013编译c语言程序遇到问题及解决办法。
- vs2013 编译vs2012的工程遇到的问题
- vs2013 编译的时候遇到的一个问题
- vim7.4官方源码在vs2013的编译方法及问题总结 (2013-11-04 12:06:52)
- vs2013编译FFMPEG. 连接错误问题.