Home Cannot get Emscripten path, please specify it either by EMSCRIPTEN environment variable or --emscripten_dir option(opencv.js build error)
Reply: 0

Cannot get Emscripten path, please specify it either by EMSCRIPTEN environment variable or --emscripten_dir option(opencv.js build error)

user1235
1#
user1235 Published in May 26, 2018, 3:50 pm

I am totally new for opencv.js.I have some problems on building opencv.js I am using Windows 10.I follow below steps for setup opencv.js

https://docs.opencv.org/3.3.1/d4/da1/tutorial_js_setup.html

1-)First I used below link to download the Empscripten https://kripken.github.io/emscripten-site/docs/getting_started/downloads.html#sdk-installation-instructions

2-)And execute this line son command propmpt(in empscripten folder)

 emsdk
 emsdk_env.bat

After this Execution , Empscripten set the path

EMSDK = C:/Users/q/Desktop/web/opencv.js/emsdk-portable-64bit
EM_CONFIG = C:\Users\q\.emscripten

3-)Download phyton 3

4-)Clone opencv

git clone https://github.com/opencv/opencv.git

5-)Execute this code to build opencv.js but i get this error

python C:\Users\q\opencv\platforms\js\build_js.py C:\OpencvJS

Error:
Cannot get Emscripten path, please specify it either by EMSCRIPTEN environment variable or --emscripten_dir option.

The problem look like "EMPSCRÄ°PTEN cannot set the path properly and part 5 fail to execute".How can i solve this problem?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.310415 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO