CMake Error: CMake was unable to find a build program corresponding to “MinGW Makefiles“.解决方案(亲测有效)

这篇具有很好参考价值的文章主要介绍了CMake Error: CMake was unable to find a build program corresponding to “MinGW Makefiles“.解决方案(亲测有效)。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

CMake编译OpenCV4.6.0过程中一直出错:

CMake Error: CMake was unable to find a build program corresponding to “MinGW Makefiles”. CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.

解决方案如下:
CMake Error: CMake was unable to find a build program corresponding to “MinGW Makefiles“.解决方案(亲测有效),QT,qt,开发语言,opencv

将CMAKE_MAKE_PROGRAM项后面的路径设置为Qt安装路径下的路径。例如:D:/Qt/Qt5.12.12/Tools/mingw730_64/bin/mingw32-make.exe (该路径根据你QT的按照路径来定)。

重新点击Configure,问题解决!文章来源地址https://www.toymoban.com/news/detail-554522.html

到了这里,关于CMake Error: CMake was unable to find a build program corresponding to “MinGW Makefiles“.解决方案(亲测有效)的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包赞助服务器费用

相关文章

  • Jenkins构建失败提示ERROR: Couldn‘t find any revision to build. Verify the repository and branch ...

    Jenkins构建失败提示ERROR: Couldn‘t find any revision to build. Verify the repository and branch ...

    问题现象 :在jenkins的使用过程中,创建好项目后,执行构建的后,任务失败,查询控制台输出打印如下:  错误提示为:ERROR: Couldn\\\'t find any revision to build. Verify the repository and branch configuration for this job. 问题原因: Jenkins调用git时用了默认的*/master,而gitlab默认使用的是main,打

    2024年02月11日
    浏览(10)
  • docker报Unable to find image ‘image-name:tag‘ locallydocker: Error response from daemon: pull acces

    昨天在使用Docker时,遇到拉取镜像失败的问题。其中一个错误信息是\\\"Unable to find image ‘image-name:tag’ locally docker: Error response from daemon: pull access denied for image-name, repository does not exist or may require ‘docker login’: denied: requested access to the resource is denied\\\"。今天我将分享如何解决此问

    2024年02月10日
    浏览(45)
  • vscode 中由于多个go mod 的报错:Error loading workspace: gopls was not able to find modules in your workspac

    vscode 中由于多个go mod 的报错:Error loading workspace: gopls was not able to find modules in your workspac

    在使用go 语言时,由于本人也是新手,对go 包管理相关的历史演进,版本更迭梳理的还不是很清楚,导致环境的搭建遇到很多困恼 以下问题:Error loading workspace: gopls was not able to find modules in your workspac … 该报错为vscode正下方中间可能会出现的一个持续性的报错提示,看起来十

    2024年02月15日
    浏览(13)
  • 问题记录:jenkins流水线报错ERROR: Couldn‘t find any revision to build. Verify the repository and branch config

    注意配置的gitlab仓库地址是否正确, 是否少一个端口号 ,这是gitlab本身问题,导致的URL不正确。 gitlab配置不正确时可能如下: git@1 92 .1 68 . 130 . 1 31/ xxx / yyy .git 也就是clone时去访问80端口去了? 而实际上宿主机80端口已被占用为其他组件的访问地址,此时去访问80的 xxx/yyy.

    2024年02月03日
    浏览(12)
  • 【docker】 Unable to find image的解决办法

      今天尝试了下docker,发现存在以下问题,进行记录。 时间:2023-12-26 操作系统:centos opencloudos(腾讯云服务器所用centos) 1、pull测试的hello-world镜像报错: 查了下,需要新建daemon.json文件,把docker国外源变更为国内源。 2、尝试 在里面insert: 然而并不支持,重新运行docker报

    2024年02月19日
    浏览(45)
  • eclipse was unable to locate its companion shared library

    eclipse was unable to locate its companion shared library

    当转移或者Copy工程时, eclipse was unable to locate its companion shared library eclipse.ini 里面的路径配置错误导致  

    2024年02月14日
    浏览(12)
  • unable to find valid certification path to requested target

    unable to find valid certification path to requested target

    调用https接口时出现该异常, Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target   原因是可以看上图,因为本地没有目标服务器证书导致。解决此方法的两种方案,1.在运行

    2024年02月02日
    浏览(41)
  • Unable to find GatewayFilterFactory with name TokenRelay

    Unable to find GatewayFilterFactory with name TokenRelay

    Spring Cloud Gateway 网关作为代理资源服务器,需要将 JWT 传递给下游资源服务器,下面是网关的配置 TokenRelay 激活 TokenRelayGatewayFilterFactory,将令牌中继传递给下游资源服务,例如系统服务 (youlai-system) 但是项目启动中会报错: 参考链接:Spring Gateway and Auth0: IllegalArgumentException:

    2024年02月07日
    浏览(248)
  • CMake Error at /opt/ros/noetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package)

    CMake Error at /opt/ros/noetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package)

    在ros中catkin_make功能包时遇到以下错误 解决办法: 终端下执行

    2024年02月12日
    浏览(13)
  • SpringBootTest单元测试异常:Unable to find a @SpringBootConfiguration

    使用@SpringBootTest单元测试启动是异常:         提示为没有找到确定必须的注解,即没有找到springboot的启动类。 方法一         将单元测试类放在与启动类相同的目录下,如: 启动类路径:main/java/org/lizz/obj 单测类路径:test/java/org/lizz/obj 方案二         使用@SpringBootTes

    2024年02月12日
    浏览(43)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包