Giter Club home page Giter Club logo

Comments (2)

Lastique avatar Lastique commented on July 28, 2024

Check this page in the docs.

I suspect that Boost.Log was built for a different Windows version than your code. Most likely, Boost.Log was built for Windows 10 and you are building for an older version (Windows 7?). You can verify this by comparing the version namespace between the error messages and what the compiled library implements, specifically its trailing part (nt6).

To fix this you need to make sure _WIN32_WINNT is defined to the same target Windows version when Boost and your code is compiled. Either rebuild Boost with the version you need or update the value defined for your code. Alternatively, you may define BOOST_USE_WINAPI_VERSION to the target Windows version (again, the same value when building Boost and your code). This macro controls the Windows version targeted by Boost. This will allow to define _WIN32_WINNT differently for Boost and your code (usually, to a value higher than BOOST_USE_WINAPI_VERSION).

from log.

sagunkho avatar sagunkho commented on July 28, 2024

Adding a definition for _WIN32_WINNT worked. Thanks @Lastique

from log.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.