<div dir="ltr"><div dir="ltr"><div dir="ltr">I'm jumping into Meson land now and I'm trying to configure the most recent release, 18.3.1, to build a minimal OSMesa containing only softpipe.  So I'm trying to make sure everything is explicitly disabled and only turning on the few pieces I need:<div><br></div></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div dir="ltr"><div><font face="monospace, monospace">meson -Ddebug=false -Degl=false -Dgbm=false -Dopengl=true -Dgles1=false -Dgles2=false -Dglvnd=false -Dgallium-nine=false -Dgallium-omx=disabled -Dgallium-opencl=disabled -Dgallium-va=false -Dgallium-vdpau=false -Dgallium-xa=false -Dgallium-xvmc=false -Dplatforms=surfaceless -Dgallium-drivers=swrast -Dosmesa=gallium -Dllvm=false -Dglx=disabled -Ddri-drivers= build</font></div></div></blockquote><div dir="ltr"><div><br></div><div>But I end up with the following error:</div></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div dir="ltr"><div dir="ltr"><div><div><font face="monospace, monospace">meson.build:393:4: ERROR:  Problem encountered: building dri or gallium drivers require at least one window system</font></div></div></div></div></blockquote><div dir="ltr"><div dir="ltr"><div><br></div><div>Am I doing something wring here?  It looks like the meson build isn't properly dealing with the dependencies of the software rasterizers since you should be able to build a libOSMesa.so with only software rasterizers, i.e. softpipe, llvmpipe, and swr, without requiring any windowing system.</div><div><br clear="all"><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">----------<br>Chuck Atkins<br>Staff R&D Engineer, Scientific Computing<br>Kitware, Inc.<br>(518) 881-1183<br></div></div></div></div></div></div></div></div></div></div></div>