首页 文章

打开cv安装不能正常工作

提问于
浏览
0

当我在 /opencv/build 目录中进行制作时,它在某种程度上起作用,之后它显示出这种错误我应该怎么做

链接CXX可执行文件../../bin/opencv_test_core CMakeFiles / opencv_test_core.dir / test / ocl / test_arithm.cpp.o:文件无法识别:文件截断了collect2:错误:ld返回1退出状态modules / core / CMakeFiles / opencv_test_core.dir / build.make:824:目标'bin / opencv_test_core'的配方失败make [2]:* [bin / opencv_test_core]错误1 CMakeFiles / Makefile2:1421:目标'modules / core / CMakeFiles / opencv_test_core的配方 . dir / all'dailed make [1]:* [modules / core / CMakeFiles / opencv_test_core.dir / all]错误2 Makefile:147:目标'all'的配方失败make:*** [all]错误2

1 回答

  • 0

    你的问题最有可能在这里:

    CMakeFiles / opencv_test_core.dir / test / ocl / test_arithm.cpp.o:文件无法识别:文件被截断

    删除对象(.o)文件并重新运行 . make调用可能在中断之前导致目标文件被截断 .

相关问题