概述
这个问题困扰我很久,终于在这个网站上找到了解决办法,具体如下:
Hi guys,
I tried many different things and finally solved the issue magically, my recipe worked for me, but may/may not work for you.
I have couple of compilers (MinGW64, Visual Studio C++2015); but to solve the issue, I restricted the code to use just one compiler Visual Studio (and not MinGW64 because it didn’t work for me). Change the first lines of code to:
clear all
close all
clc
% Install and compile MatConvNet (needed once).
untar(‘http://www.vlfeat.org/matconvnet/download/matconvnet-1.0-beta23.tar.gz’) ;
cd matconvnet-1.0-beta23
% you choose Visual Studio to be your compliler
mex -setup:‘C:Program FilesMATLABR2016bbinwin64mexoptsmsvc2015.xml’ C
mex -setup:‘C:Program FilesMATLABR2016bbinwin64mexoptsmsvcpp2015.xml’ C++
run matlab/vl_compilenn;
…
BTW, I use:
MATLAB 2016b 64 bits
Visual Studio Community 2015 (which is free: https://www.visualstudio.com/downloads/)
MatConvNet 23
I also have Windows SDV 7.1 installed (I haven’t used it in my code as you see)
Finally, I think you can run the code using Visual Studio 2010 and MATLAB 2016a.
Hope this would solve the issue.
Best
最后
以上就是秀丽舞蹈为你收集整理的Error using mex gcc: error: gdiplus.lib: No such file or directory解决办法的全部内容,希望文章能够帮你解决Error using mex gcc: error: gdiplus.lib: No such file or directory解决办法所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复