|
Boost-Build : |
From: John Pavel (jrp_at_[hidden])
Date: 2007-12-07 15:44:33
I have a simple program:
#include "stdafx.h"
#include <boost/program_options.hpp>
int _tmain(int argc, _TCHAR* argv[])
{
// Declare the supported options.
boost::program_options::options_description desc("Options");
desc.add_options()
("help", "produce help message")
("compression", boost::program_options::value<int>(), "set
compression level")
;
boost::program_options::variables_map vm;
boost::program_options::store(boost::program_options::parse_command_line(arg
c, argv, desc), vm);
boost::program_options::notify(vm);
return 0;
}
Which compiles in VC++ 2008, but does not link:
fatal error LNK1104: cannot open file
'libboost_program_options-vc90-mt-1_35.lib' generate_dirac_delta
The boost has been built into stage using bjam, which generates a
boost_program_options-vc90-mt-1_35.lib (and .dll) and (almost) all the other
libraries. In fact the only files in the stage directory that start with
lib are libboost_test_exec_monitor-vc90-mt-1_35.lib and
libboost_test_exec_monitor-vc90-mt.lib
Are there settings that I need to tweak to get the right library names?
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk