[eigen] StdVector again

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


Some more problems with StdVector. Are these problems common? Or am I
just trying to tackle it the wrong way?

This time with boost program options:

*************************************************************************

#include <Eigen/StdVector>
#include <boost/program_options.hpp>

namespace po = boost::program_options;

int main(int argc, char **argv) {
    int ip;
    po::options_description config_file_options;
    po::variables_map vm;
    config_file_options.add_options()
        ("ip", po::value< int >(&ip)->default_value(66),"The peekabot
server ip address. [192.168.0.66].")
        ;
    return 0;
}

*************************************************************************

$ g++ -c main.cpp -Wall -ggdb -O0
$ g++ -o test main.o  -lboost_program_options-mt

*************************************************************************

main.o:(.rodata._ZTVN5boost15program_options11typed_valueIicEE[vtable
for boost::program_options::typed_value<int, char>]+0x18): undefined
reference to `boost::program_options::value_semantic_codecvt_helper<char>::parse(boost::any&,
std::vector<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >, false> const&, bool)
const'

*************************************************************************

Not sure where to start hunting this one down...

Regards,
Daniel Stonier.



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/