Coder Social home page Coder Social logo

godot-hmac's Issues

Compile for Web errors on linking

OS target (iOS):
JavaScript/WebAssembly

Godot version:
3.2.2

Issue description:
Fails when linking. Only fails when attempting to build for JavaScript/Web on macOS 10.15.5. Works great for Android and iOS.
Tried both release and release_debug with no success:
scons platform=javascript tools=no target=release --jobs=$(sysctl -n hw.logicalcpu)

Here's the following output:

[ 99%] progress_finish(["progress_finish"], [])
[100%] Linking Program        ==> bin/godot.javascript.opt.js
[100%] error: undefined symbol: mbedtls_md_free (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: _mbedtls_md_free may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
error: undefined symbol: mbedtls_md_hmac_finish (referenced by top-level compiled C/C++ code)
warning: _mbedtls_md_hmac_finish may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
error: undefined symbol: mbedtls_md_hmac_starts (referenced by top-level compiled C/C++ code)
warning: _mbedtls_md_hmac_starts may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
error: undefined symbol: mbedtls_md_hmac_update (referenced by top-level compiled C/C++ code)
warning: _mbedtls_md_hmac_update may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
error: undefined symbol: mbedtls_md_info_from_type (referenced by top-level compiled C/C++ code)
warning: _mbedtls_md_info_from_type may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
error: undefined symbol: mbedtls_md_init (referenced by top-level compiled C/C++ code)
warning: _mbedtls_md_init may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
error: undefined symbol: mbedtls_md_setup (referenced by top-level compiled C/C++ code)
warning: _mbedtls_md_setup may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
Error: Aborting compilation due to previous errors
emcc: error: '/emsdk/node/12.9.1_64bit/bin/node /emsdk/upstream/emscripten/src/compiler.js /var/folders/lh/4b342pzx6hg6nkp425k3rr3w0000gp/T/tmpqug7_yvu.txt' failed (1)
scons: *** [bin/godot.javascript.opt.js] Error 1
scons: building terminated because of errors.

I just need the godot.javascript.opt.zip and godot.javascript.opt.debug.zip templates built with 3.2.2 to be able to build for web and use this module. Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.