[Mesa-users] compiling on MSYS2 / MinGW64

Artsimovich, Wladislav wladislav.artsimovich at iws.fraunhofer.de
Tue Aug 14 16:22:52 UTC 2018


Dear Mesa community,

I'm trying to compile Mesa with Gallium and OSMesa into a static library on MSYS2 / MinGW64 but am confused as how to do it.
As I understand it, I'm supposed to use scons.
With "scons platform=windows toolchain=crossmingw machine=x86_64 libgl-gdi" it errors out with:
"sh: x86_64-w64-mingw32-ar: command not found"
ar is installed and "which ar" returns "/mingw64/bin/ar"
"x86_64-w64-mingw32-ar" is not a proper command under MSYS2, ar is.

Can scons be directed to use that instead?

Also: It warns "warning: LLVM disabled: not building llvmpipe". Does it have to be enabled explicitly?


Best regards

Vlad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-users/attachments/20180814/28f7d9aa/attachment.html>


More information about the mesa-users mailing list