Hi Shlomi - 

Please ignore the previous error. The make configuration was trying to 
build an executable instead of library.
But I am facing a new error. Seems something is broken 

 I was suggested by the project maintainer to use sdk-1.40.0-64bit. Like so:
*./emsdk install sdk-1.40.0-64bit*

However, this fails on M1 mac due to missing file error


*Error: Downloading URL 
'https://storage.googleapis.com/webassembly/emscripten-releases-builds/mac/4ba921c8c8fe2e8cae071ca9889d5c27f5debd87/wasm-binaries-arm64.tbz2':
 
HTTP Error 404: Not Found error: installation failed!*
Wondering how to go about fixing this error. 
thank you 
Am

On Sunday, September 26, 2021 at 9:07:14 AM UTC-4 Shlomi Fish wrote:

> 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/4ba36506-9687-4dda-8a23-26252ca56798n%40googlegroups.com.

Reply via email to