Boost logo

Boost :

From: Janusz Piwowarski (jpiw_at_[hidden])
Date: 2004-03-22 04:05:31


> template<>
> void validator<string>::operator()(any& v, const vector<string>& xs)
> {
> ....
> }
>
> Could you take a look if your 'build/Jamfile' mention that file?
Yes, it mention it. Linker message:

..\..\..\bin\boost\libs\program_options\example\custom_syntax.exe\mingw\debu
g\custom_syntax.obj(.text$_ZNK5boost15program_options11typed_valueISsE5parse
ERNS_3anyERKSt6vectorISsSaISsEE+0x14): In function `Z7reg_fooRKSs':
D:/sources/boost/libs/program_options/example/../../../libs/program_options/
example/custom_syntax.cpp:22: undefined reference to
`boost::program_options::validator<std::string>::operator()(boost::any&,
std::vector<std::string, std::allocator<std::string> > const&)'

I'm using mingw with gcc v 3.2.3

Janusz


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk