User avatar
yanuarbp17
Posts: 5
Joined: Thu Oct 22, 2015 10:55 am
Location: Indonesia
Contact: Yahoo Messenger

[HELP]error build openCV

Fri Oct 30, 2015 7:42 am

Code: Select all

Linking CXX shared library ../../lib/libopencv_features2d.so
[ 64%] Built target opencv_features2d
[ 64%] Generating opencv_perf_features2d_pch_dephelp.cxx
Scanning dependencies of target opencv_perf_features2d_pch_dephelp
[ 64%] Building CXX object modules/features2d/CMakeFiles/opencv_perf_features2d_pch_dephelp.dir/opencv_perf_features2d_pch_dephelp.cxx.o
Linking CXX static library ../../lib/libopencv_perf_features2d_pch_dephelp.a
[ 64%] Built target opencv_perf_features2d_pch_dephelp
[ 64%] Generating perf_precomp.hpp
[ 64%] Generating perf_precomp.hpp.gch/opencv_perf_features2d_RELEASE.gch
[ 64%] Built target pch_Generate_opencv_perf_features2d
[ 64%] Building CXX object modules/features2d/CMakeFiles/opencv_perf_features2d.dir/perf/perf_agast.cpp.o
[ 64%] Building CXX object modules/features2d/CMakeFiles/opencv_perf_features2d.dir/perf/perf_batchDistance.cpp.o
[ 64%] Building CXX object modules/features2d/CMakeFiles/opencv_perf_features2d.dir/perf/perf_fast.cpp.o
[ 64%] Building CXX object modules/features2d/CMakeFiles/opencv_perf_features2d.dir/perf/perf_orb.cpp.o
[ 64%] Building CXX object modules/features2d/CMakeFiles/opencv_perf_features2d.dir/perf/perf_main.cpp.o
[ 64%] Building CXX object modules/features2d/CMakeFiles/opencv_perf_features2d.dir/perf/opencl/perf_fast.cpp.o
[ 65%] Building CXX object modules/features2d/CMakeFiles/opencv_perf_features2d.dir/perf/opencl/perf_orb.cpp.o
[ 65%] Building CXX object modules/features2d/CMakeFiles/opencv_perf_features2d.dir/perf/opencl/perf_brute_force_matcher.cpp.o
Linking CXX executable ../../bin/opencv_perf_features2d
[ 65%] Built target opencv_perf_features2d
[ 65%] Generating opencv_test_features2d_pch_dephelp.cxx
Scanning dependencies of target opencv_test_features2d_pch_dephelp
[ 65%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d_pch_dephelp.dir/opencv_test_features2d_pch_dephelp.cxx.o
Linking CXX static library ../../lib/libopencv_test_features2d_pch_dephelp.a
[ 65%] Built target opencv_test_features2d_pch_dephelp
[ 65%] Generating test_precomp.hpp
[ 65%] Generating test_precomp.hpp.gch/opencv_test_features2d_RELEASE.gch
[ 65%] Built target pch_Generate_opencv_test_features2d
[ 65%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/test_agast.cpp.o
[ 65%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/test_detectors_regression.cpp.o
[ 65%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/test_nearestneighbors.cpp.o
[ 65%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/test_keypoints.cpp.o
[ 65%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/test_fast.cpp.o
[ 65%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/ocl/test_brute_force_matcher.cpp.o
[ 65%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/test_orb.cpp.o
[ 65%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/test_matchers_algorithmic.cpp.o
[ 65%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/test_descriptors_regression.cpp.o
[ 65%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/test_rotation_and_scale_invariance.cpp.o
[ 65%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/test_brisk.cpp.o
[ 65%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/test_mser.cpp.o
[ 66%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/test_main.cpp.o
Linking CXX executable ../../bin/opencv_test_features2d
[ 66%] Built target opencv_test_features2d
[ 66%] Generating opencv_latentsvm_pch_dephelp.cxx
Scanning dependencies of target opencv_latentsvm_pch_dephelp
[ 66%] Building CXX object modules/latentsvm/CMakeFiles/opencv_latentsvm_pch_dephelp.dir/opencv_latentsvm_pch_dephelp.cxx.o
Linking CXX static library ../../lib/libopencv_latentsvm_pch_dephelp.a
[ 66%] Built target opencv_latentsvm_pch_dephelp
[ 66%] Generating precomp.hpp
[ 66%] Generating precomp.hpp.gch/opencv_latentsvm_RELEASE.gch
[ 66%] Built target pch_Generate_opencv_latentsvm
[ 66%] Building CXX object modules/latentsvm/CMakeFiles/opencv_latentsvm.dir/src/lsvmc_resizeimg.cpp.o
[ 66%] Building CXX object modules/latentsvm/CMakeFiles/opencv_latentsvm.dir/src/lsvmc_routine.cpp.o
[ 66%] Building CXX object modules/latentsvm/CMakeFiles/opencv_latentsvm.dir/src/lsvmc_latentsvmdetector.cpp.o
[ 66%] Building CXX object modules/latentsvm/CMakeFiles/opencv_latentsvm.dir/src/lsvmc_matching.cpp.o
[ 66%] Building CXX object modules/latentsvm/CMakeFiles/opencv_latentsvm.dir/src/lsvmc_parser.cpp.o
[ 66%] Building CXX object modules/latentsvm/CMakeFiles/opencv_latentsvm.dir/src/lsvmc_featurepyramid.cpp.o
[ 66%] Building CXX object modules/latentsvm/CMakeFiles/opencv_latentsvm.dir/src/lsvmc_function.cpp.o
[ 66%] Building CXX object modules/latentsvm/CMakeFiles/opencv_latentsvm.dir/src/lsvmc_latentsvm.cpp.o
[ 68%] Building CXX object modules/latentsvm/CMakeFiles/opencv_latentsvm.dir/src/precomp.cpp.o
Linking CXX shared library ../../lib/libopencv_latentsvm.so
[ 68%] Built target opencv_latentsvm
[ 68%] Generating opencv_perf_latentsvm_pch_dephelp.cxx
Scanning dependencies of target opencv_perf_latentsvm_pch_dephelp
[ 68%] Building CXX object modules/latentsvm/CMakeFiles/opencv_perf_latentsvm_pch_dephelp.dir/opencv_perf_latentsvm_pch_dephelp.cxx.o
Linking CXX static library ../../lib/libopencv_perf_latentsvm_pch_dephelp.a
[ 68%] Built target opencv_perf_latentsvm_pch_dephelp
[ 68%] Generating perf_precomp.hpp
[ 68%] Generating perf_precomp.hpp.gch/opencv_perf_latentsvm_RELEASE.gch
[ 68%] Built target pch_Generate_opencv_perf_latentsvm
[ 68%] Building CXX object modules/latentsvm/CMakeFiles/opencv_perf_latentsvm.dir/perf/perf_precomp.cpp.o
[ 68%] Building CXX object modules/latentsvm/CMakeFiles/opencv_perf_latentsvm.dir/perf/perf_main.cpp.o
[ 68%] Building CXX object modules/latentsvm/CMakeFiles/opencv_perf_latentsvm.dir/perf/perf_cascadeclassifier.cpp.o
Linking CXX executable ../../bin/opencv_perf_latentsvm
[ 68%] Built target opencv_perf_latentsvm
[ 68%] Generating opencv_test_latentsvm_pch_dephelp.cxx
Scanning dependencies of target opencv_test_latentsvm_pch_dephelp
[ 68%] Building CXX object modules/latentsvm/CMakeFiles/opencv_test_latentsvm_pch_dephelp.dir/opencv_test_latentsvm_pch_dephelp.cxx.o
Linking CXX static library ../../lib/libopencv_test_latentsvm_pch_dephelp.a
[ 68%] Built target opencv_test_latentsvm_pch_dephelp
[ 68%] Generating test_precomp.hpp
[ 68%] Generating test_precomp.hpp.gch/opencv_test_latentsvm_RELEASE.gch
In file included from /home/pi/opencv-3.0.0/build/modules/latentsvm/test_precomp.hpp:15:0:
/home/pi/opencv-3.0.0/modules/highgui/include/opencv2/highgui.hpp:698:1: fatal error: can’t write PCH file: No space left on device
 } // cv
 ^
compilation terminated.
modules/latentsvm/CMakeFiles/pch_Generate_opencv_test_latentsvm.dir/build.make:53: recipe for target 'modules/latentsvm/test_precomp.hpp.gch/opencv_test_latentsvm_RELEASE.gch' failed
make[2]: *** [modules/latentsvm/test_precomp.hpp.gch/opencv_test_latentsvm_RELEASE.gch] Error 1
CMakeFiles/Makefile2:10463: recipe for target 'modules/latentsvm/CMakeFiles/pch_Generate_opencv_test_latentsvm.dir/all' failed
make[1]: *** [modules/latentsvm/CMakeFiles/pch_Generate_opencv_test_latentsvm.dir/all] Error 2
Makefile:137: recipe for target 'all' failed
make: *** [all] Error 2
Hi.. I've some trouble when build openCV..
I just follow this instruction http://www.pyimagesearch.com/2015/10/26 ... an-jessie/

I try to "make clean" then "make" again, but same problem..
so..I need help to this problem... :D


thank in advance.. :)

User avatar
AndyD
Posts: 2324
Joined: Sat Jan 21, 2012 8:13 am
Location: Melbourne, Australia
Contact: Website

Re: [HELP]error build openCV

Fri Oct 30, 2015 8:56 am

Code: Select all

/home/pi/opencv-3.0.0/modules/highgui/include/opencv2/highgui.hpp:698:1: fatal error: can’t write PCH file: No space left on device
You have run out of disk space. Try reclaiming some space by removing some of the bigger packages. For example if you don't use mathmatica, you could uninstall that. Also, you may be able to get some space back by cleaning the aptitude cache.

Code: Select all

sudo apt-get clean

User avatar
DougieLawson
Posts: 32995
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: [HELP]error build openCV

Fri Oct 30, 2015 11:03 am

A quick and dirty way to get a lot of space freed up is: sudo rm /var/cache/apt/archives/*.deb
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

2012-18: 1B*5, 2B*2, B+, A+, Z, ZW, 3Bs*3, 3B+

Any DMs sent on Twitter will be answered next month.

User avatar
yanuarbp17
Posts: 5
Joined: Thu Oct 22, 2015 10:55 am
Location: Indonesia
Contact: Yahoo Messenger

Re: [HELP]error build openCV

Fri Oct 30, 2015 3:53 pm

thanks AndyD.. now I want to retry, hehe :D

User avatar
rpdom
Posts: 12580
Joined: Sun May 06, 2012 5:17 am
Location: Essex, UK

Re: [HELP]error build openCV

Fri Oct 30, 2015 7:02 pm

DougieLawson wrote:A quick and dirty way to get a lot of space freed up is: sudo rm /var/cache/apt/archives/*.deb
or with less typing: sudo apt-get clean

It does the same thing. Equally quick, not dirty at all. :)

Return to “C/C++”

Who is online

Users browsing this forum: No registered users and 7 guests