Rushino Rushino -4 years ago 321
C++ Question

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

Seem I can't get this to work. I made a simple console application (which depend on

library) which need
libraries.. but when I try to compile I get:

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

However, I did the bjam which created the lib in
and I linked the path to the libs to the compiler
C++/Additionnals includes

If I look in
the file
is not there. It is called

Any idea?

Answer Source

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).

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download