据我所知,我已经使用Emscripten SDK安装了所有依赖项,但是当我运行“Emscripten命令提示符”时,我得到以下输出:
Adding directories to PATH: PATH += C:\Program Files\Emscripten\spidermonkey\30.0.0_64bit PATH += C:\Program Files\Emscripten\git\1.9.4\bin;C:\Program Files\Emscripten\gi t\1.9.4\cmd The system cannot find the file specified. C:\Program Files\Emscripten>
此外,当我尝试编译库时,我得到以下内容:
C:\Alice-master\deps\snappy-1.1.1>emconfigure configure ERROR root: Exception thrown when invoking Popen in configure with args: "con figure"! Traceback (most recent call last): File "C:\Program Files\Emscripten\emscripten\1.27.0\\emconfigure", line 24, in shared.Building.configure(sys.argv[1:]) File "C:\Program Files\Emscripten\emscripten\1.27.0\tools\shared.py", line 108 4, in configure process = Popen(args, stdout=stdout, stderr=stderr, env=env) File "C:\Program Files\Emscripten\python\2.7.5.3_64bit\lib\subprocess.py", lin e 711, in __init__ errread, errwrite) File "C:\Program Files\Emscripten\python\2.7.5.3_64bit\lib\subprocess.py", lin e 948, in _execute_child startupinfo) WindowsError: [Error 2] The system cannot find the file specified
我在不同的目录中尝试过它。如果我尝试在包的说明中读到的其他命令,emconfigure ./configure
我得到一个以WindowsError: [Error 193] %1 is not a valid Win32 application
结尾的类似异常
注意:我在没有任何空格的目录中执行命令时甚至会出现此错误。