问题
I have just bjam
ed boost and it seems like its still gonna refuse to work (I alread have tried and given up to make this library). What I did was, that I launched bjam.exe and I linked:
include directories: C:\ ... \boost_1_53_0
Library directories: C:\ ... \boost_1_53_0\bin.v2\libs
But I still get the error. So I decided to look in the folders, and this showed up to be path to the desired library:
C:\ ... \boost_1_53_0\bin.v2\libs\date_time\build\msvc-10.0\debug\link-static\threading-multi\
If I explicitly add this folder to the Library directories, the library is found but in VCC another error pops up, asking me for another library.
So how do I ask bjam to make a folder system that VCC can understand?
回答1:
Adding the C:...\boost_1_55_0\stage\lib directory worked for me. Added to:
Project properties -> Configuration Properties -> VC++ Directories -> Library Directories.
回答2:
Adding the following link to 'Configuration properties -> Linker -> General -> Additional Library Directories ' helped me as well. 'C:\Program Files\boost\boost_1_55_0\stage\lib'
来源:https://stackoverflow.com/questions/15398392/fatal-error-lnk1104-cannot-open-file-libboost-date-time-vc100-mt-gd-1-53-lib