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
I want to Compile ONNX Runtime in standalone mode to wasm without without generating any JavaScript files that I can use onnxruntime api in wasm runtime.After reading the emcc documentation and onnxruntime build.py, I added the compilation option -standalone_wasm=1, but encountered this error:
em++: error: Explicitly setting EXIT_RUNTIME not compatible with STANDALONE_WASM. EXIT_RUNTIME will always be True for programs (with a main function) and False for reactors (not main function).
How should I modify the source code, build.py, or add command-line options to achieve my goal?
platform:webissues related to ONNX Runtime web; typically submitted using template
1 participant
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I want to Compile ONNX Runtime in standalone mode to wasm without without generating any JavaScript files that I can use onnxruntime api in wasm runtime.After reading the emcc documentation and onnxruntime build.py, I added the compilation option -standalone_wasm=1, but encountered this error:
How should I modify the source code, build.py, or add command-line options to achieve my goal?
build command:
Thanks for your time and assistance.
Beta Was this translation helpful? Give feedback.
All reactions