Cerbero build errors for mingw

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Cerbero build errors for mingw

Ben Rush
I apologize if this could be considered spamming, but I just recently sent out an email about build errors while trying to cross-compile using meson. I'm also trying to do the same with cerbero, but it appears to be a different set of issues / errors. 

Here is my docker file: 

FROM ubuntu:18.04
USER root

RUN apt-get update && \
apt-get upgrade -y && \
apt-get install build-essential python3 git ninja-build \
python3-pip pkg-config libmount-dev flex bison libxml2-utils mingw-w64 libnice-dev vim wget sudo -y
RUN git clone https://gitlab.freedesktop.org/gstreamer/cerbero

I then run the container in interactive mode, and type: 

cd cerbero
./cerbero-uninstalled bootstrap

This completes, but when I type: 

./cerbero-uninstalled -c config/cross-win64.cbc package gstreamer-1.0

FileNotFoundError: [Errno 2] No such file or directory: '/cerbero/build/mingw/multilib/x86_64-w64-mingw32/sysroot/usr/x86_64-w64-mingw32/lib/libwinpthread-1.dll'

Indeed, the libwinpthread-1.dll doesn't exist there, but at 

root@87e40813a50a:/cerbero# find / -name libwinpthread-1.dll
/usr/x86_64-w64-mingw32/lib/libwinpthread-1.dll
/usr/i686-w64-mingw32/lib/libwinpthread-1.dl

I'm following the instructions here: https://gstreamer.freedesktop.org/documentation/installing/building-from-source-using-cerbero.html?gi-language=c

Thanks again. 

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Cerbero build errors for mingw

Matthew Waters
On 20/7/20 12:27 am, Ben Rush wrote:
I apologize if this could be considered spamming, but I just recently sent out an email about build errors while trying to cross-compile using meson. I'm also trying to do the same with cerbero, but it appears to be a different set of issues / errors. 

Here is my docker file: 

FROM ubuntu:18.04
USER root

RUN apt-get update && \
apt-get upgrade -y && \
apt-get install build-essential python3 git ninja-build \
python3-pip pkg-config libmount-dev flex bison libxml2-utils mingw-w64 libnice-dev vim wget sudo -y
RUN git clone https://gitlab.freedesktop.org/gstreamer/cerbero

I then run the container in interactive mode, and type: 

cd cerbero
./cerbero-uninstalled bootstrap

You need to run bootstrap with the config you are going to package with.  Different configs may have different bootstrap requirements.

i.e.

./cerbero-uninstalled -c config/cross-win64.cbc bootstrap gstreamer-1.0

This completes, but when I type: 

./cerbero-uninstalled -c config/cross-win64.cbc package gstreamer-1.0

FileNotFoundError: [Errno 2] No such file or directory: '/cerbero/build/mingw/multilib/x86_64-w64-mingw32/sysroot/usr/x86_64-w64-mingw32/lib/libwinpthread-1.dll'

Indeed, the libwinpthread-1.dll doesn't exist there, but at 

root@87e40813a50a:/cerbero# find / -name libwinpthread-1.dll
/usr/x86_64-w64-mingw32/lib/libwinpthread-1.dll
/usr/i686-w64-mingw32/lib/libwinpthread-1.dl

I'm following the instructions here: https://gstreamer.freedesktop.org/documentation/installing/building-from-source-using-cerbero.html?gi-language=c

Thanks again. 

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (499 bytes) Download Attachment