title: fatal error LNK1104: cannot open file 'libboost_regex-vc142-mt-gd-x32-1_74.lib'
body: <p>I am using Microsoft Visual Studio Professional 2019 Version 16.9.5 and trying to compile code as mentioned in <a href="https://theboostcpplibraries.com/boost.stringalgorithms" rel="nofollow noreferrer">Boost.StringAlgorithms</a>.</p>
  <p>I am getting the below error during local compilation and linking :</p>
  <pre><code>1&gt;------ Build started: Project: Boost.StringAlgorithms, Configuration: Debug Win32 ------
  1&gt;LINK : fatal error LNK1104: cannot open file 'libboost_regex-vc142-mt-gd-x32-1_74.lib'
  1&gt;Done building project &quot;Boost.StringAlgorithms.vcxproj&quot; -- FAILED.
  ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
  </code></pre>
  <p>I have ensured that I have set the project properties (link and libs). I do see the concerned file in <strong>C:\tools\boost_1_74_0\stage\lib</strong> directory:</p>
  <pre><code>libboost_regex-vc142-mt-gd-x64-1_74.lib
  boost_regex-vc142-mt-gd-x64-1_74.lib
  </code></pre>
  <p>I have build all boost library for x64 architecture - why the linking process is looking for <strong>libboost_regex-vc142-mt-gd-x32-1_74.lib</strong> ?</p>