emscripten-core / emscripten-core/emsdk

emsdk construct_env removes path to MinGW

Open
#966 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
3.7k
Forks
821
Avg merge
1h 25m
Merged PRs (30d)
3

Description

I'm unable to build the OpenCascade wasm libraries using their wasm_build.bat script. The error I'm getting is:

_CMake was unable to find a build program corresponding to "MinGW Makefiles"_

OpenCascade's wasm_build.bat script runs emsdk_env.bat, which [sets the PATH for the session](https://github.com/emscripten-core/emsdk/blob/447aa44d78580b1e3520f195ed49a6efd3ffed67/emsdk.py#L2574). This removes the entry for MinGW from the PATH because MinGW is installed inside the emsdk directory. CMake is then unable to find mingw32-make.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.