找不到Matconvnet错误cl.exe [英] Matconvnet error cl.exe not found

查看:515
本文介绍了找不到Matconvnet错误cl.exe的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经从VLFeat安装了MatConvNet,并且正在尝试对其进行编译.但是当我尝试运行vl_compilenn时,它显示以下错误:

I have installed MatConvNet from VLFeat and I am trying to compile it. But as I am trying to run vl_compilenn it shows the following error:

vl_compilenn
Warning: CL.EXE not found in PATH. Trying to guess out of mex setup. 
> In vl_compilenn>check_clpath (line 580)
  In vl_compilenn (line 413) 
'cl.exe' is not recognized as an internal or external command, 
operable program or batch file. 
Error using vl_compilenn>check_clpath (line 591)
Unable to find cl.exe

Error in vl_compilenn (line 413)
    check_clpath(); % check whether cl.exe in path

推荐答案

安装Visual Studio社区版(这是免费版)(minwg编译器将无法使用) 转到C:\ Program Files(x86)\ Microsoft Visual Studio 搜索cl.exe 选择适合您的计算机体系结构的一种并将其复制到包含matconvnet安装的文件夹中 运行mex -setup c ++并将其设置为Visual Studio 而且您很高兴

install visual studio community edition ( it's the free edition ) (minwg compiler will not work) go to C:\Program Files (x86)\Microsoft Visual Studio search for cl.exe take the one appropriate for your computer architecture and copy it to the folder containing the matconvnet installation run mex -setup c++ and set it to visual studio and you're good to go

这篇关于找不到Matconvnet错误cl.exe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆