Fatal Error Lnk1104: Cannot Open File 'Libboost_System-Vc110-Mt-Gd-1_51.Lib'

fatal error LNK1104: cannot open file 'libboost_system-vc110-mt-gd-1_51.lib'

The C++ → General → Additional Include Directories parameter is for listing directories where the compiler will search for header files.

You need to tell the linker where to look for libraries to link to. To access this setting, right-click on the project name in the Solution Explorer window, then Properties → Linker → General → Additional Library Directories. Enter <boost_path>\stage\lib here (this is the path where the libraries are located if you build Boost using default options).

Visual C++: LINK : fatal error LNK1104: cannot open file 'libboost_system-vc120-mt-gd-1_55.lib'

Yes most likely this is related. Boost build is unable to determine Visual Studio compiler version, so it is writing generalized lib names like libboost_system-vc-mt-1_55.lib. Header is trying to use last known version of Visual Studio, for the Boost 1.55 (which is VS2013 or vs120). Try using last version of the boost, it should support VS2017.

Error LNK1104 cannot open file 'libboost_filesystem-vc141-mt-gd-1_65_1.lib'

Make sure you add the "<location of boost installation directory, where ever it was extracted>\stage\lib" to the linker library include path in the Visual Studio Debug Properties for the project. If you install boost via the Command Prompt by first running the bootstap.bat batch file followed by b2.exe , when the compiling process is complete, a message will be displayed instructing you to add that path, so the linker doesn't get confused when it looks for it.

fatal error LNK1104: cannot open file 'libboost_system-vc90-mt-gd-1_43.lib'

You need to use bjam. It is responsible for creating the libraries that your application will use. Once you use bjam, you are going to need to instruct your project to include the lib file. You do this by going into the project's properties -> Configuration Properties -> Linker -> General. Add the directory which created the lib file to Additional Library Directories. You should be capable of correctly linking after that.
I believe that this link describes the steps better than I could attempt in a post



Related Topics



Leave a reply



Submit