【问题标题】:Failed to locate: "CL.exe", Opencv with Visual studio c++ 2010 express program error无法找到:“CL.exe”,Opencv 与 Visual Studio C++ 2010 Express 程序错误
【发布时间】:2013-08-20 07:37:13
【问题描述】:

我已经尝试了很多关于使用 MVS 2010 express C++ 配置 opencv 2.2 或 2.3 的教程,我还尝试卸载并重新安装我的 MVS 2010 以确保它可以正常工作。此外,我还使用 opencv 对其进行了配置,例如创建属性表(DEBUG & RELEASE),然后设置附加依赖项、库、包含等。

但是当试图运行一个简单的程序(比如在视频中显示)时,我得到了这个错误:

1>------ Build started: Project: wew, Configuration: Debug Win32 ------
1>TRACKER : error TRK0005: Failed to locate: "CL.exe". The system cannot find the file     specified.
1>  
1>  
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

有没有人遇到过同样的问题并解决了?

【问题讨论】:

    标签: visual-studio-2010 compiler-errors build-error


    【解决方案1】:

    我在通过 npm 安装 React Native 时遇到了这个问题。我按照这篇文章中的建议解决了这个问题:Visual studio doesn't have cl.exe

    Visual Studio 2015 默认不安装 C++。你必须重新运行 设置,选择修改,然后检查编程语言-> C++

    我认为它也适用于旧版本的 Visual Studio。

    【讨论】:

      【解决方案2】:

      我今天遇到了这个错误,我的问题是我不小心覆盖了项目属性页的“可执行目录”部分。 IE。我覆盖了(通用属性->VC++ 目录->可执行目录)条目。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多