# \#emscripten

**URL:** https://forum.opencv.org/tag/emscripten/221.md

[Latest](https://forum.opencv.org/latest.md) · [Categories](https://forum.opencv.org/categories.md) · [Tags](https://forum.opencv.org/tags.md)

---

## [Building opencv using Emscripten](https://forum.opencv.org/t/building-opencv-using-emscripten/12752)

<div class="topic-metadata">

**Author:** [@Arvind\_Arya](https://forum.opencv.org/u/Arvind_Arya)\
**Replies:** 2\
**Last updated:** [May 21, 2023, 6:53pm UTC](https://forum.opencv.org/t/building-opencv-using-emscripten/12752 "2023-05-21T18:53:36Z")

</div>

I am trying to build using Emscripten using… cmake -DCMAKE\_TOOLCHAIN\_FILE=/Users/arvindarya/emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake -DCMAKE\_ARCHIVE\_OUTPUT\_DIRECTORY=…/libs -DBUILD\_SHARED\_LI…

---

## [Converting a cpp file with opencv modules to wasm](https://forum.opencv.org/t/converting-a-cpp-file-with-opencv-modules-to-wasm/2973)

<div class="topic-metadata">

**Author:** [@TheSlyOne](https://forum.opencv.org/u/TheSlyOne)\
**Replies:** 3\
**Last updated:** [April 25, 2021, 8:42pm UTC](https://forum.opencv.org/t/converting-a-cpp-file-with-opencv-modules-to-wasm/2973 "2021-04-25T20:42:27Z")

</div>

Could someone please help me with converting a cpp file that includes opencv modules to wasm? what are the steps I need to achieve the same? I tried the documentation Building Projects — Emscripten 2.0.16 documentation .…

---

## [Opencv building from source : emcc error code 1 (Emscripten.cmake)](https://forum.opencv.org/t/opencv-building-from-source-emcc-error-code-1-emscripten-cmake/2205)

<div class="topic-metadata">

**Author:** [@cbaba](https://forum.opencv.org/u/cbaba)\
**Replies:** 18\
**Last updated:** [March 27, 2021, 4:23pm UTC](https://forum.opencv.org/t/opencv-building-from-source-emcc-error-code-1-emscripten-cmake/2205 "2021-03-27T16:23:40Z")

</div>

System information (version) OpenCV =\> 4.5.0 Operating System / Platform =\> Windows 10 / 64 Bit Compiler =\> Visual Studio 2021 1.54 Cmake 3.20.0-rc2 Emscripten 1.38.31 Detailed description In a Windows CMD terminal, wh…
