修复Windows编译问题

This commit is contained in:
2025-03-10 15:18:30 +08:00
parent 358d21b2bd
commit 2dfe063049
2 changed files with 21 additions and 8 deletions

View File

@ -1 +1,14 @@
## AI工具箱
### 代码编译
注意在Windows下编译时需要打开Visual Studio命令行
```
# 编译第三方库
node thirdpart/install.js --with-onnx --with-mnn --with-opencv
# 编译主库
cmake -B build -G Ninja . -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release
```