
The correct fix is to set the library search path to search the location of the libraries built when you built Boost (defaults to stage/lib with msvc) - you did build Boost right?
John, obviously the error I get is related to the fact the program_options lib is not reached by the linker. My question at this point is different: can I use program_options as header only library?
No. RTFM ;-)
On the basis of what Diederick told me it seems I can't. Now, could you please tell me where can I find the list of boost libs that can be used as header only?
The getting started guide is always the place to look for stuff like that: http://www.boost.org/doc/libs/1_46_0/more/getting_started/windows.html#heade... Oh, it'll tell you how to build the program_options binaries too ;-) HTH, John.