title: LINK : fatal error LNK1104: cannot open file "libboost_json-vc142-mt-gd-x64-1_75.lib"
body: <p>I am trying to build my project on Windows.
  I compile with Clion. And toolchain for using it is Visual Studio 2019 x64
  This is my CmakeList.txt:</p>
  <pre><code>cmake_minimum_required(VERSION 3.17)
  project (&quot;FB_REGULA&quot;)
  set(CMAKE_CXX_STANDARD 17)
  
  set(Boost_DEBUG 1)
  set(Boost_DEBUG ON)
  set(Boost_ARCHITECTURE -x64)
  set(BOOST_ROOT &quot;c:/repos/libs/boost_1_75_0&quot;)
  set(BOOST_INCLUDEDIR &quot;c:/repos/libs/boost_1_75_0&quot;)
  set(BOOST_LIBRARYDIR &quot;C:/repos/libs/boost_1_75_0/lib64-msvc-14.2&quot;)
  #set(BOOST_ROOT &quot;c:/repos/libs/boost_manual/boost_1_75_0&quot;)
  #set(BOOST_INCLUDEDIR &quot;c:/repos/libs/boost_manual/boost_1_75_0&quot;)
  #set(BOOST_LIBRARYDIR &quot;c:/repos/libs/boost_manual/boost_1_75_0/stage/x64/lib&quot;)
  
  
  #[[set(Boost_USE_STATIC_LIBS OFF)
  set(Boost_USE_MULTITHREADED ON)
  set(Boost_USE_STATIC_RUNTIME OFF)
  ADD_DEFINITIONS(&quot;-DBOOST_ALL_NO_LIB&quot;)]]
  
  find_package(Boost 1.75.0 REQUIRED)
  if(Boost_FOUND)
      include_directories(${Boost_INCLUDE_DIRS})
  endif()
  
  add_library(RegulaLibrary SHARED IMPORTED)
  include_directories(RegulaDllDirectory &quot;D:/Husan/projects_work/FB_REGULA/DR_SDK&quot;)
  </code></pre>
  <p>And my cmake build output :</p>
  <pre><code>&quot;C:\Program Files\JetBrains\CLion
     2020.3.2\bin\cmake\win\bin\cmake.exe&quot; -DCMAKE_BUILD_TYPE=Debug -G &quot;CodeBlocks - NMake Makefiles&quot; D:\Husan\projects_work\FB_REGULA
     --  _boost_TEST_VERSIONS = &lt;unset&gt;
     --  Boost_USE_MULTITHREADED = &quot;TRUE&quot;
     --  Boost_USE_STATIC_LIBS = &quot;ON&quot;
     --  BOOST_ROOT = &quot;c:/repos/libs/boost_1_75_0&quot;
     --  ENV{BOOST_ROOT} = &quot;C:\repos\libs\boost_1_75_0&quot;
     --  BOOST_INCLUDEDIR = &quot;c:/repos/libs/boost_1_75_0&quot;
     --  ENV{BOOST_INCLUDEDIR} = &quot;C:\repos\libs\boost_1_75_0&quot;
     --  BOOST_LIBRARYDIR = &quot;C:/repos/libs/boost_1_75_0/lib64-msvc-14.2&quot;
     --  ENV{BOOST_LIBRARYDIR} = &quot;C:\repos\libs\boost_1_75_0\lib64-msvc-14.2&quot;
     --  location of version.hpp: C:/repos/libs/boost_1_75_0/boost/version.hpp
     --  Boost_VERSION = &quot;1.75.0&quot;
     --  Boost_VERSION_STRING = &quot;1.75.0&quot;
     --  Boost_VERSION_MACRO = &quot;107500&quot;
     --  Boost_VERSION_MAJOR = &quot;1&quot;
     --  Boost_VERSION_MINOR = &quot;75&quot;
     --  Boost_VERSION_PATCH = &quot;0&quot;
     --  Boost_VERSION_COUNT = &quot;3&quot;
     --  Boost_LIB_PREFIX = &quot;lib&quot;
     --  Boost_NAMESPACE = &quot;boost&quot;
     -- _boost_COMPILER = &quot;-vc142;-vc141;-vc140&quot; (guessed)
     --  _boost_MULTITHREADED = &quot;-mt&quot;
     --  _boost_ARCHITECTURE_TAG = &quot;-x64&quot; (user-specified via Boost_ARCHITECTURE)
     --  _boost_RELEASE_ABI_TAG = &quot;-&quot;
     --  _boost_DEBUG_ABI_TAG = &quot;-gd&quot;
     --  _boost_LIBRARY_SEARCH_DIRS_RELEASE = &quot;C:/repos/libs/boost_1_75_0/lib64-msvc-14.2;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH&quot;
     --  _boost_LIBRARY_SEARCH_DIRS_DEBUG = &quot;C:/repos/libs/boost_1_75_0/lib64-msvc-14.2;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH&quot;
     -- Configuring done
     -- Generating done
     -- Build files have been written to: D:/Husan/projects_work/FB_REGULA/cmake-build-debug-visual-studio-x64
  </code></pre>
  <p>Please someone who can solve this is issue please answer my question.</p>