【算能】stream在docker的环境下编译报错

错误问题一:

/workspace/sophon-stream/element/multimedia/encode/../../../3rdparty/websocketpp/websocketpp/common/asio.hpp:56:14: fatal error: boost/version.hpp: No such file or directory

   56 |     #include

解决方法:

sudo apt-get install libboost-all-dev

错误问题二:

分析:缺少交叉编译器

[  1%] Building CXX object framework/CMakeFiles/framework.dir/src/element.cc.o

[  2%] Building CXX object element/algorithm/yolov5/CMakeFiles/yolov5.dir/src/yolov5_pre_process.cc.o

/bin/sh: 1: aarch64-linux-gnu-g++: not found

make[2]: *** [framework/CMakeFiles/framework.dir/build.make:63: framework/CMakeFiles/framework.dir/src/element.cc.o] Error 127

make[1]: *** [CMakeFiles/Makefile2:516: framework/CMakeFiles/framework.dir/all] Error 2

make[1]: *** Waiting for unfinished jobs....

[  4%] Building CXX object element/algorithm/yolox/CMakeFiles/yolox.dir/src/yolox_pre_process.cc.o

/bin/sh: 1: aarch64-linux-gnu-g++: not found

make[2]: *** [element/algorithm/yolov5/CMakeFiles/yolov5.dir/build.make:63: element/algorithm/yolov5/CMakeFiles/yolov5.dir/src/yolov5_pre_process.cc.o] Error 127

make[1]: *** [CMakeFiles/Makefile2:597: element/algorithm/yolov5/CMakeFiles/yolov5.dir/all] Error 2

/bin/sh: 1: aarch64-linux-gnu-g++: not found

make[2]: *** [element/algorithm/yolox/CMakeFiles/yolox.dir/build.make:63: element/algorithm/yolox/CMakeFiles/yolox.dir/src/yolox_pre_process.cc.o] Error 127

make[2]: *** Waiting for unfinished jobs....

[  5%] Building CXX object framework/CMakeFiles/ivslogger.dir/common/logger.cc.o

/bin/sh: 1: aarch64-linux-gnu-g++: not found

make[2]: *** [framework/CMakeFiles/ivslogger.dir/build.make:63: framework/CMakeFiles/ivslogger.dir/common/logger.cc.o] Error 127

make[2]: *** Waiting for unfinished jobs....

[  6%] Building CXX object element/algorithm/yolox/CMakeFiles/yolox.dir/src/yolox_post_process.cc.o

[  8%] Building CXX object framework/CMakeFiles/ivslogger.dir/common/profiler.cc.o

/bin/sh: 1: aarch64-linux-gnu-g++: not found

make[2]: *** [element/algorithm/yolox/CMakeFiles/yolox.dir/build.make:76: element/algorithm/yolox/CMakeFiles/yolox.dir/src/yolox_post_process.cc.o] Error 127

make[1]: *** [CMakeFiles/Makefile2:570: element/algorithm/yolox/CMakeFiles/yolox.dir/all] Error 2

/bin/sh: 1: aarch64-linux-gnu-g++: not found

make[2]: *** [framework/CMakeFiles/ivslogger.dir/build.make:76: framework/CMakeFiles/ivslogger.dir/common/profiler.cc.o] Error 127

make[1]: *** [CMakeFiles/Makefile2:543: framework/CMakeFiles/ivslogger.dir/all] Error 2

make: *** [Makefile:84: all] Error 2

sudo apt-get install g++-aarch64-linux-gnu

错误问题三:

在stream编译的时候,报错CMake Error: Unable to (re)create the private pkgRedirects directory:

CMake Error: Unable to (re)create the private pkgRedirects directory:

【算能】stream在docker的环境下编译报错_第1张图片

解决方法:

找到问题,权限问题,导致

你可能感兴趣的:(算能)