diff --git a/runtime/onnxruntime/readme.md b/runtime/onnxruntime/readme.md index 06a5ff4d9..cf62f3ee5 100644 --- a/runtime/onnxruntime/readme.md +++ b/runtime/onnxruntime/readme.md @@ -53,4 +53,4 @@ mkdir build cd build cmake ../ -D FFMPEG_DIR=d:/ffmpeg-master-latest-win64-gpl-shared -D ONNXRUNTIME_DIR=d:/onnxruntime-win-x64-1.16.1 ``` -Visual Studio open FunASROnnx.sln start build +Visual Studio open FunASR/runtime/onnxruntime/build/FunASROnnx.sln start build diff --git a/runtime/websocket/readme.md b/runtime/websocket/readme.md index c022de0a3..58790d7cc 100644 --- a/runtime/websocket/readme.md +++ b/runtime/websocket/readme.md @@ -52,14 +52,15 @@ https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/dep_libs/openssl-1.1. Download to d:/src/openssl-1.1.1w -Open x64 Native Tools Command Prompt and execute the following compilation steps ``` +# download and install perl: https://www.activestate.com/products/activeperl/downloads/ d: cd d:/src/openssl-1.1.1w perl Configure VC-WIN64A --prefix=d:/openssl-1.1.1w -nmake -namke install +# Open x64 Native Tools Command Prompt and execute the following compilation steps +nmake +nmake install ``` ### Build runtime @@ -70,5 +71,5 @@ mkdir build 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. diff --git a/runtime/websocket/readme_zh.md b/runtime/websocket/readme_zh.md index c64d99713..c212e8669 100644 --- a/runtime/websocket/readme_zh.md +++ b/runtime/websocket/readme_zh.md @@ -53,13 +53,14 @@ https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/dep_libs/openssl-1.1. 下载解压到 d:/src/openssl-1.1.1w -打开 x64 Native Tools Command Prompt 执行以下编译步骤 ``` +# 下载&安装 perl: https://www.activestate.com/products/activeperl/downloads/ d: cd d:/src/openssl-1.1.1w perl Configure VC-WIN64A --prefix=d:/openssl-1.1.1w +# 管理员身份打开 x64 Native Tools Command Prompt 执行以下编译步骤 nmake -namke install +nmake install ``` @@ -71,5 +72,5 @@ mkdir build 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 ``` -Visual Studio 打开 FunASRWebscoket.sln 完成编译 +Visual Studio 打开 FunASR/runtime/websocket/build/FunASRWebscoket.sln 完成编译