Boost C++ Libraries: Ticket #2978: error linking https://svn.boost.org/trac10/ticket/2978 <p> Hi, </p> <p> I recently installed boost_1_38_0 just to use regex functionality as I have lot of parsing to do. </p> <p> 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' </p> <p> Please let me know how can I correct this or what I am missing. </p> <p> Thanks, Shashwat. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2978 Trac 1.4.3 Steven Watanabe Mon, 04 May 2009 20:02:18 GMT <link>https://svn.boost.org/trac10/ticket/2978#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2978#comment:1</guid> <description> <p> Specifically: <a href="http://www.boost.org/more/getting_started/windows.html#link-from-within-the-visual-studio-ide">http://www.boost.org/more/getting_started/windows.html#link-from-within-the-visual-studio-ide</a> ? </p> <p> Does libboost_regex-vc80-mt-gd-1_38.lib exist in the library directory? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Sun, 17 May 2009 03:31:19 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/2978#comment:2 https://svn.boost.org/trac10/ticket/2978#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> If you still have any questions please reopen. </p> Ticket anonymous Tue, 19 May 2009 13:28:53 GMT status changed; resolution deleted https://svn.boost.org/trac10/ticket/2978#comment:3 https://svn.boost.org/trac10/ticket/2978#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">fixed</span> </li> </ul> Ticket eli@… Tue, 19 May 2009 13:37:22 GMT <link>https://svn.boost.org/trac10/ticket/2978#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2978#comment:4</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/2978#comment:1" title="Comment 1">steven_watanabe</a>: </p> <blockquote class="citation"> <p> Specifically: <a href="http://www.boost.org/more/getting_started/windows.html#link-from-within-the-visual-studio-ide">http://www.boost.org/more/getting_started/windows.html#link-from-within-the-visual-studio-ide</a> ? </p> <p> Does libboost_regex-vc80-mt-gd-1_38.lib exist in the library directory? </p> </blockquote> <p> The lib file do not exist. and I'm following the instruction pointed by the link you mentioned. what should I do next? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Tue, 19 May 2009 13:53:09 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/2978#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2978#comment:5</guid> <description> <p> Okay. If you built using bjam, then you need the following options: </p> <pre class="wiki">bjam msvc debug link=static --with-regex stage </pre><p> This ought to build the correct library. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Tue, 19 May 2009 14:24:24 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/2978#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2978#comment:6</guid> <description> <p> 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 <a class="ext-link" href="http://www.boostpro.com/download"><span class="icon">​</span>http://www.boostpro.com/download</a>) for the regexp (multithread debug, etc...) it worked for me. good luck </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Tue, 19 May 2009 15:43:57 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/2978#comment:7 https://svn.boost.org/trac10/ticket/2978#comment:7 <ul> <li><strong>status</strong> <span class="trac-field-old">reopened</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Auto linking picks the library based on your project settings. It has no idea which libraries are available. </p> Ticket