I am trying to use Mathconvnet library/package of Matlab for using CNN. While trying to compile the package using the function vl_compilenn
following this guide http://www.vlfeat.org/matconvnet/install/#compiling i'm facing errors.
Steps Already Taken:
Installed/uninstalled then reinstalled Microsoft SDK latest version.
Added path in Environment variable
Here is the error message I am getting.
After various stack overflow answers that i went through i have also done this
1.) vl_compilenn('EnableImreadJpeg ',false)
although I get different error when I do this.
2.) added gdiplus.lib
in matlab sys subfolder
EDIT: Solution is to choose a Visual Studio Compiler 12 or above, if already installed type mex -setup -v
in Matlab which will show available compilers for choosing,select the latest one available. if still getting the same error choose same compiler for both mex-setup c++
and mex-setup c
and type the command again: vl_compilenn('EnableImreadJpeg',false)
.
Solution is to choose a Visual Studio Compiler 12 or above, if already installed type mex -setup -v
in Matlab which will show available compilers for choosing,select the latest one available. if still getting the same error choose same compiler for both mex-setup c++
and mex-setup c
and type the command again: vl_compilenn('EnableImreadJpeg',false)
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.