You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
JS crash: |ReferenceError: _dlopen is not defined|. #2
instead of callMain(['-i', 'image.j2k', '-o', 'image.raw']); in j2k_to_image() (line 17). The error message is nearly identical:
Reference Error: ___01__isoc99sscanf_ is not defined
Seems like a library import issue, but OPENjpeg imports the correct library, <stdio.h>. I tracked the function down in openjpeg.cc.js, and it is only used when either the '-l' or '-r' options are specified, which is why the code works in all other cases.
These are basically parts of the standard C library that are not yet implemented or not linked correctly to their implementations. dlopen() was recently implemented. ___01__isoc99sscanf_ should probably be linked to sscanf.
This should no longer be an issue since we moved to bundled headers (which avoid weirdness like ___01__isoc99sscanf_), but would require a rebuild of course so the online python demo might still not work. If you rebuild and it still fails please comment.
Activity
jn0 commentedon Apr 12, 2011
It's on http://syntensity.com/static/python.html
kzigadlo commentedon Jun 29, 2011
I've noticed that this error no longer appears in the python demo, but I was messing around with the OPENjpeg demo (http://syntensity.com/static/openjpeg.html), and I got a similar issue when I tried to add some options to the command line string. Here is the modification:
try {
callMain(['-i', 'image.j2k', '-o', 'image.raw', '-l','3']);
} catch(e) {
alert(e.name + ": " + e.message);
}
instead of callMain(['-i', 'image.j2k', '-o', 'image.raw']); in j2k_to_image() (line 17). The error message is nearly identical:
Seems like a library import issue, but OPENjpeg imports the correct library, <stdio.h>. I tracked the function down in openjpeg.cc.js, and it is only used when either the '-l' or '-r' options are specified, which is why the code works in all other cases.
max99x commentedon Jun 30, 2011
These are basically parts of the standard C library that are not yet implemented or not linked correctly to their implementations.
dlopen()was recently implemented.___01__isoc99sscanf_should probably be linked tosscanf.kripken commentedon Jul 12, 2012
This should no longer be an issue since we moved to bundled headers (which avoid weirdness like
___01__isoc99sscanf_), but would require a rebuild of course so the online python demo might still not work. If you rebuild and it still fails please comment.fix formatting and a bug in clock_getres, and add unittest
# This is a combination of 3 commits.
wake to notify polyfill #2
Merge pull request emscripten-core#2 from abhijangda/browsix-incoming…
Added test emscripten-core#2
fixed flake
Fixed review emscripten-core#2 issues
Updated WebGPU (#11067)
Merge pull request emscripten-core#2 from Honry/webnn_ep
Merge pull request emscripten-core#2 from rstz/restrict-to-filesystem…
Update dependencies from https://github.com/dotnet/arcade build 2023042…
attempt emscripten-core#2 at fixing Ruff failure
Fix doReadv/doWritev discarding partial count on EAGAIN (#27284)