Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9017613
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T04:19:11+00:00 2026-06-16T04:19:11+00:00

The boost::chrono documentation says When BOOST_CHRONO_HEADER_ONLY is defined the lib is header-only. Even with

  • 0

The boost::chrono documentation says

When BOOST_CHRONO_HEADER_ONLY is defined the lib is header-only.

Even with this defined, I’m getting linker error:

1>LINK : fatal error LNK1104: cannot open file 'libboost_system-vc100-mt-gd-1_48.lib'

Is this a documentation bug? Or does chrono really support header only usage?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T04:19:12+00:00Added an answer on June 16, 2026 at 4:19 am

    The last version of Boost says
    ”
    Boost.Chrono can be configured as a header-only library defining BOOST_CHRONO_HEADER_ONLY. However Boost.Chrono depends on the non header-only library Boost.System, so that you will need to link with boost_system.

    Boost.System has un undocumented feature (use of macro BOOST_ERROR_CODE_HEADER_ONLY) to make it header only, but it is buggy (see #7347 duplicate symbol while BOOST_ERROR_CODE_HEADER_ONLY is defined)
    “

    I think the bug has been fixed at least in trunk.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

On the Boost library documentation page, there are two categories named Header Only Libraries
The boost documentation says: Returns: false if the call is returning because the time
Boost's any_range documentation says the following: Despite the underlying any_iterator being the fastest available
Boost Network I am trying out this code in a small console app on
boost::algorithm::join provides a convenient join on std::vector<std::string> . How would you expand this functionality
Does boost chrono provides time stamp with nanoseconds resolution?? If yes how to get
Using boost::phoenix::function I encountered some problems. As far as I know this lazy function
Boost Spirit library permits to Track the Input Position While Parsing . This mechanism
How interoperable are boost::date_time and std::chrono? For example, is there a way to convert
To use some recompiled libraries (f.ex. boost chrono) i need to specify the library

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.