[Cin] on macos we have few undefined functions

Phyllis Smith phylsmith2017 at gmail.com
Mon Jun 10 21:30:24 CEST 2024


What an interesting project! good luck, it sounds like a big challenge!

On Mon, Jun 10, 2024 at 8:56 AM Andrew Randrianasulu <
randrianasulu at gmail.com> 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/+/cf63d5d00f5a631a2905da7812b5c029b5211cf6%5E!/
>
> 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-spinlock-t-type
>
> 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 ....
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20240610/16362f9e/attachment.htm>


More information about the Cin mailing list