Skip to content

Commit

Permalink
Update linux-x86_64.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tpoisonooo authored Aug 28, 2023
1 parent 1ca25a2 commit f431f1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/zh_cn/01-how-to-build/linux-x86_64.md
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ mim install -e .
- cuda + TensorRT + onnxruntime + openvino + ncnn

如果使用了 [ncnn 自动安装脚本](../../../tools/scripts/build_ubuntu_x64_ncnn.py), protobuf 会安装在 mmdeploy 同级目录的 mmdeploy-dep/pbinstall 中。

```Bash
export PROTO_DIR=/path/to/mmdeploy-dep/pbinstall
cmake .. \
Expand All @@ -408,7 +408,7 @@ mim install -e .
-DTENSORRT_DIR=${TENSORRT_DIR} \
-DCUDNN_DIR=${CUDNN_DIR} \
-DONNXRUNTIME_DIR=${ONNXRUNTIME_DIR} \
-DInferenceEngine_DIR=${InferenceEngine_DIR} \
-DInferenceEngine_DIR=${OPENVINO_DIR}/runtime/cmake \
-Dncnn_DIR=${NCNN_DIR}/build/install/lib/cmake/ncnn \
-DProtobuf_LIBRARIES=${PROTO_DIR}/lib/libprotobuf.so \
-DProtobuf_PROTOC_EXECUTABLE=${PROTO_DIR}/bin/protoc \
Expand Down

0 comments on commit f431f1f

Please sign in to comment.