[QGIS-Developer] Build QGIS with MXE

Theuns Heydenrych theunsheydenrych at gmail.com
Sun Oct 18 23:56:55 PDT 2020


Hi
No, I did not, I wanted to go the route, where I can build it with the
provided build-mxe.sh script in the repo.
This way I can do debug builds and also I can change compilers in MXE
itself, for different builds.


On Mon, Oct 19, 2020 at 8:48 AM Alessandro Pasotti <apasotti at gmail.com>
wrote:

> did you pull from elpaso/mxe-qt5-builder:latest ?
>
> that works for me
>
>
> On Sun, Oct 18, 2020 at 3:39 PM Theuns Heydenrych
> <theunsheydenrych at gmail.com> wrote:
> >
> > HI
> > I have followed the instructions on how to build QGIS with MXE.
> > I have all the dependencies build via MXE
> >
> > I have changed the ms-windows/mxe/build-mxe.sh file to point the the MXE
> folder
> > I have also changed the TARGET value, to the one I used in the MXE
> settings.mk file.
> > I have checked out the release-3_10 branch of the QGIS repo
> >
> > When running the ms-windows/mxe/build-mxe.sh from within the QGIS folder
> I get the following error, the error output us in the file attached.
> > Also attached I the modified_build-mxe.sh file.
> > In the error output it shows that it try to use the following for a C
> compiler
> >
> "/home/theuns/work/mxe/mxe/usr/x86_64-pc-linux-gnu/bin/x86_64-w64-mingw32.shared-gcc"
> > and it fails with the error:
> > ccache: error: Could not find compiler "x86_64-w64-mingw32.shared-gcc"
> in PATH
> >
> > I executed the command
> >
> /home/theuns/work/mxe/mxe/usr/x86_64-pc-linux-gnu/bin/x86_64-w64-mingw32.shared-gcc
> in the same terminal and got the same result, "ccache: error: Could not
> find compiler "x86_64-w64-mingw32.shared-gcc" in PATH".
> > I have checked the symbolic link to
> /home/theuns/work/mxe/mxe/usr/x86_64-pc-linux-gnu/bin/x86_64-w64-mingw32.shared-gcc
> and it looks fine, with executable rights and links to
> > /home/theuns/work/mxe/mxe/.ccache/bin/ccache
> > Please help, what can do to resolve this?
> > I am using Ubuntu 20.04.
> >
> > Regards
> >
> > _______________________________________________
> > QGIS-Developer mailing list
> > QGIS-Developer at lists.osgeo.org
> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
>
> --
> Alessandro Pasotti
> QCooperative:  www.qcooperative.net
> ItOpen:   www.itopen.it
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20201019/c0605693/attachment.html>


More information about the QGIS-Developer mailing list