2017-08-09 16 views
0

を働いていないインストールオープン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コールが中断されてオブジェクトファイルが切り捨てられた可能性があります。