Skip to content

error: use of undeclared identifier 'emscripten_print_double' #15

@hustlibraco

Description

@hustlibraco

I try to run this prototype, I got the latest emscripten and make it, but I got this, Any tips showed to me to fix it?

[root@localhost polyfill-prototype-1]# make
emcc -DNDEBUG -O3 -std=c++11 -Wall -pedantic \
             --memory-init-file 0 --llvm-lto 1 -s TOTAL_MEMORY=67108864 \
             src/unpack.cpp \
             -o jslib/load-wasm-worker.js
src/unpack.cpp:279:11: error: use of undeclared identifier 'emscripten_print_double'
    len = emscripten_print_double(d, buf);
          ^
1 error generated.
ERROR    root: compiler frontend failed to generate LLVM bitcode, halting
make: *** [jslib/load-wasm-worker.js] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions