Opened 13 years ago
Closed 13 years ago
#2978 closed Support Requests (fixed)
error linking
Reported by: | Owned by: | ||
---|---|---|---|
Milestone: | Boost 1.39.0 | Component: | Building Boost |
Version: | Boost 1.38.0 | Severity: | Problem |
Keywords: | Cc: |
Description
Hi,
I recently installed boost_1_38_0 just to use regex functionality as I have lot of parsing to do.
I followed all the instructions on the website and built and linked in Visual Studio as mentioned on the website. But still I get this error: fatal error LNK1104: cannot open file 'libboost_regex-vc80-mt-gd-1_38.lib'
Please let me know how can I correct this or what I am missing.
Thanks, Shashwat.
Change History (7)
follow-up: 4 comment:1 by , 13 years ago
comment:2 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
If you still have any questions please reopen.
comment:3 by , 13 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:4 by , 13 years ago
Replying to steven_watanabe:
Specifically: http://www.boost.org/more/getting_started/windows.html#link-from-within-the-visual-studio-ide ?
Does libboost_regex-vc80-mt-gd-1_38.lib exist in the library directory?
The lib file do not exist. and I'm following the instruction pointed by the link you mentioned. what should I do next?
follow-up: 6 comment:5 by , 13 years ago
Okay. If you built using bjam, then you need the following options:
bjam msvc debug link=static --with-regex stage
This ought to build the correct library.
comment:6 by , 13 years ago
OK I found the problem, there is some kind of bug in the autolinking feature. You need to download all the possible libs (I used the installer from http://www.boostpro.com/download) for the regexp (multithread debug, etc...) it worked for me. good luck
comment:7 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Auto linking picks the library based on your project settings. It has no idea which libraries are available.
Specifically: http://www.boost.org/more/getting_started/windows.html#link-from-within-the-visual-studio-ide ?
Does libboost_regex-vc80-mt-gd-1_38.lib exist in the library directory?