采用MingW编译OPENCV,出现recipe for target xxx/can't create precompiled header错误解决方法
来源:互联网 发布:是算法工程师 年龄大了 编辑:程序博客网 时间:2024/05/16 23:01
采用CMAKE+MingW+OpenCV+QT的方法编译OPENCV库,配置选项生成MakeFile一路顺利,然后开始mingw32-make。编译到OPENCV HighGUI模块时错误出现了,打印显示预编译头文件perf_precomp.hpp编译出错,诡异的是换一台电脑后是另外一个模块同样文件编译出错,错误在不同位置。
出现这个诡异问题的原因出乎意料,居然是编译该文件的g++参数太多命令过长,我手动把该命令拷贝出来,然后删除掉一些无用的-I选项,编译通过。生成该文件后,再mingw32-make就没问题了。
0 0
- 采用MingW编译OPENCV,出现recipe for target xxx/can't create precompiled header错误解决方法
- mysql 出现You can't specify target table for update in FROM clause错误的解决方法
- 交叉编译openssh出现错误Makefile:548: recipe for target 'install_sw' failed
- MingW 编译错误.windres.exe: can't popen `gcc -E -xc-header -DRC_INVOKED -MMD -MF 解决:
- 【caffe install】recipe for target 'xxx' failed
- MySQL下“Can’t create/write to file xxx (Errcode: 13)”错误的解决方法
- MySQL下“Can’t create/write to file xxx (Errcode: 13)”错误的解决方法
- MySQL下“Can’t create/write to file xxx (Errcode: 13)”错误的解决方法
- opencv recipe for target 'all' failed解决
- 编译VC++6.0时出出现unexpected end of file while looking for precompiled header directived解决方法
- cocos2d-x Cygwin编译:recipe for target "xxx/libcocos2d.so" fail解决办法
- makefile老是报“recipe for target xxx”错误,不妨先看看编码是否正确
- MySQL "You can't specify target table 'X' for update in FROM clause" 错误解决方法
- mysql中You can’t specify target table for update in FROM clause错误解决方法
- mysql中You can’t specify target table for update in FROM clause错误解决方法
- mysql 中 You can't specify target table <tbl> for update in FROM clause 错误解决方法
- mysql中You can’t specify target table for update in FROM clause错误解决方法
- mysql中You can’t specify target table for update in FROM clause错误解决方法
- 机器人常用的编程语言
- 从头开始编写一个android后台服务器
- JavaScript继承详解(三)
- array.concat
- Mysql 数据库操作 - C/C++转Python边用边学(一)
- 采用MingW编译OPENCV,出现recipe for target xxx/can't create precompiled header错误解决方法
- maven(5)------eclipse下maven常用命令打包
- iOS面试题 2016版
- [NOIP2012] 同余方程
- 非空判断
- js获取页面元素和鼠标的点击位置
- android布局属性详解(RelativeLayout属性)
- JavaScript继承详解(四)
- 使用可重入函数进行更安全的信号处理