пн, 10 июн. 2024 г., 22:30 Phyllis Smith <[email protected]>:
What an interesting project! good luck, it sounds like a big challenge!
indeed! I tried to workaround raw data embedding using this stackoverflow answer: https://stackoverflow.com/questions/34641373/how-do-i-embed-the-contents-of-... unfortunately while with attached haxkery main executable links it dies at startup with "-9" error nm -a bin/cin /opt/local/libexec/llvm-10/bin/llvm-nm: error: bin/cin truncated or malformed object (load command 21 LC_LOAD_DYLIB library name extends past the end of the load command) and of course plugin linking is broken ....
On Mon, Jun 10, 2024 at 8:56 AM Andrew Randrianasulu < [email protected]> wrote:
You guess it - I tried to convince cingg to build on macos 10.12.6
bchash.C:184:13: error: use of undeclared identifier 'open_memstream'
seems to exist (reimplemented ) here
https://android.googlesource.com/platform/system/core/+/cf63d5d00f5a631a2905...
fmemopen also used in bchash.C
https://github.com/mprzybylski/darwin-fmemopen
pthread_spinlock_t does not exist here ...
https://stackoverflow.com/questions/8177031/does-mac-os-x-have-pthread-spinl...
there is also bunch of dirent64 vs dirent and this
ffmpeg.C:4499:26: error: no member named 'st_mtim' in 'stat' time_t t = (time_t)tst.st_mtim.tv_sec; ~~~ ^ ffmpeg.C:4502:20: error: no member named 'st_mtim' in 'stat' int64_t us = tst.st_mtim.tv_nsec / 1000; ~~~ ^ 20 warnings and 19 errors generated.
====
I set build against wrong ffmpeg includes ....