Omkar Mohanty

Results 21 comments of Omkar Mohanty

Hi @juntao can i work on this ?

> Thank you. > > I think you will need to create the JavaScript wrapper API for QuickJS first before you can write the JavaScript examples. > > I would...

After tinkering around the rust wrapper crate I successfully compiled to `wasm32-unknown-emscripten` but when compiling it to `wasm32-wasi` the clang compiler fails to do so and is not very clear...

I tried compiling it the way it was in QuickJS but it didn't work as I mentioned above. After looking at the docs for [wasm32-wasi target](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_target/spec/wasm32_wasi/index.html), I figured that I...

The error messages ```bash note: clang-13: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument] wasm-ld: error: unknown argument: --as-needed wasm-ld: error: unknown argument: -Bstatic wasm-ld: error: unknown argument: -Bdynamic wasm-ld: error:...

## Specifications OS : Kubuntu 22.04.1 LTS x86_64 CPU : Intel i7-1065G7 (8) @ 3.900GHz Rust : 1.66.0-nightly RAM : 16 GB GPU : Nvdia MX 330 with Intel iris...

I looked at the commit and did some further research and found that our compilation is related to this issue https://github.com/rust-lang/rust/issues/76679. I did some tinkering around the `wasm-ld` and did...

@juntao I've successfully compiled OpenCV to wasm32-wasi. Now to use OpenCV in wasmedge i need to generate wrappers for rust one way is to use bindgen tool but it doesn't...

@juntao I made a [shell script](https://github.com/omkar-mohanty/opencv-wasm/tree/main) which should compile OpenCV to WASI. The shell script also contains detailed method for compiling step by step.

Not really the errors I was getting from above messages were from compiling the rust wrapper crate. I wasted a lot of time trying to compile the wrapper crate to...