GHC 2020-07-31

2 comments.

, https://git.io/JJ2NM in zmwangx/rust-ffmpeg-sys
No problem.

, https://git.io/JJ22A in zmwangx/rust-ffmpeg-sys
> It doesn't come with a file called
`/usr/lib/gcc/x86_64-linux-gnu/7/include/limits.h`, but it does come with
`/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed/limits.h`

Yes, on bionic it's indeed in `include-fixed` ([filelist](https://packages.ubuntu.com/bionic/amd64/libgcc-7-dev/filelist)); I was pointing to the file's location [on focal](https://packages.ubuntu.com/focal/amd64/libgcc-7-dev/filelist).

> However, ffmpeg-sys-next 4.3.1 still won't build.

That's strange. I'm pretty sure there's something strange about your environment.

If you're able to find an environment where this is reproducible then I'll have something to work with. Reproduction inside Docker would be best. I just wrote a basic ubuntu:bionic-based Dockerfile and it builds just fine.

```dockerfile
FROM ubuntu:bionic

RUN apt-get update && \
    apt-get install -y --no-install-recommends \
    ca-certificates \
    clang \
    curl \
    ffmpeg \
    git \
    libavcodec-dev \
    libavdevice-dev \
    libavfilter-dev \
    libavformat-dev \
    libavresample-dev \
    libavutil-dev \
    libpostproc-dev \
    libswresample-dev \
    libswscale-dev \
    pkg-config \
    vim && \
    rm -rf /var/lib/apt/lists/* && \
    curl -sSf https://sh.rustup.rs | sh -s -- -y

ENV PATH=/root/.cargo/bin:$PATH

RUN git clone https://github.com/zmwangx/rust-ffmpeg-sys /ffmpeg-sys && \
    cd /ffmpeg-sys && \
    cargo build

WORKDIR /ffmpeg-sys
```

> do you recommend any other Rust libraries that'll let me export a sequence of &[u8] RGB images as a video?

I'm not aware of other libraries, but that's because I never actually looked. I suppose you should be able to find something else.