Emscripten can't find path to cmake

点点圈 提交于 2019-12-12 20:32:25

问题


I've gone over the instructions several times, looked in countless forums, and still can't resolve this issue.

I'm running Windows 10, and simply trying to install Emscripten. I've got Emscripten installed:

I run

# Fetch the latest registry of available tools.
emsdk update

followed by

# Download and install the latest SDK tools.
emsdk install latest

But it continues to throw the same warning about being unable to find the path to cmake.

I've downloaded and installed cmake-3.3.2-win32-x86. I cannot create the PATH from the installation though, because it says the file length is too long. odd, because it is installed here:

C:\Program Files (x86)\CMake\bin

I figured I could set the path myself, as seen in this SO post. Therefore, I used this command after the image above:

set PATH="C:\Program Files (x86)\CMake\bin\";%PATH%

and have the same issue. I'm fresh out of ideas. Could it have to do with the fact that 64 bit versions of clang and the sdk are being installed, but Cmake only comes in 32bit flavor?


回答1:


Quotes aren't needed in PATH environmental variables on Windows.

set PATH=C:\Program Files (x86)\CMake\bin\;%PATH%


来源:https://stackoverflow.com/questions/32857449/emscripten-cant-find-path-to-cmake

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!