【发布时间】:2020-01-28 20:57:38
【问题描述】:
按照this question,我现在正在尝试按照here 的指示在Raspberry Pi 上编译pybind11 测试用例。到目前为止我做了什么:
- 从the official page 安装了 Raspbian Raspbian Buster Lite
- 更新/升级了所有软件包
- 按照here的说明更新/升级了python包
- 按照here 的说明编译并安装
pybind11
我的环境是:
- Raspbian buster 版本 10
- python 3.7.3
- 点 20.0.2
- gcc 8.3.0
然后运行命令make check -j 4编译器停止在:
[68%] 构建CXX对象CmakeFiles/pybind11_tests.dir/test_numpy_dtypes.cpp.o
错误是:
c++: 致命错误:终止信号终止程序 cplusplus
编译终止。
make[3]: *** [CMakeFiles/pybind11_tests.dir/build.make:297: CMakeFiles/pybind11_tests.dir/test_local_bindings.cpp.o] 错误1
make[3]: *** 等待未完成的工作...
make[2]: *** [CMakeFiles/Makefile2:110: CMakeFiles/pybind11_tests.dir/all] 错误2
make[1]: *** [CMakeFiles/Makefile2:191: CMakeFile/check.dir/rule] 错误2
make: *** [Makefile:157: check] 错误 2
如果您能帮助我了解问题所在以及如何解决,我将不胜感激。
【问题讨论】:
标签: c++ compiler-errors raspbian pybind11