Boost C++ Libraries: Ticket #12274: Use boost::log::sources::severity_logger an error initializeSRWLock https://svn.boost.org/trac10/ticket/12274 <p> I use boost::log::sources::severity_logger, app run in xp error can't locate program input point initializeSRWLock,the boost 1.61.0 compilation is 32 bits. </p> <p> thank you </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12274 Trac 1.4.3 Andrey Semashev Fri, 17 Jun 2016 08:16:59 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/12274#comment:1 https://svn.boost.org/trac10/ticket/12274#comment:1 <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">invalid</span> </li> </ul> <p> Your Boost is compiled for Windows Vista or later. You need to rebuild Boost for Windows XP. To do that you have to add <code>define=BOOST_USE_WINAPI_VERSION=0x0501</code> to your <code>b2</code> command line. You also have to define that macro when building your code. </p> Ticket anonymous Tue, 21 Jun 2016 03:10:18 GMT <link>https://svn.boost.org/trac10/ticket/12274#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12274#comment:2</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/12274#comment:1" title="Comment 1">andysem</a>: </p> <blockquote class="citation"> <p> Your Boost is compiled for Windows Vista or later. You need to rebuild Boost for Windows XP. To do that you have to add <code>define=BOOST_USE_WINAPI_VERSION=0x0501</code> to your <code>b2</code> command line. You also have to define that macro when building your code. </p> </blockquote> <p> Thank you, I succeeded. </p> </description> <category>Ticket</category> </item> </channel> </rss>