Hello, Actually, I use usually boost for other libraries but I have just tested regex with a simple example (first program found here : http://infohost.nmt.edu/~thras/cpp/boost1.html) that I put into a file called "bregex.cpp"
and : $ g++ bregexp.cpp -lboost_regexp $ ./a.out test test contains lowercase characters. All seems to work fine. For information, I have the following libs available for boost : libboost_date_time.a libboost_date_time.so -> libboost_date_time.so.1.43.0 libboost_date_time.so.1.43.0 libboost_filesystem.a libboost_filesystem.so -> libboost_filesystem.so.1.43.0 libboost_filesystem.so.1.43.0 libboost_regex.a libboost_regex.so -> libboost_regex.so.1.43.0 libboost_regex.so.1.43.0 libboost_system.a libboost_system.so -> libboost_system.so.1.43.0 libboost_system.so.1.43.0 libboost_thread.a libboost_thread.so -> libboost_thread.so.1.43.0 libboost_thread.so.1.43.0 Comment : boost is in a custom directory but this latter is in the pathes (LD_LIBRARY_PATH and LIBRARY_PATH). 2010/10/26 Lorenzo Bettini <[email protected]>: > On 10/26/2010 03:06 PM, Thomas Ricatte wrote: >> >> Hello, >> >> Thanks for your answer. >> >> Here's the config.log file. I've had to anonymate a path >> (remplaced by "xxxxx"). >> > > mh... unfortunately the following lines do not help a lot... > > configure:16071: checking whether the Boost::Regex library is available > configure:16094: g++ -c -g -O2 conftest.cpp >&5 > configure:16094: $? = 0 > configure:16108: result: yes > configure:16261: error: Could not link against ! > > you said that you use boost libraries on your system; are you using regex > library as well? If so what's your compilation line? > > Are you sure you have the libboost_regex* library files? > > Are you sure you don't have multiple versions of the boost libraries? > > thanks > hope to hear from you soon > Lore > > -- > Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino > ICQ# lbetto, 16080134 (GNU/Linux User # 158233) > HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com > http://www.myspace.com/supertrouperabba > BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com > http://www.gnu.org/software/src-highlite > http://www.gnu.org/software/gengetopt > http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net > > _______________________________________________ > Help-source-highlight mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/help-source-highlight > _______________________________________________ Help-source-highlight mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-source-highlight
