0
1>LINK : fatal error LNK1104: cannot open file 'libboost_system-vc140-mt-gd-1_59.lib'

I have faced this error while compiling, I searched for the file and I found it, so what is the problem?

Slavi
  • 576
  • 1
  • 3
  • 18

1 Answers1

1

This may happen due to a variety of reasons. Here are a few from my own experiences:

  • check if there is an architecture missmatch. (eg. your app is x64, but the boost libraries are x32)
  • check if you configured the active build configuration in VS (Debug vs Release)
  • check if the boost libraries are available in the Additional Library Directories under the linker properties in VS.
  • check if you use the correct platform toolset in VS. (v140 in your case).
Lukas
  • 1,320
  • 12
  • 20