首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >opencv_perf_stitching_Release.gch不是由cmakefiles生成的

opencv_perf_stitching_Release.gch不是由cmakefiles生成的
EN

Stack Overflow用户
提问于 2016-09-02 08:30:57
回答 1查看 633关注 0票数 0

我正在尝试用代码块配置openCV,但是它在mingw32 32-make步骤中被卡住了,给出了以下错误:

94%发电量 perf_precomp.hpp.gch/opencv_perf_stitching_Release.gch C:/openCV/opencv/build/x86/mingw/modules/stitching/perf_precomp.hpp:1:0: 致命错误:无法创建预编译头 C:/opeCV/opencv/build/x86/mingw/modules/stitching/perf_precomp.hpp.gch/opencv_perf_stitching_Release.gch: 没有终止这样的文件或目录#ifdef __GNUC__ ^编译。 modules\stitching\CMakeFiles\pch_Generate_opencv_perf_stitching.dir\build.make:61: 焦油的配方 'modules/stitching/perf_precomp.hpp.gch/opencv_perf_stitching_Release.gch‘ 失败的交友32-制造2:* modules/stitching/perf_precomp.hpp.gch/opencv_perf_stitching_Release.gch E 1 CMakeFiles\Makefile2:6569:目标配方 'modules/stitching/CMakeFiles/pch_Generate_opencv_pe rf_stching.dir/所有‘失败的交融32-make1 1:* modules/stitching/CMakeFiles/pch_Generate_opencv_perf_stitching.dir/all ErR2makefile:159:目标'all‘的配方32-make: *所有错误2

我解决不了它!

我使用的是windows 7 32位

EN

回答 1

Stack Overflow用户

发布于 2016-09-12 04:05:55

我遇到了类似的问题,这可能是由cmd输入限制引起的。win7中的cmd输入限制约为8000个字符,在大多数情况下这就足够了。

但是在opencv构建中,一个构建组件(opencv_perf_stitching_Release)可能会因为不同用户执行不同文件夹长度的长command.Because而破坏这个连接,执行命令中的切点位于未固定的position.Their错误消息也完全是distinctive.In --我的例子,我得到了一个消息unrecognized command line option '-sse',但我怀疑我们遇到了同样的问题。

最简单的解决方案是减少构建文件夹level.In (您的情况),您可以将安装路径从C:/opeCV/opencv/更改为C:/opencv/,然后再试一次。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/39287794

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档