Following this question, I'm now trying to compile the pybind11
test cases as instructed here on a Raspberry Pi. What I have done so far:
- installed Raspbian Raspbian Buster Lite from the official page
- updated/upgraded all packages
- updated/upgraded python packages following the instructions here
- compiled and installed
pybind11
following the instructions here
my environment is:
- Raspbian buster version 10
- python 3.7.3
- pip 20.0.2
- gcc 8.3.0
Then running the command make check -j 4
the compiler stops at:
[ 68%] Building CXX object CmakeFiles/pybind11_tests.dir/test_numpy_dtypes.cpp.o
and the errors are:
c++: fatal error: Killed signal terminated program cplusplus
compilation terminated.
make[3]: *** [CMakeFiles/pybind11_tests.dir/build.make:297: CMakeFiles/pybind11_tests.dir/test_local_bindings.cpp.o] Error 1
make[3]: *** waiting for unfinished jobs...
make[2]: *** [CMakeFiles/Makefile2:110: CMakeFiles/pybind11_tests.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:191: CMakeFile/check.dir/rule] Error 2
make: *** [Makefile:157: check] Error 2
I would appreciate it if you could help me understand what is the problem and how I can solve it.