游雁
2024-02-19 94de39dde2e616a01683c518023d0fab72b4e103
runtime/websocket/readme.md
@@ -40,27 +40,17 @@
### Download onnxruntime
https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/dep_libs/onnxruntime-win-x64-1.16.1.zip
Download to d:\ffmpeg-master-latest-win64-gpl-shared
Download to d:\onnxruntime-win-x64-1.16.1
### Download ffmpeg
https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/dep_libs/ffmpeg-master-latest-win64-gpl-shared.zip
Download to d:\onnxruntime-win-x64-1.16.1
Download to d:\ffmpeg-master-latest-win64-gpl-shared
### Download openssl
https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/dep_libs/openssl-1.1.1w.tar.gz
https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/dep_libs/openssl-1.1.1w.zip
Download to d:/src/openssl-1.1.1w
Open x64 Native Tools Command Prompt and execute the following compilation steps
```
d:
cd d:/src/openssl-1.1.1w
perl Configure VC-WIN64A --prefix=d:/openssl-1.1.1w
nmake
namke install
```
Download to d:\openssl-1.1.1w
### Build runtime
```
@@ -70,5 +60,5 @@
cd build
cmake ../ -D OPENSSL_ROOT_DIR=d:/openssl-1.1.1w -D FFMPEG_DIR=d:/ffmpeg-master-latest-win64-gpl-shared -D ONNXRUNTIME_DIR=d:/onnxruntime-win-x64-1.16.1
```
Open FunASRWebscoket.sln in Visual Studio and complete the compilation.
Open FunASR/runtime/websocket/build/FunASRWebscoket.sln in Visual Studio and complete the compilation.