【问题标题】:Trouble with tutorial on getting started with Webassembly关于 Webassembly 入门教程的问题
【发布时间】:2017-06-01 03:51:23
【问题描述】:

我正在按照指南 here 创建 Hello World wasm 应用程序 (Mac OS)。我将所有内容都跟踪到了 T,并且确定 gitpython 在我的 PATH 中,并且 90% 确定 cmake 在我的路径中。安装时间很长,但进展顺利。但是,当我在终端中键入命令 emcc hello.c -s WASM=1 -o hello.html 时,我会收到消息 -bash: emcc: command not found。也试过sudo

不确定是什么问题。我显然对wasm非常绿色。谢谢!

【问题讨论】:

    标签: bash webassembly


    【解决方案1】:

    page you linked 显示了将相关环境变量和目录条目添加到 PATH 所需的命令。在 Mac 上,命令是:

    source ./emsdk_env.sh

    【讨论】:

    • 我在提示时运行了它。
    猜你喜欢
    • 2018-06-29
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-03-31
    • 1970-01-01
    • 1970-01-01
    • 2022-01-16
    相关资源
    最近更新 更多