Hi,
I am using eclipse in ubuntu.

My program infoextractor.cpp is stored in    /home/jyothsna/workspace/Emailparser/infoextractor.cpp.
boost_1_46_1 is stored in                          /home/jyothsna/workspace
My compiler is gcc  compiler ,so I have  followed the steps of Easy,build and install of section 5.1 from the site http://www.boost.org/doc/libs/1_46_1/more/getting_started/unix-variants.html.Is it correct?

For execution I did the following:
jyothsna@ubuntu:~/workspace/Emailparser$ g++ infoextractor.cpp -o infoextractor -lboost_regex

What else I need to do?With the information I have given above can you tell me the commands I need to type in the console or in eclipse.
I have referred online and tried a lot,but I still keep getting this linker error.

Regards,
Jyothsna


On Sat, Apr 16, 2011 at 2:34 AM, John Maddock <boost.regex@virgin.net> wrote:
I need to check if a url is valid or not using regex.
I have installed everything following the tutorial.
but still I am getting the following  error.I dont know how to build regex
programs.Can you please guide me.

You're program isn't linking to the regex library: add -lboost_regex to the command line (you may need an -L option as well to tell the compiler where to look for the Boost libraries).

John.
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build