在 Windows 8.1 中的 Mathconvnet 中使用 vl_compilenn 时出现编译错误
Compile error when using vl_compilenn in Mathconvnet in Windows 8.1
我正在尝试使用 Matlab 的 Mathconvnet library/package 来使用 CNN。在尝试使用函数编译包时
vl_compilenn
following this guide http://www.vlfeat.org/matconvnet/install/#compiling 我遇到了错误。
已采取的步骤:
Installed/uninstalled 然后重新安装 Microsoft SDK 最新版本。
在环境变量中添加路径
- 使用命令 mex -setup c++ 将编译器更改为 C++
这是the error message我得到的。
在我经历了各种堆栈溢出答案之后,我也这样做了
1.) vl_compilenn('EnableImreadJpeg ',false)
虽然我在执行此操作时遇到了不同的错误。
2.) 在 matlab sys 子文件夹
中添加了 gdiplus.lib
编辑:解决方案是选择 Visual Studio 编译器 12 或更高版本,如果已经安装类型
mex -setup -v
在 Matlab 中将显示可用的编译器供选择,select 最新的可用。
如果仍然出现相同的错误,请为 mex-setup c++
和 mex-setup c
选择相同的编译器并再次键入命令:
vl_compilenn('EnableImreadJpeg',false)
.
解决方案是选择 Visual Studio 编译器 12 或更高版本,如果已经安装类型
mex -setup -v
在 Matlab 中将显示可供选择的可用编译器,select 最新的可用。
如果仍然出现相同的错误,请为 mex-setup c++
和 mex-setup c
选择相同的编译器并再次键入命令:
vl_compilenn('EnableImreadJpeg',false)
.
我正在尝试使用 Matlab 的 Mathconvnet library/package 来使用 CNN。在尝试使用函数编译包时
vl_compilenn
following this guide http://www.vlfeat.org/matconvnet/install/#compiling 我遇到了错误。
已采取的步骤:
Installed/uninstalled 然后重新安装 Microsoft SDK 最新版本。
在环境变量中添加路径
- 使用命令 mex -setup c++ 将编译器更改为 C++
这是the error message我得到的。
在我经历了各种堆栈溢出答案之后,我也这样做了
1.) vl_compilenn('EnableImreadJpeg ',false)
虽然我在执行此操作时遇到了不同的错误。
2.) 在 matlab sys 子文件夹
中添加了gdiplus.lib
编辑:解决方案是选择 Visual Studio 编译器 12 或更高版本,如果已经安装类型
mex -setup -v
在 Matlab 中将显示可用的编译器供选择,select 最新的可用。
如果仍然出现相同的错误,请为 mex-setup c++
和 mex-setup c
选择相同的编译器并再次键入命令:
vl_compilenn('EnableImreadJpeg',false)
.
解决方案是选择 Visual Studio 编译器 12 或更高版本,如果已经安装类型
mex -setup -v
在 Matlab 中将显示可供选择的可用编译器,select 最新的可用。
如果仍然出现相同的错误,请为 mex-setup c++
和 mex-setup c
选择相同的编译器并再次键入命令:
vl_compilenn('EnableImreadJpeg',false)
.