mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 23:33:05 +04:00
Merge branch 4.x
This commit is contained in:
@@ -84,7 +84,12 @@ Building OpenCV.js from Source
|
||||
@endcode
|
||||
|
||||
@note
|
||||
It requires `python` and `cmake` installed in your development environment.
|
||||
- It requires `python` and `cmake` installed in your development environment.
|
||||
- To build with Emscripten 4.0.20 or later, append --cmake_option="-DCMAKE_CXX_STANDARD=17" .
|
||||
Embind requires C++17 or later since Emscripten 4.0.20.
|
||||
@code{.bash}
|
||||
emcmake python ./opencv/platforms/js/build_js.py build_js --cmake_option="-DCMAKE_CXX_STANDARD=17"
|
||||
@endcode
|
||||
|
||||
-# [Optional] To build the OpenCV.js loader, append `--build_loader`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user