<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - cannot build openmp project with Visual Studio"
   href="https://bugs.llvm.org/show_bug.cgi?id=51375">51375</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>cannot build openmp project with Visual Studio
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>OpenMP
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>other
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Runtime Library
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>glevner@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Build of LLVM 11 fails on a Windows 7 machine with Visual Studio 2019.

Build commands:

set CXXFLAGS=/bigobj
cmake -G "Visual Studio 16 2019" -A x64 -Thost=x64 
    -D LLVM_ENABLE_PROJECTS=clang;openmp
    -D LLVM_TARGETS_TO_BUILD=X86
    -D LIBOMP_COPY_EXPORTS=OFF
    ..\llvm-project\llvm
msbuild /p:configuration=release projects\openmp\runtime\src\ompimp.vcxproj

Error message:

LINK : fatal error LNK1181: cannot open input file
'C:\Users\Geoff\kirpi\tmp\lib\libomp.dll.lib'</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>