虚拟机ubuntu系统下执行bash ./build-linux_RK3588.sh 报错:`
```python
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
See also "/home/wm/rknpu2-master/examples/rknn_yolov5_demo/build/build_linux_aarch64/CMakeFiles/CMakeOutput.log".`
然后,根据提示查看cmake 日志:
```python
The target system is: Linux - - The host system is: Linux - 5.4.0-131-generic - x86_64
发现是编译器的问题,然后百度一圈, 说是要交叉编译文章来源:https://www.toymoban.com/news/detail-516673.html
在终端执行下面命令:sudo apt-get install g++-aarch64-linux-gnu
然后就正常啦。文章来源地址https://www.toymoban.com/news/detail-516673.html
到了这里,关于报错:CMake Error at /usr/share/cmake-3.10/Modules/CMakeDetermineCCompiler.cmake:48 (message):的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!