Thanks, Chris. It worked.
Regards,
Eswar
On Dec 30, 2007 9:11 AM, Eswar K <kja.eswar@gmail.com> wrote:Shouldn't this be something like
> Hi,
>
> I am a newbie to Boost. I am writing a sample code using the Boost libaries
> and am getting the following error during linking.
>
> Command Line Usage
>
> g++ -I /usr/include/boost/ example.cpp -o example.o
>
g++ -L /usr/include/boost/ -lboost_program_options example.cpp -o example.o
[substitute the name of the program options library on your system for
boost_program_options]
Chris
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users