Skip to content

Emscripten 1.39.6 breaks JavaScript build #194

@pearswj

Description

@pearswj

At the end of the build I got the following error:

...
[100%] Linking CXX executable rhino3dm.html
shared:ERROR: Customizing EXPORT_NAME requires that the HTML be customized to use that name (see https://github.com/emscripten-core/emscripten/issues/10086)
CMakeFiles/rhino3dm.dir/build.make:6517: recipe for target 'rhino3dm.html' failed
make[2]: *** [rhino3dm.html] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/rhino3dm.dir/all' failed
make[1]: *** [CMakeFiles/rhino3dm.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

This looks to be related to emscripten-core/emscripten@3043df9. It happens using both the old and new build scripts.

Tested on Ubuntu 18.04

$ python bootstrap.py -p js

Checking JavaScript Dependencies...

Checking Git...
  This system is running Git 2.17.1
  We are currently using Git 2.17.1
 OK: Git version 2.17.1 found.

Checking Python...
  This system is running Python 2.7.15
  We are currently using Python 2.7.17
 WARNING: Python version 2.7.15 found, an older version. We are currently using 2.7.17.  On Ubuntu, you can install python 2 using sudo apt install python

Checking Emscripten...
  This system is running Emscripten 1.39.5
  We are currently using Emscripten 1.39.5
 OK: Emscripten version 1.39.5 found.

Checking CMake...
  This system is running CMake 3.10.2
  We are currently using CMake 3.16.2
 WARNING: CMake version 3.10.2 found, an older version. We are currently using 3.16.2.  On Ubuntu, you can install CMake using: sudo snap install cmake --classic

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingjs

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions