i'm having some problems in trying to use boost::regex with msvc6 , sp 5 (using boost 1.28.0) jam generates some *.lib's & some *.dll's but when i try to compile code that trys to use regex (such as the examples ) , i get linker errors of the form ==> LINK : fatal error LNK1104: cannot open file "boost_regex_vc6_mssd.lib" Error executing link.exe. at first i was confused about this as i could not find any files with such a name .. after some grepping i found some explanations on the lib files that the regex headers use to figure out what lib to include (in boost\regex\detail\regex_library_include.hpp which is rather a neat way of doing things, but jam doesn't appear to follow that methodology .. so i'm stuck since the naming convenctions don't match, and i'm not sure what files jam is generating (in fact i'm not even sure that jam is generating the static runtime, static link versions of boost that the above error is requesting me to find .. --vat __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com
i'm having some problems in trying to use boost::regex with msvc6 , sp 5 (using boost 1.28.0)
jam generates some *.lib's & some *.dll's but when i try to compile code that trys to use regex (such as the examples ) , i get linker errors of the form ==> LINK : fatal error LNK1104: cannot open file "boost_regex_vc6_mssd.lib" Error executing link.exe.
at first i was confused about this as i could not find any files with such a name .. after some grepping i found some explanations on the lib files that the regex headers use to figure out what lib to include (in boost\regex\detail\regex_library_include.hpp
which is rather a neat way of doing things, but jam doesn't appear to follow that methodology .. so i'm stuck since the naming convenctions don't match, and i'm not sure what files jam is generating (in fact i'm not even sure that jam is generating the static runtime, static link versions of boost that the above error is requesting me to find ..
Please refer to the regex installation docs: you can either define BOOST_REGEX_NO_LIB to suppress automatic selection of lib's, or build the "right" libs from the supplied makefile. I realise that it's a pain that jam doesn't do the right thing yet, but I haven't quite figured out how yet :-( John Maddock http://ourworld.compuserve.com/homepages/john_maddock/index.htm
Please refer to the regex installation docs: you can either define BOOST_REGEX_NO_LIB to suppress automatic selection of lib's, or build the "right" libs from the supplied makefile. I realise that it's a pain that jam doesn't do the right thing yet, but I haven't quite figured out how yet :-(
John Maddock
please do not take this the wrong way, but what is the point of using Jam if it doesn't accomplish such a seemingly basic task? .. :/ if i may suggest , you should update the regex docs to mention this fact as the errors i was getting were not immediately intuitive , i had to spend some significant time trying to figure out what my problem was .. at any rate thank you for the advice, after having used the macro you provided, i included the jam-created lib and things worked fine for me .. again, thank you for your assistance, and thank you for releasing boost::regex++ , as it is a great and extremely useful library --vat __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com
participants (2)
-
John Maddock
-
srivatsan raghavan