Hi Amit, On Sat, 25 Sep 2021 07:38:38 -0700 (PDT) Amit Sharma <[email protected]> wrote:
> Hi Folks - > > I am unable to compile a library using emscripten on M1 ARM mac. > On my older mac (intel based), I didn't had any issues. > > The issue is around unresolved linker errors. > The specific library that I am trying to compile here is openframeworks. > Can anyone please point me on how to go about debugging or fixing this > issue. > I haven't used emscripten much except superficially using the documentation > from the tutorials. > > > *error: undefined symbol: _ZN24ofxEmscriptenSoundStreamC1Ev (referenced by > top-level compiled C/C++ code) warning: Link with `-s LLD_REPORT_UNDEFINED` > to get more information on undefined symbols warning: To disable errors for > undefined symbols use `-s ERROR_ON_UNDEFINED_SYMBOLS=0` warning: > __ZN24ofxEmscriptenSoundStreamC1Ev may need to be added to > EXPORTED_FUNCTIONS if it arrives from a system library error: undefined > symbol: tessDeleteTess (referenced by top-level compiled C/C++ code) > warning: _tessDeleteTess may need to be added to EXPORTED_FUNCTIONS if it > arrives from a system library error: undefined symbol: tessNewTess > (referenced by top-level compiled C/C++ code) warning: _tessNewTess may > need to be added to EXPORTED_FUNCTIONS if it arrives from a system library > Error: Aborting compilation due to previous error* > Can you share problematic code? See: https://github.com/shlomif/how-to-share-code-online and https://github.com/shlomif/writing-the-perfect-question . > Many thanks > -- Shlomi Fish https://www.shlomifish.org/ “So, who the hell is Qoheleth?” - https://shlom.in/qoheleth Reality to be commanded must be obeyed. Chuck Norris disobeyed reality, and now he commands it. — https://www.shlomifish.org/humour/bits/facts/Chuck-Norris/ Please reply to list if it's a mailing list post - https://shlom.in/reply . -- 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/20210926140328.23efc644%40shlomifish.org.
