image-js / stroke-width-transform

BSD 3-Clause "New" or "Revised" License
9 stars 1 forks source link

Error compiling with emscripten 1.38.40 #5

Open Fercho120 opened 5 years ago

Fercho120 commented 5 years ago

Hi, I'm trying to compile this SWT implementation, but after doing:

emmake make

I got this error:

shared:ERROR: Assigning a non-existent settings attribute "OUTLINING_LIMIT" shared:ERROR: - did you mean one of INLINING_LIMIT? shared:ERROR: - perhaps a typo in emcc's -s X=Y notation? shared:ERROR: - (see src/settings.js for valid values)

Which I think it could be related to line 23 on Makefile:

release: CXXFLAGS += -O3 --llvm-lto 1 -s AGGRESSIVE_VARIABLE_ELIMINATION=1 -s OUTLINING_LIMIT=5000 # TODO --closure 1

Could you give any guidance in how to solve this?