-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenCV compilation errors #490
Comments
If you just want to use the SDK then I suggest you down the prebuilt binaries from https://github.com/WebAssembly/wasi-sdk/releases rather than trying to build it yourself from source. |
Aight, I did just that:
and:
Same error: Details
|
The clang that cmake is using is still the one you built yourself ( |
Thanks, that fixed it, but I did a
I'm not at all familiar with CMake, but where would the suggested |
The |
It seems like I can't put any flags when doing
And even if I put the -D flag to recompile the thing with
And do the linker flags go in the same compile command? |
|
Thanks, so that's solved, but here's another error:
It couldn't have been an OpenCV error could it? It builds just fine otherwise. |
Hi I am trying to compile the OpenCV source code (with the contrib modules) using WASI-SDK, as I was told by this issue that emscripten could not handle wasmtime (???).
So after following all the instructions of:
to install this SDK, and then going to my
~
folder where myopencv
andopencv_contrib
repos are at and doing:It gave me the following error:
I was hoping that integrating this SDK with a tried and true repository like OpenCV would be exemplary to see how this works.
I am on an Ubuntu 22.04 system. Ask me if you need any other information.
What should I do?
The text was updated successfully, but these errors were encountered: