Boost C++ Libraries: Ticket #2507: windows builds auto link nonexistant date_time lib https://svn.boost.org/trac10/ticket/2507 <p> Boost 1.37.0. </p> <p> Windows builds appear to be attempting to autolink to static lib libboost_date_time*.lib, which is not compiled. Don't know whether the problem is that this lib isn't being compiled, or there's a stray autolink to a library that no longer exists. There doesn't appear to be any .cpp files in the date_time source hierarchy to be compiled into a lib, so, running with that... </p> <p> workaround: </p> <p> I modifed boost/config/user.hpp to define BOOST_ALL_NO_LIB, then rebuilt the libraries and the apps. This is way overkill as it removes autolinks for all libs, not just date_time, but heck, I don't like autolink anyway :). Program now compiles and doesn't try to link with nonexistant lib, so it successfully links and executes. </p> <p> This reference most likely came about when I did the 1.33.1 -&gt; 1.37.0 port and had to use posix_time where xtime had been used before. Nothing wrong with this, just providing the datapoint in case it's important. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2507 Trac 1.4.3 Marshall Clow Tue, 18 Nov 2008 00:56:06 GMT component changed; owner set https://svn.boost.org/trac10/ticket/2507#comment:1 https://svn.boost.org/trac10/ticket/2507#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">az_sw_dude</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">date_time</span> </li> </ul> Ticket Andrey Semashev Wed, 19 Nov 2008 20:35:02 GMT <link>https://svn.boost.org/trac10/ticket/2507#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2507#comment:2</guid> <description> <p> The library does have source files that need to be compiled into the library (see libs/date_time/src). There are parts of the library that don't depend on the separately compiled source, so I assume you got lucky and did not need the built library. However, if Boost.<a class="missing wiki">DateTime</a> is properly built, I see no harm in having auto-link on all the time, since the linker will eventually not use the lib and thus not introduce the dependency. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Andrey Semashev</dc:creator> <pubDate>Wed, 19 Nov 2008 20:37:02 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/2507#comment:3 https://svn.boost.org/trac10/ticket/2507#comment:3 <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">worksforme</span> </li> </ul> Ticket