[program_options] linking error with example
Hi,
I have problems starting out with the program_options library.
Looking at the tutorial, I wanted to try out the first example metioned,
first.cpp (which is located in boost_1_41_0/libs/program_options/example).
But there seems to be some linking error.
I try to compile it by
g++ -I ~boost_1_41_0 first.cpp -o first
~/boost_1_41_0/stage/lib/libboost_program_options.a
But then I get a strange error:
/tmp/ccDB6KSC.o: In function
`boost::program_options::basic_command_line_parser<char>::extra_parser(boost::function1
participants (1)
-
katharina