Out of interest, are you linking with `-s STRICT=1`? The intention was that (initially anyway) only users of `-s STRICT=1` would require `em++` for linking C++ programs.
cheers, sam On Thu, Oct 15, 2020 at 12:23 AM [email protected] <[email protected]> wrote: > The issue was solved by changing to em++ > > https://github.com/emscripten-core/emscripten/commit/e32abfa40ed25006c0e8647e0f302a971f61037b > > On Thursday, 15 October 2020 at 08:56:26 UTC+2 [email protected] wrote: > >> Hi, >> >> we are encountering linking problems with the latest release (2.0.7). >> Some functions (c++17 ?) are undefined. Both on ubuntu-latest and OS X. >> Everything works properly with 2.0.6. Any idea what to change? Thanks >> >> Laurent >> >> >> https://github.com/musicEnfanthen/verovio/runs/1257309439?check_suite_focus=true >> >> error: undefined symbol: __cxa_pure_virtual (referenced by top-level >> compiled C/C++ code) warning: ___cxa_pure_virtual may need to be added to >> EXPORTED_FUNCTIONS if it arrives from a system library error: undefined >> symbol: __dynamic_cast (referenced by top-level compiled C/C++ code) >> warning: ___dynamic_cast may need to be added to EXPORTED_FUNCTIONS if it >> arrives from a system library Error: Aborting compilation due to previous >> errors emcc: error: >> '/home/runner/work/verovio/verovio/emsdk-cache/emsdk-master/node/12.18.1_64bit/bin/node >> /home/runner/work/verovio/verovio/emsdk-cache/emsdk-master/upstream/emscripten/src/compiler.js >> /tmp/tmpac1bbxbf.txt' failed (1) Failed. >> > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/emscripten-discuss/0be8ff2d-3faa-4ecb-9509-04ed7221ad47n%40googlegroups.com > <https://groups.google.com/d/msgid/emscripten-discuss/0be8ff2d-3faa-4ecb-9509-04ed7221ad47n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/CAL_va295A4aXrqFuXjevOKEDeCdZnEavKzpWsiCq82T%2BE7QuzQ%40mail.gmail.com.
