Merge pull request #30010 from Kumataro:cleanupEmscriptionInstallationGuideForOpenCV4

js: doc: clean up Emscripten installation guide (for 4.x)
This commit is contained in:
Alexander Smorkalov
2026-09-21 12:03:30 +03:00
committed by GitHub

View File

@@ -16,7 +16,7 @@ To Install Emscripten, follow instructions of [Emscripten SDK](https://emscripte
For example: For example:
@code{.bash} @code{.bash}
./emsdk update git pull # Note: ./emsdk update is deprecated in modern emsdk; use git pull to update the repository.
./emsdk install latest ./emsdk install latest
./emsdk activate latest ./emsdk activate latest
@endcode @endcode
@@ -37,13 +37,14 @@ emcmake sh -c 'echo ${EMSCRIPTEN}'
@endcode @endcode
The version 2.0.10 of emscripten is verified for latest WebAssembly. Please check the version of Emscripten to use the newest features of WebAssembly. The Emscripten SDK is continuously updated. If you encounter build errors with the latest version, please install and activate a specific version explicitly.
For example: For example:
@code{.bash} @code{.bash}
./emsdk update git pull
./emsdk install 2.0.10 ./emsdk list # to show available versions. v6.0.9 is used in the following steps.
./emsdk activate 2.0.10 ./emsdk install 6.0.9
./emsdk activate 6.0.9
@endcode @endcode
Obtaining OpenCV Source Code Obtaining OpenCV Source Code