<!DOCTYPE html>
<html data-lt-installed="true">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body style="padding-bottom: 1px;">
    Hello Ashwin,<br>
    <br>
    Hope you are doing well. I think the error that you mentioned is
    related to the Clang version mismatch. You can use the following
    command to configure desired clang version:<br>
    <br>
        wget <a class="moz-txt-link-freetext" href="https://apt.llvm.org/llvm.sh">https://apt.llvm.org/llvm.sh</a><br>
        chmod u+x llvm.sh<br>
        ./llvm.sh <xx><br>
    <br>
    here 'xx' should be the required version.<br>
    <br>
    --<br>
    Sincerely,<br>
    Sarthak <br>
    <br>
    <hr style="display:inline-block;width:98%" tabindex="-1">
    <div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
        face="Calibri, sans-serif" color="#000000"><b>From:</b> mesa-dev
        <a class="moz-txt-link-rfc2396E" href="mailto:mesa-dev-bounces@lists.freedesktop.org"><mesa-dev-bounces@lists.freedesktop.org></a> on behalf of
        Ashwin Bhat <a class="moz-txt-link-rfc2396E" href="mailto:ashwin.bhat@autodesk.com"><ashwin.bhat@autodesk.com></a><br>
        <b>Sent:</b> Thursday, February 8, 2024 8:31:01 PM<br>
        <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a>
        <a class="moz-txt-link-rfc2396E" href="mailto:mesa-dev@lists.freedesktop.org"><mesa-dev@lists.freedesktop.org></a><br>
        <b>Subject:</b> Getting started with Lavapipe</font>
      <div> </div>
    </div>
    <style type="text/css" style="display:none">p
        {margin-top:0;
        margin-bottom:0}</style>
    <div dir="ltr">
      <div class="x_elementToProof"
style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
        Hello, </div>
      <div class="x_elementToProof"
style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
        <br>
      </div>
      <div class="x_elementToProof"
style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
        During  Vulkanised 2024 I was super excited to hear and learn
        about Lavapipe</div>
      <div class="x_elementToProof"><span
style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"><a
href="https://vulkan.org/user/pages/09.events/vulkanised-2024/Vulkanised-2024-faith-ekstrand-collabora-Iago-toral-igalia.pdf"
            id="LPlnk343384" class="x_OWAAutoLink moz-txt-link-freetext"
            data-loopstyle="linkonly">https://vulkan.org/user/pages/09.events/vulkanised-2024/Vulkanised-2024-faith-ekstrand-collabora-Iago-toral-igalia.pdf</a></span></div>
      <div class="x_elementToProof"><span
style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"><br>
        </span></div>
      <div class="x_elementToProof"><span
style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">Are
          there some basic tutorials on how to get started with setting
          up Lavapipe swrast on Windows?</span></div>
      <div class="x_elementToProof"><span
style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"><br>
        </span></div>
      <div class="x_elementToProof"><span
style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">I've
          installed LLVM and ensured it's in path. I have been trying to
          build using meson but haven't had much success. Any pointers
          appreciated. Please let me know if it's preferred to move this
          discussion/thread to issues.</span></div>
      <div class="x_elementToProof"><span
style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"><br>
        </span></div>
      <div class="x_elementToProof"><span
style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">Here
          is the command I'm trying to run:<br>
        </span></div>
      <div class="x_elementToProof"><span
style="font-family:"Aptos Mono",Aptos_EmbeddedFont,Aptos_MSFontService,monospace; font-size:12pt; color:rgb(0,0,0)">meson
          setup -D llvm=true --prefix=%CD%/build/install build/
           --buildtype=release -Dgallium-drivers=swrast
          -Dvulkan-drivers=swrast</span><span
style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"><br>
        </span></div>
      <div class="x_elementToProof"><span
style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"><br>
        </span></div>
      <div class="x_elementToProof"><span
style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">But
          I get this error:</span></div>
      <div class="x_elementToProof"><span
style="font-family:"Aptos Mono",Aptos_EmbeddedFont,Aptos_MSFontService,monospace; font-size:12pt; color:rgb(0,0,0)">llvm-config
          found: NO need ['>= 5.0.0']</span></div>
      <div><span
style="font-family:"Aptos Mono",Aptos_EmbeddedFont,Aptos_MSFontService,monospace; font-size:12pt; color:rgb(0,0,0)">Run-time
          dependency LLVM found: NO (tried cmake and config-tool)</span></div>
      <div><span
style="font-family:"Aptos Mono",Aptos_EmbeddedFont,Aptos_MSFontService,monospace; font-size:12pt; color:rgb(0,0,0)">Looking
          for a fallback subproject for the dependency llvm (modules:
          bitwriter, engine, mcdisassembler, mcjit, core,
          executionengine, scalaropts, transformutils, instcombine,
          native)</span></div>
      <div><span
style="font-family:"Aptos Mono",Aptos_EmbeddedFont,Aptos_MSFontService,monospace; font-size:12pt; color:rgb(0,0,0)">Building
          fallback subproject with default_library=static</span></div>
      <div><span
style="font-family:"Aptos Mono",Aptos_EmbeddedFont,Aptos_MSFontService,monospace; font-size:12pt; color:rgb(0,0,0)"><br>
        </span></div>
      <div class="x_elementToProof"><span
style="font-family:"Aptos Mono",Aptos_EmbeddedFont,Aptos_MSFontService,monospace; font-size:12pt; color:rgb(0,0,0)">meson.build:1748:13:
          ERROR: Neither a subproject directory nor a llvm.wrap file was
          found.</span></div>
      <div class="x_elementToProof"><span
style="font-family:"Aptos Mono",Aptos_EmbeddedFont,Aptos_MSFontService,monospace; font-size:12pt; color:rgb(0,0,0)"><br>
        </span></div>
      <div class="x_elementToProof"><span
style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">Thanks</span></div>
      <div class="x_elementToProof"><span
style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">Ashwin</span></div>
    </div>
  </body>
  <lt-container></lt-container>
</html>