Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#12274 closed Bugs (invalid)

Use boost::log::sources::severity_logger an error initializeSRWLock

Reported by: xiao xuan Owned by: Andrey Semashev
Milestone: To Be Determined Component: log
Version: Boost 1.61.0 Severity: Problem
Keywords: initializeSRWLock severity_logger Cc:

Description

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.

thank you

Change History (2)

comment:1 by Andrey Semashev, 6 years ago

Resolution: invalid
Status: newclosed

Your Boost is compiled for Windows Vista or later. You need to rebuild Boost for Windows XP. To do that you have to add define=BOOST_USE_WINAPI_VERSION=0x0501 to your b2 command line. You also have to define that macro when building your code.

in reply to:  1 comment:2 by anonymous, 6 years ago

Replying to andysem:

Your Boost is compiled for Windows Vista or later. You need to rebuild Boost for Windows XP. To do that you have to add define=BOOST_USE_WINAPI_VERSION=0x0501 to your b2 command line. You also have to define that macro when building your code.

Thank you, I succeeded.

Note: See TracTickets for help on using tickets.