mirror of
https://github.com/open-mmlab/mmdeploy.git
synced 2025-01-14 08:09:43 +08:00
* update generate_build_config to support cxx11abi tag * test prebuild ci * update docs/zh_cn/get_started.md * update docs/en/get_started.md * fix prebuild ci * update prebuilt_package_windows.md * update prebuild ci deps * fix prebuild ci * try to fix prebuild ci * fix prebuild ci * remove trigger [no ci]
29 lines
657 B
Markdown
29 lines
657 B
Markdown
# build sdk
|
|
|
|
1. installed opencv (you can skip this step if you have installed it)
|
|
in sdk folder:
|
|
|
|
`./install_opencv.sh`
|
|
|
|
2. set environment variable and path
|
|
in sdk folder:
|
|
|
|
`source ./set_env.sh`
|
|
|
|
(**you have to additionally install cuda and cudnn if use sdk cuda version**)
|
|
|
|
(**may need to set CUDNN environment variable point to cudnn root folder if use sdk cuda version**)
|
|
|
|
3. build sdk
|
|
in sdk folder:
|
|
|
|
`./build_sdk.sh` \
|
|
(if you installed opencv by ./install_opencv.sh)
|
|
|
|
or
|
|
|
|
`./build_sdk.sh "path/to/folder/of/OpenCVConfig.cmake"` \
|
|
(if you installed opencv yourself)
|
|
|
|
the executable will be generated in: `bin/`
|