Ask Your Question

leitco's profile - activity

2018-05-31 12:29:08 -0600 marked best answer Error building openCV.js

I am trying to build OpenCV.js following the steps in this tutorial.

The process fails with the following output:

make[3]: *** [3rdparty/lib/liblibprotobuf.a] Error 1
make[2]: *** [3rdparty/protobuf/CMakeFiles/libprotobuf.dir/all] Error 2
make[1]: *** [modules/js/CMakeFiles/opencv.js.dir/rule] Error 2
make: *** [opencv.js] Error 2
Traceback (most recent call last):
  File "./platforms/js/build_js.py", line 247, in <module>
    builder.build_opencvjs()
  File "./platforms/js/build_js.py", line 182, in build_opencvjs
    execute(["make", "-j", str(multiprocessing.cpu_count()), "opencv.js"])
  File "./platforms/js/build_js.py", line 19, in execute
    raise Fail("Child returned: %s" % retcode)
__main__.Fail: Child returned: 2

Does anybody know what this means or how it can be resolved?

I am on macOS High Sierra and my python version is 2.7.10.

2018-05-31 12:29:08 -0600 received badge  Scholar (source)
2018-05-31 12:29:03 -0600 commented answer Error building openCV.js

Yes I just want to use it, thank you.

2018-05-31 10:27:26 -0600 asked a question Error building openCV.js

Error building openCV.js I am trying to build OpenCV.js following the steps in this tutorial. The process fails with th