Seem I can't get this to work. I made a simple console application (which depend on websocket++
library) which need Boost
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 (boost_root)/stage/libs
and I linked the path to the libs to the compiler C++/Additionnals includes
.
If I look in (boost_root)/stage/libs
the file libboost_system-vc110-mt-gd-1_51.lib
is not there. It is called libboost_system-vc110-mt-sgd-1_51.lib
instead.
Any idea?
This is the simplest way for an amateur like me who is studying C++ on their own:
First Unzip the boost library to any directory of your choice. I recommend c:\directory
.
c:\boost_1_57_0
.Then go over to the link library were you experienced your problems.
c:\boost_1_57_0
.booststrap.bat
(don't bother to type on the command window just wait and don't close the window that is the place I had my problem that took me two weeks to solve. After a while the booststrap
will run and produce the same file, but now with two different names: b2
, and bjam
.b2
and wait it to run.bjam
and wait it to run. Then a folder will be produce called stage
.c:\boost_1_57_0\stage\lib
.And you are good to go!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With