开放CV安装工作不正常

问题描述:

当我这样做使/opencv/build目录它之后,它正显示出这种错误的工作高达一定程度上我应该怎么办开放CV安装工作不正常

Linking CXX executable ../../bin/opencv_test_core CMakeFiles/opencv_test_core.dir/test/ocl/test_arithm.cpp.o: file not recognized: File truncated collect2: error: ld returned 1 exit status modules/core /CMakeFiles/opencv_test_core.dir/build.make:824: recipe for target 'bin/opencv_test_core' failed make[2]: * [bin/opencv_test_core] Error 1 CMakeFiles/Makefile2:1421: recipe for target 'modules/core/CMakeFiles/opencv_test_core.dir/all' failed make[1]: * [modules/core/CMakeFiles/opencv_test_core.dir/all] Error 2 Makefile:147: recipe for target 'all' failed make: *** [all] Error 2

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

CMakeFiles/opencv_test_core.dir/test/ocl/test_arithm.cpp.o: file not recognized: File truncated

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