./build_samples for Raspbian 9 not working

./build_samples for Raspbian 9 not working

./build_samples.sh 
-- /etc/*-release distrib: Raspbian 9
-- OMP Release lib: OMP_LIBRARIES_RELEASE-NOTFOUND
-- OMP Debug lib: OMP_LIBRARIES_DEBUG-NOTFOUND
CMake Warning at /home/hloong/inference_engine_vpu_arm/deployment_tools/inference_engine/share/InferenceEngineConfig.cmake:31 (message):
  Intel OpenMP not found.  Intel OpenMP support will be disabled.
  IE_THREAD_SEQ is defined

The Failure is as follow:

virtual memory exhausted: Cannot allocate memory
common/format_reader/CMakeFiles/format_reader.dir/build.make:134: recipe for target 'common/format_reader/CMakeFiles/format_reader.dir/opencv_wraper.cpp.o' failed
make[2]: *** [common/format_reader/CMakeFiles/format_reader.dir/opencv_wraper.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
virtual memory exhausted: Cannot allocate memory
virtual memory exhausted: Cannot allocate memory
common/format_reader/CMakeFiles/format_reader.dir/build.make:110: recipe for target 'common/format_reader/CMakeFiles/format_reader.dir/format_reader.cpp.o' failed
make[2]: *** [common/format_reader/CMakeFiles/format_reader.dir/format_reader.cpp.o] Error 1
hello_classification/CMakeFiles/hello_classification.dir/build.make:62: recipe for target 'hello_classification/CMakeFiles/hello_classification.dir/main.cpp.o' failed
CMakeFiles/Makefile2:190: recipe for target 'common/format_reader/CMakeFiles/format_reader.dir/all' failed
make[1]: *** [common/format_reader/CMakeFiles/format_reader.dir/all] Error 2
make[2]: *** [hello_classification/CMakeFiles/hello_classification.dir/main.cpp.o] Error 1
make[1]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:715: recipe for target 'hello_classification/CMakeFiles/hello_classification.dir/all' failed

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Dear Hean,

Did you follow this wiki ? There is a section on Raspbian Stretch:

https://github.com/opencv/opencv/wiki/Intel%27s-Deep-Learning-Inference-Engine-backend#raspbian-stretch

Leave a Comment

Please sign in to add a comment. Not a member? Join today