Could not generate .wasm file when building opencv.js
I was trying to build the opencv.js with the wasm output. I just followed the steps on the opencv.js tutorial:
cd opencv
python ./platforms/js/build_js.py build_wasm --build_wasm
The build was completed with no error (some warnings), but I could not find the .wasm output in the bin folder, there were only two files opencv.js and opencv_js.js. I want to use the feature2d module so I tried the latest versions 4.0.0 and 3.4.4, both of them did not output the wasm file. Attached is the output in the terminal console for your reference: link text
Then I also tried 3.4.3 version, and this time I was able to get the opencv_js.wasm file together with opencv.js and opencv_js.js. But it seems that 3.4.3 version does not include features2d in the js binding.
Environment - OpenCV => 4.0.0 / 3.4.4 - Operating System / Platform => Ubuntu 16.04 - Compiler => Emscripten 1.38.20
can you put your output HERE (even if it's long !), not on an external dropbox (where it will expire) ?
The whole output is around 10k lines.. so I think maybe it's better to put in a file. I put it on google drive so it won't expire.
Exact same problem here, opencv.js and opencv_js.js are generated, but not the wasm file
Exactly the same problem here. I've also tried to build the latest version and there were only 2 files in the build_wasm directory, opencv.js, and opencv_js.js and the build were completed with no errors. I've tried version 3.4.5 but same here. Then I tried 3.4.3 and yes, there was an opencv_js.wasm file together with opencv.js and opencv_js.js.
See this https://github.com/opencv/opencv/issu...