emscripten-core / emscripten-core/emscripten

Boost no longer builds starting with 4.0.22

Open
#26,481 3 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

One of the changes in 4.0.22 was the removal of the `em++` and `emcc` script files (with no extension) in the emsdk distributions for Windows.

Unfortunately, boost seems to use at least one of these files for detection when you use b2.exe to build with toolset=emscripten.

So starting with 4.0.22 our boost builds began to fail unless we manually created an empty `emcc` and `em++` file in the `emsdk\upstream\emscripten` folder. I suspect we only needed emcc but we created them both just in case because it's really hard to tell what boost is doing when it builds.

I will report this to boost as well, although in the meantime the fix seems to be creating the missing file stubs before building.

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.