8

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:\ ... \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?

Tomáš Zato
  • 50,171
  • 52
  • 268
  • 778
  • After adding this long path folders one by one, I achieved to compile the application. But there are many libraries! There must be other way... – Tomáš Zato Mar 13 '13 at 23:23
  • If you have followed the ["getting started"](http://www.boost.org/more/getting_started/windows.html#invoke-b2) guide, the folder you need to add is "C:\...\boost_1_53_0\stage\lib". –  Mar 14 '13 at 07:04
  • Man. I did this of course. But after this taking no effect, I decided to try it manually. – Tomáš Zato Mar 14 '13 at 11:12
  • I generate a Visual Studio Project using CMake (with FIND... Boost, and related include lib_directory) and still receive this error. – Antonio Sesto Jul 05 '16 at 16:09

2 Answers2

6

Adding the C:...\boost_1_55_0\stage\lib directory worked for me. Added to:

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

David B
  • 455
  • 6
  • 13
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'

ronmama
  • 21
  • 1