Gabriel Nery

Results 9 comments of Gabriel Nery

Ok, after building utils I got this make error ![image](https://github.com/titzer/wizard-engine/assets/101832203/66c7bb21-ee58-452d-86c5-75ff6891556a)

invoke_* are js functions used by javascript to support longjmp and exceptions. To remove the try compiling and linking with -s SUPPORT_LONGJMP=0 and -s DISABLE_EXCEPTION_CATCHING=1 try reading this for more...

@Brennanzuz The error you are having is beacause ` wasi-sdk.cmake` does not support threads you must use `wasi-sdk-pthread.cmake` instead here is a bash script that succefully build openCV to wasi...

this is just a simple directory inside my Desktop folder

It does not work. Because, wasi sdk does not support exceptions. So you will get an linking error saying that exceptions are not defined

@Brennanzuz I managed to build and run opencv with wasi target. As soon as possible I will share a repo showing how to do this

Sry, I cant publish this repo due to some licesense problemns. But here is a Idea of how to run compiled code 1)Once you have all opencv static libraries made...

Note, the performing of this demo inside wasm is terrible, but works. If someone find a way to optimize it, It will help a lot