artoolkitx / jsartoolkit5

Javascript ARToolKit v5.x
https://artoolkitx.github.io/jsartoolkit5/examples/
Other
292 stars 69 forks source link

error npm run build #77

Closed pikilipita closed 5 years ago

pikilipita commented 5 years ago

When following the "Build with manual emscripten setup" instructions, I get this error while running "npm run build".

Did I missed something?

jsartoolkit@0.0.0 build /Users/me/emsdk/jsartoolkit5 cd emscripten/artoolkit5/ && emconfigure ./Configure && cd ../../ && node tools/makem.js; echo Built at date

emconfigure is a helper for configure, setting various environment variables so that emcc etc. are used. Typical usage:

emconfigure ./configure [FLAGS]

(but you can run any command instead of configure)

shared:ERROR: Error running configure: "./Configure" Traceback (most recent call last): File "/Users/me/emsdk/emscripten/1.38.21/emconfigure.py", line 56, in run() File "/Users/me/emsdk/emscripten/1.38.21/emconfigure.py", line 51, in run shared.Building.configure(sys.argv[1:]) File "/Users/me/emsdk/emscripten/1.38.21/tools/shared.py", line 1620, in configure res = run_process(args, check=False, stdout=stdout, stderr=stderr, env=env) File "/Users/me/emsdk/emscripten/1.38.21/tools/shared.py", line 166, in run_process return run_base(cmd, universal_newlines=universal_newlines, check=check, *args, *kw) File "/Users/me/emsdk/emscripten/1.38.21/tools/shared.py", line 157, in run_base proc = Popen(cmd, args, **kw) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 394, in init errread, errwrite) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1047, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory