Hi Arvind! On Mon, 22 Nov 2021 02:49:56 -0800 (PST) Arvind Arya <[email protected]> wrote:
> https://github.com/notasuperhero/New > Here in the file > "What I did here.txt" > I explain Everything. > Loved your Taylor Swift jokes btw. > > Thank You for your help. > Arvind. > > Thanks! Sorry, but "emcmake cmake ../_opencv/" is failing here: ``` that is not in any export set. CMake Error in CMakeLists.txt: export called with target "opencv_dnn" which requires target "libprotobuf" that is not in any export set. CMake Error in CMakeLists.txt: export called with target "opencv_imgcodecs" which requires target "libjpeg-turbo" that is not in any export set. CMake Error in CMakeLists.txt: export called with target "opencv_imgcodecs" which requires target "libwebp" that is not in any export set. CMake Error in CMakeLists.txt: export called with target "opencv_imgcodecs" which requires target "libpng" that is not in any export set. CMake Error in CMakeLists.txt: export called with target "opencv_imgcodecs" which requires target "libtiff" that is not in any export set. CMake Error in CMakeLists.txt: export called with target "opencv_imgcodecs" which requires target "libopenjp2" that is not in any export set. CMake Error in CMakeLists.txt: export called with target "opencv_imgcodecs" which requires target "zlib" that is not in any export set. CMake Error in CMakeLists.txt: export called with target "opencv_objdetect" which requires target "quirc" that is not in any export set. CMake Error in CMakeLists.txt: export called with target "opencv_gapi" which requires target "ade" that is not in any export set. CMake Error in CMakeLists.txt: export called with target "opencv_gapi" which requires target "ittnotify" that is not in any export set. -- Generating done CMake Generate step failed. Build files cannot be regenerated correctly. emcmake: error: 'cmake -DCMAKE_CROSSCOMPILING_EMULATOR=/home/shlomif/Download/unpack/prog/llvm-to-js/emsdk/node/14.15.5_64bit/bin/node -DCMAKE_TOOLCHAIN_FILE=/home/shlomif/Download/unpack/prog/llvm-to-js/emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake ../_opencv' failed (returned 1) [shlomif@telaviv1 scmake]$ ``` > On Monday, November 22, 2021 at 12:18:19 PM UTC+5:30 Shlomi Fish wrote: > > > Hi Arvind! > > > > I see your replies here: > > https://groups.google.com/g/emscripten-discuss/c/rgIlaL5prEE > > > > Otherwise: > > > > 1. using claws-mail, your email formatting is bad. Perhaps use an > > .asciidoc or > > .md file on github/etc. > > > > 2. i don't know how the lib*.a files were generated. > > > > 3. Please give an SSCCE - read the whole of > > https://github.com/shlomif/how-to-share-code-online and > > https://github.com/shlomif/writing-the-perfect-question (no excuses!). > > Perhaps > > use github actions. > > > > On Sun, 21 Nov > > 2021 23:54:35 +0530 Arvind Arya <[email protected]> wrote: > > > > > First I remember an Ad when Expedia try to make in India > > > https://www.youtube.com/watch?v=Rmadver1Xdk. > > > Rajnikant once won the world series of poker using UNO cards. > > > > > > Sorry I had to leave town due to some unforeseen circumstances. Thank you > > > for asking I am still stuck. I was able to link the header files I made > > the > > > object file main.o and the I am having trouble linking the library > > archives > > > I tried everything > > > > > > > > > *ld main.o libopencv_core.a libopencv_imgcodecs.a* > > > > > > *ld: symbol(s) not found for architecture x86_64* > > > *clang: error: linker command failed with exit code 1 (use -v to see > > > invocation)* > > > > > > > > > tried the same command with* gcc and g++ The same error/* > > > I combined the archives with command: *ar rcs all_the_object_files.o to > > > newib.a* > > > *tried with * > > > > > > *emcc main.cpp newlib.a -o hello.html --emrun* > > > > > > emcc: warning: newlib.a: archive is missing an index; Use emar when > > > creating libraries to ensure an index is created [-Wemcc] > > > emcc: warning: newlib.a: adding index [-Wemcc] > > > error: undefined symbol: _ZN2cv3MatD1Ev (referenced by top-level compiled > > > C/C++ code) > > > warning: Link with `-s LLD_REPORT_UNDEFINED` to get more information on > > > undefined symbols > > > warning: To disable errors for undefined symbols use `-s > > > ERROR_ON_UNDEFINED_SYMBOLS=0` > > > > > > > > > A lot of Errors. How do I link these libraries with the object file. > > > Thank You So much. I was wondering would it be so rude to ask you now. > > *Thank > > > you very much.* > > > *Arvind from Emscripten Group(My replies keep getting deleted there)* > > > > > > > > -- > > > > Shlomi Fish https://www.shlomifish.org/ > > https://www.shlomifish.org/humour/bits/facts/Emma-Watson/ > > > > Fortran - there isn’t a way to do it... oh wait! Now there is. > > — https://www.shlomifish.org/humour/ways_to_do_it.html > > > > Please reply to list if it's a mailing list post - https://shlom.in/reply > > . > > > -- Shlomi Fish https://www.shlomifish.org/ “So, who the hell is Qoheleth?” - https://shlom.in/qoheleth Chuck Norris round house kicks doors open instead of using their keys. Summer Glau makes sure doors are open using her mind. — https://www.shlomifish.org/humour/bits/facts/Summer-Glau/ Please reply to list if it's a mailing list post - https://shlom.in/reply . -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/20211123110132.1ba2f6e4%40shlomifish.org.
