Comments (4)
It's on http://syntensity.com/static/python.html
from emscripten.
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:
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.
from emscripten.
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
.
from emscripten.
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.
from emscripten.
Related Issues (20)
- Enabling SAFE_HEAP leads to wasm-validator errors HOT 2
- Unable to type in the HTML text fields HOT 1
- emscripten_force_exit cannot free SharedArrayBuffer
- The currently published docker image uses a seemingly incompatible version of CMake HOT 1
- Exception can't be caught with `-sMAIN_MODULE` and `-sEMULATE_FUNCTION_POINTER_CASTS` and give Runtime error HOT 1
- Output emcc HOT 1
- WASMFS Mouting OPFS from js HOT 2
- Node V14 with CommonJS HOT 6
- llvm-strip throws invalid relocation offset when using --strip-debug HOT 8
- stringstream acts incorrectly with double type value when some characters are followed
- ASYNCIFY=1 HOT 8
- WebGPU: Wrong values returned from wgpuBufferGetMapState
- Call my callback function in other thread with proxying.h HOT 1
- Joining a thread after using emscripten_set_main_loop deadlocks HOT 7
- Runtime Link Error HOT 3
- websocket_to_posix_proxy in a container
- [HELP] HOW Enable NODERAWFS with emcmake. HOT 1
- runMetaWithFS always use XHR and fails in nodejs environment HOT 1
- WASM_BIGINT leads to RuntimeError HOT 3
- How to use requestAnimationFrame in place of wgpuInstanceProcessEvents HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emscripten.