tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: libvpx on macOS



‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On Monday, July 5th, 2021 at 9:05 AM, <john%ziaspace.com@localhost> wrote:

> Hi,
>
> Anyone know what the fix is for this? ffmpeg4 wants it unless removed via
>
> options.
>
> macOS 10.15, clean install, current pkgsrc.
>
> libtool: compile: sh strip_fPIC.sh yasm -f macho64 -I./
>
> -I/Users/john/pkgsrc/multimedia/libvpx/work/libvpx-1.10.0/
>
> vp9/encoder/x86/vp9_quantize_ssse3_x86_64.asm -o
>
> vp9/encoder/x86/vp9_quantize_ssse3_x86_64.asm.o >/dev/null 2>&1
>
> libtool: compile: clang++ -O2 -isysroot
>
> /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
>
> -mmacosx-version-min=10.5 -m64 -arch x86_64 -I.
>
> -I/Users/john/pkgsrc/multimedia/libvpx/work/libvpx-1.10.0 -c
>
> vp9/ratectrl_rtc.cc -fno-common -DPIC -o vp9/.libs/ratectrl_rtc.cc.o
>
> clang: warning: include path for libstdc++ headers not found; pass
>
> '-stdlib=libc++' on the command line to use the libc++ standard library
>
> instead [-Wstdlibcxx-not-found]
>
> In file included from vp9/ratectrl_rtc.cc:10:
>
> ./vp9/ratectrl_rtc.h:14:10: fatal error: 'cstdint' file not found
>
> #include <cstdint>
>
>           ^~~~~~~~~
>
>
> 1 error generated.
>
> gmake[1]: *** [Makefile:172: vp9/ratectrl_rtc.cc.o] Error 1
>
> gmake[1]: *** Waiting for unfinished jobs....
>
> Thanks,
>
> John

It seems you are using Clang. What is the C++ standard library being used? On MacOS, I think you should use libc++. From the output above it seems you are using libstdc++ instead.


Home | Main Index | Thread Index | Old Index