<div dir="ltr"><div>I don't know anything about using Mesa as a meson subproject, but the way I usually test a local Mesa build is:</div><div><br></div><div><a href="https://docs.mesa3d.org/install.html#running-against-a-local-build-easy-way">https://docs.mesa3d.org/install.html#running-against-a-local-build-easy-way</a></div><div><br></div><div>For example if I wanted to run gdb on glxgears I might say:</div><div><br></div><div>$ meson devenv -C build gdb -q glxgears</div><div><br></div><div>You can also just say "meson devenv -C build" to get a subshell in the build environment. Note that the initial working directory is set to the build dir, which can be a little confusing if your command line includes relative paths, so don't use relative paths if you can help it.</div><div><br></div><div>- ajax<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Mar 30, 2024 at 4:05 PM Manuel Dun <<a href="mailto:manueldun@gmail.com">manueldun@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello<br>
<br>
This is a continuation from a question I made in the mesa-user mailing list.<br>
<br>
how would I set up mesa 3d to debug with gdb? and is it reasonable to do so?<br>
<br>
I usually set libraries as meson subprojects but I don't know how to<br>
get the meson dependency for mesa 3d.<br>
<br>
</blockquote></div>