Skip to content
Advertisement

“emcc” command does not recognized

I’m having issue with building this demo. https://github.com/kakukogou/opencvjs_demo_segmentation

When i cd into this folder and run make command i get this error message:

JavaScript

This is how make file looks like.

JavaScript

Is there any issue with my environment variables. What is the proper way to compile this ?

Advertisement

Answer

For whatever reason default path configurations in .emscripten does not enable emcc in terminal. so i manually set the EMSCRIPTEN_ROOT in /etc/environment and now it recognizes the emcc command in terminal.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement