Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.1k views
in Technique[技术] by (71.8m points)

visual studio 2010 - fatal error LNK1104: cannot open file 'libboost_date_time-vc100-mt-gd-1_53.lib' - file ignored, no matter what i link

I have just bjamed 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: ... oost_1_53_0
Library directories: C: ... oost_1_53_0in.v2libs

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: ... oost_1_53_0in.v2libsdate_timeuildmsvc-10.0debuglink-statichreading-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?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Adding the C:...oost_1_55_0stagelib directory worked for me. Added to:

Project properties -> Configuration Properties -> VC++ Directories -> Library Directories.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...