Chen Xin 8cab33c4f9
Update get_started.md (#1947)
* 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]
2023-04-03 11:11:47 +08:00

35 lines
810 B
Markdown

# build sdk
1. open windows powerShell with administrator privileges
set-ExecutionPolicy RemoteSigned
2. installed opencv (you can skip this step if you have installed it)
in sdk folder:
`.\install_opencv.ps1`
3. set environment variable and path
in sdk folder:
`. .\set_env.ps1`
if you use sdk cuda version:
(**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**)
4. build sdk
in sdk folder:
`. .\build_sdk.ps1` \
(if you installed opencv by install_opencv.ps1)
or
`. .\build_sdk.ps1 "path/to/folder/of/OpenCVConfig.cmake"` \
(if you installed opencv yourself)
the executable will be generated in:
`example\cpp\build\Release`