无法验证LLVM版本:[错误2]否这样的文件或目录

时间:2018-12-14 08:32:55

标签: ubuntu emscripten

我使用ubuntu机器。 我已经激活了最新版本的emscripten [1.38.21],然后运行了 ./emsdk_env.sh设置环境变量。 下面是命令:

$source ./emsdk_env.sh

输出:

Adding directories to PATH:
PATH += /home/praveer/PraveerEmscripten/rtfactory/emsdk_win.1.38.21
PATH += /home/praveer/PraveerEmscripten/rtfactory/emsdk_win.1.38.21/clang/e1.38.21_64bit
PATH += /home/praveer/PraveerEmscripten/rtfactory/emsdk_win.1.38.21/node/8.9.1_64bit/bin
PATH += /home/praveer/PraveerEmscripten/rtfactory/emsdk_win.1.38.21/emscripten/1.38.21

Setting environment variables:
EMSDK = /home/praveer/PraveerEmscripten/rtfactory/emsdk_win.1.38.21
EM_CONFIG = /home/praveer/.emscripten
BINARYEN_ROOT = /home/praveer/PraveerEmscripten/rtfactory/emsdk_win.1.38.21/clang/e1.38.21_64bit/binaryen
EMSCRIPTEN = /home/praveer/PraveerEmscripten/rtfactory/emsdk_win.1.38.21/emscripten/1.38.21

当我运行“ emcc”命令时,它抛出以下错误。

praveer@praveer-Virtual-Machine:~/Praveer_ICUSource$ echo $EMSCRIPTEN

/home/praveer/PraveerEmscripten/rtfactory/emsdk_win.1.38.21/emscripten/1.38.21

praveer@praveer-Virtual-Machine:~/Praveer_ICUSource$ emcc

shared:CRITICAL: Could not verify LLVM version: [Errno 2] No such file or directory

root:INFO: Checking JS engine ['/home/praveer/PraveerEmscripten/rtfactory/emsdk_win.1.38.21/node/8.9.1_64bit/bin/node'] 
failed. Check your config file. Details: Expected the command ['/home/praveer/PraveerEmscripten/rtfactory/emsdk_win.1.38.21/node/8.9.1_64bit/bin/node', '/home/praveer/PraveerEmscripten/rtfactory/emsdk_win.1.38.21/emscripten/1.38.21/src/hello_world.js'] to finish with return code 0, but it returned with code 255 instead! Output: 
root:CRITICAL: The JavaScript shell (['/home/praveer/PraveerEmscripten/rtfactory/emsdk_win.1.38.21/node/8.9.1_64bit/bin/node']) does not seem to work, check the paths in the config file
praveer@praveer-Virtual-Machine:~/Praveer_ICUSource$ ^C
praveer@praveer-Virtual-Machine:~/Praveer_ICUSource$ 

有人可以帮助我摆脱这个问题。

0 个答案:

没有答案