emscripten-core / emscripten-core/emscripten

Failed to fetch compiler version information with command "'C:/emsdk/upstream/emscripten/emcc.bat' ]

Open
#12,537 19 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

Description

Hello,
Working on windows using CMake, I have the exact same problem as described here: https://github.com/adevaykin/minimal-cmake-emscripten-project/issues/2

```
[Failed to fetch compiler version information with command
"'C:/emsdk/upstream/emscripten/emcc.bat' ](url)
```

![image](https://user-images.githubusercontent.com/18743986/96270579-8132b700-0fd4-11eb-8dfd-e122d72121b7.png)

This path:
C:/emsdk/upstream/emscripten/emcc.bat exits of course:

![image](https://user-images.githubusercontent.com/18743986/96270459-5e080780-0fd4-11eb-9af2-ace1e716eaa7.png)

The command I used:
`cmake.exe -H. -Bweb -DPLATFORM=Web -G "CodeBlocks - NMake Makefiles" -DCMAKE_TOOLCHAIN_FILE=c:\emsdk\upstream\emscripten\cmake\Modules\Platform\Emscripten.cmake -DEMSCRIPTEN_ROOT=c:\emsdk\upstream\emscripten\

`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.