Open
Description
🐛 Bug
To Reproduce
Steps to reproduce the behavior (always include the command you ran):
- Run cmd:
cmake -DCMAKE_BUILD_TYPE=release .. -DONNXRUNTIME_DIR=~/software/onnxruntime-linux-x64-1.14.0 -DFFMPEG_DIR=~/software/ffmpeg- n5.1.6-9-gdcdfd7fb62-linux64-gpl-shared-5.1
&&make -j8
- See error:
Environment
- OS (e.g., Linux): WSL2, ubuntu22.04
- FunASR Version (e.g., 1.0.0): main
- Any other relevant information:
- gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
- onnxruntime-linux-x64-1.14.0
- ffmpeg-n5.1.6-9-gdcdfd7fb62-linux64-gpl-shared-5.1
- 其它依赖是Cmake直接下载的,boost安装是
apt install libboost-dev libboost-system-dev
Additional context
最开始的funasr源码版本是可以编译成功的,但在运行时接到POST请求会崩溃,就是这个issue#1943,根据此issue中,去更新了代码,用到了boost,主要是添加了connection.hpp的第23行,然后编译时就出现大量的“conflicts with a previous declaration”。看了确实是在boost库、asio库都有很多同名定义,但他们是去各自的命名空间啊,但make无法编译成功,自己确实无法解决,希望能得到一些指导。
此外:自己在rk3588板子上进行编译,也是一样的情况。