Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Emscripten can't find path to cmake

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:

enter image description here

I run

# Fetch the latest registry of available tools.
emsdk update

followed by

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

enter image description here

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?

like image 318
Dave Voyles Avatar asked Oct 15 '25 20:10

Dave Voyles


1 Answers

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

set PATH=C:\Program Files (x86)\CMake\bin\;%PATH%
like image 97
zakki Avatar answered Oct 18 '25 10:10

zakki