How do I compile a program that uses the libregex program? It seems
that whenever I do this:
$ gcc -o te1 te1.cc -lboost_regex
I get:
----
/tmp/cc9r42Gv.o: In function `boost::reg_expression ::gnu.linkonce.t.fail(unsigned int)+0x4e): undefined reference to
`boost::bad_expression::bad_expression(basic_string Here is the source to te1.cc
----
#include <iostream>
#include <string>
#include
Oops.. It was in fact 'g++' that I used.
--- Paul Dubuc
the_3_project wrote:
How do I compile a program that uses the libregex
program? It seems
that whenever I do this:
$ gcc -o te1 te1.cc -lboost_regex
Use g++, not gcc.
------------------------ Yahoo! Groups Sponsor
Info: http://www.boost.org Wiki:
http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl
Unsubscribe: mailto:boost-users-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
__________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com
participants (3)
-
Paul Dubuc
-
Tha Project
-
the_3_project