fatal error LNK1104: cannot open file 'libboost_regex-vc71-sgd-1_32.lib'
Hi boost New to C++ and boost so please bear with me. I have downloaded the boost library (1.3.2) from sf.net on to a Windows XP platform running Visual Studio .NET. I've started a C++ project however when I compile it, having added the regex class, I get the following error: fatal error LNK1104: cannot open file 'libboost_regex-vc71-sgd-1_32.lib' I have include the lib path for boost and that worked OK with the other libraries but not this one. Any one got any ideas? John Lucas Director of Operations MI International UK Tel: +44 (0)1642 356138 Mobile: +44 (0)7884 181828 Email: mailto:john.lucas@mi-int.com john.lucas@mi-int.com URL: http://www.mi-int.com/ www.mi-int.com http://www.mi-int.com/images/logo3.JPG First for European POI and business data In association with D&B DISCLAIMER: this email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify the system manager. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. If you are not the intended recipient, please email postmaster@mi-int.com, along with a copy of the email. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. E&OE
At 07:37 2005-06-14, John Lucas wrote:
Hi boost
New to C++ and boost so please bear with me.
I have downloaded the boost library (1.3.2) from sf.net on to a Windows XP platform running Visual Studio .NET. I've started a C++ project however when I compile it, having added the regex class, I get the following error:
fatal error LNK1104: cannot open file 'libboost_regex-vc71-sgd-1_32.lib'
I have include the lib path for boost and that worked OK with the other libraries but not this one. Any one got any ideas?
did you build the boost libraries for your compiler(apparently VC++7.1)?
John Lucas Director of Operations MI International UK Tel: +44 (0)1642 356138 Mobile: +44 (0)7884 181828 Email: mailto:john.lucas@mi-int.comjohn.lucas@mi-int.com URL: http://www.mi-int.com/www.mi-int.com
First for European POI and business data
In association with D&B
DISCLAIMER: this email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify the system manager. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. If you are not the intended recipient, please email mailto:postmaster@mi-int.compostmaster@mi-int.com, along with a copy of the email. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. E&OE
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"
Build the libraries? I understand what that means. How do I do that? _____ From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Victor A. Wagner Jr. Sent: 14 June 2005 21:34 To: boost-users@lists.boost.org Subject: Re: [Boost-users] fatal error LNK1104: cannot open file 'libboost_regex-vc71-sgd-1_32.lib' At 07:37 2005-06-14, John Lucas wrote: Hi boost New to C++ and boost so please bear with me. I have downloaded the boost library (1.3.2) from sf.net on to a Windows XP platform running Visual Studio .NET. I've started a C++ project however when I compile it, having added the regex class, I get the following error: fatal error LNK1104: cannot open file 'libboost_regex-vc71-sgd-1_32.lib' I have include the lib path for boost and that worked OK with the other libraries but not this one. Any one got any ideas? did you build the boost libraries for your compiler(apparently VC++7.1)? John Lucas Director of Operations MI International UK Tel: +44 (0)1642 356138 Mobile: +44 (0)7884 181828 Email: mailto:john.lucas@mi-int.com john.lucas@mi-int.com URL: http://www.mi-int.com/ www.mi-int.com First for European POI and business data In association with D&B DISCLAIMER: this email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify the system manager. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. If you are not the intended recipient, please email postmaster@mi-int.com, along with a copy of the email. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. E&OE _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users Victor A. Wagner Jr. http://rudbek.com http://rudbek.com/ The five most dangerous words in the English language: "There oughta be a law"
At 14:43 2005-06-14, John Lucas wrote:
Build the libraries? I understand what that means. How do I do that?
I apologize for not having the answer ready to hand. I build boost ONLY from the latest CVS (I'm doing some of the regression testing), so I'm using the bleeding edge librries at all times. I've been told that the "getting started" information at the website is correct I'm pretty sure that someplace along the line you'll need to do something ( some .bat file??) that ends up doing a command that looks something like: bjam -sTOOLS=vc-7_1 that's from memory, so it may not be exactly that
----------
Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"
Build the libraries? I understand what that means. How do I do that?
Read the manual: If regex is all you want to build, there are detailed instructions here: http://www.boost.org/libs/regex/doc/install.html#vc These are a little out of date and refer to vc6, but later versions use the same process, just substitute the appropriate makefile name (vc71.mak instead of vc6.mak). Alternatively follow the Boost-wide getting started instructions here: http://www.boost.org/more/getting_started.html#Preparation Finally, as someone else suggested you can add the regex source files (in libs/regex/src) directly to your project if you'd rather (you may end up linking in things you don't actually need if you do this however), you will need to define BOOST_REGEX_NO_LIB as a project wide define (under preprocessor options in your IDE) to stop the auto-linking kicking in if you go this route. John.
RTFM. Many thanks - just building the libraries. -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of John Maddock Sent: 15 June 2005 10:52 To: boost-users@lists.boost.org Subject: Re: [Boost-users] fatal error LNK1104: cannot openfile'libboost_regex-vc71-sgd-1_32.lib'
Build the libraries? I understand what that means. How do I do that?
Read the manual: If regex is all you want to build, there are detailed instructions here: http://www.boost.org/libs/regex/doc/install.html#vc These are a little out of date and refer to vc6, but later versions use the same process, just substitute the appropriate makefile name (vc71.mak instead of vc6.mak). Alternatively follow the Boost-wide getting started instructions here: http://www.boost.org/more/getting_started.html#Preparation Finally, as someone else suggested you can add the regex source files (in libs/regex/src) directly to your project if you'd rather (you may end up linking in things you don't actually need if you do this however), you will need to define BOOST_REGEX_NO_LIB as a project wide define (under preprocessor options in your IDE) to stop the auto-linking kicking in if you go this route. John. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (3)
-
John Lucas
-
John Maddock
-
Victor A. Wagner Jr.