   Compiling Boost date_time (header only) libs
  Hi Folks,I've been trying to update a project to using boost 1_42_0's date_timelib. In the past, when using header only libs (hpp) I have only had to include the appropriate headers and not build a binary for the lib. However, when attempting to do so with data_time I found that this doesn't work.When I attempt to compile, I get the following error:cannot open file 'libboost_date_time-vc90-mt-s-1_42.lib'This suggests to me that even the inclusion of these headers in my project (somehow) asserts that the project will use libboost_date_time-vc90-mt-s-1_42.lib.I'm confused as to how this assertion was made (since all I did was to include the headers).So, my questions are:1 - How is this assertion made?2 - Is there a way to build this library into my program without going the Bjam route?Any suggestions / comments are most welcome!Thanks!
  Looks like it's no longer a header-only library.1) pragma can be used to force linker options, including placing a library-search record in the object file : assuming msvc2) No need for bjam. Dowenload a prebuilt copy of boost from here;  Thanks MrB,I'll looked at al the date_time files and they are all hpp however.I would prefer to just use the sources as I don't want to keep binaries in my repository as long as it is avoidable.Thanks for the link!   ;  From the boost docs:Quote:Boost getting started:Boost.DateTime has a binary component that is only needed if you're using its to_string/from_string or serialization features, or if you're targeting Visual C++ 6.x or Borland.Try just including (for example - replace gregorian with whatever part you require)#include "boost/date_time/gregorian/gregorian_types.hppIf you require the io stuff, you will have to have the lib I'm afraid.   ;  Thanks _moagstar_,looks like I'll have to go the way of the BJam :)   