Cant link libs with <boost/chrono.hpp>
- Dominant language
- C++
- Stars
- 20
- Forks
- 58
- PR merge metrics
- No merged PRs in 30d
Description
Severity Code Description Project File Line Suppression State
Error LNK1104
cannot open file 'libboost_chrono-vc142-mt-sgd-x64-1_77.lib'
Boost_ASIO_HTTP_Async_Client C:\Users\...\Console_boost_asio_http_async_client\LINK 1
The file 'libboost_chrono-vc142-mt-sgd-x64-1_77.lib' is really missing, but similar file exist:
C:\Libs\boost_1_77_0\bin.v2\libs\chrono\build\msvc-14.2\debug\link-static\threading-multi\libboost_chrono-vc142-mt-gd-x64-1_77.lib
Code:
` boost::chrono::system_clock::time_point before =
boost::chrono::system_clock::now();
//do some work
boost::chrono::system_clock::time_point now =
boost::chrono::system_clock::now();
boost::chrono::nanoseconds t = boost::chrono::duration_cast(now - before);
std::cout << t.count() << "\n";
`
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by comparing the Boost 1.77 MSVC library naming and the project's linker configuration with the reported x64 debug paths. Done means determining whether the expected libboost_chrono-vc142-mt-sgd-x64-1_77.lib should be produced or whether the configuration should reference the existing file; no repository file or test is named in the report.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100