#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)
follow-up: 2 comment:1 by , 6 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 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 yourb2
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.
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 yourb2
command line. You also have to define that macro when building your code.