Open gosha20777 opened 5 years ago
I'm trying to build opencv for use in my js project.
For the correct operation of the algorithm, I lack these functions:
The functions I need are in these packages:
But on the Internet I did not find the pre-compiled library with the functionality I needed. For this reason, I decided to build everything myself.
When assembling I am guided by https://docs.opencv.org/3.4/d5/d10/tutorial_js_root.html.
Compilation of the library was successful(!), but failed to build it.
LLVM
wasm-ld: error: Relocations not in offset order
*.so
emscripten / cmake / Modules / Platform / Emscripten.cmake: set_property (GLOBAL PROPERTY TARGET_SUPPORTS_SHARED_LIBS FALSE))
*. ar
error: undefined symbol: fp $ _ZN2TH11THFile_freeEPNS
I know for sure that these packages can be compiled in some way. Can you give me a guide or pin js file with pre-compiled modules?
I'm trying to build opencv for use in my js project.
For the correct operation of the algorithm, I lack these functions:
The functions I need are in these packages:
But on the Internet I did not find the pre-compiled library with the functionality I needed. For this reason, I decided to build everything myself.
When assembling I am guided by https://docs.opencv.org/3.4/d5/d10/tutorial_js_root.html.
Compilation of the library was successful(!), but failed to build it.
LLVM
code and got the error:*.so
files, but to no avail: This assembly option is prohibited:*. ar
archives format also ended with an error:I know for sure that these packages can be compiled in some way. Can you give me a guide or pin js file with pre-compiled modules?