2017-08-09 131 views
0

當我這樣做使/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

回答

0

你的問題是最有可能這裏:

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

刪除對象(.o)文件並重新運行。 make調用可能在中斷之前導致目標文件被截斷。