Opened 7 years ago

Last modified 6 years ago

#11862 new Bugs

timer.hpp, commented line 14 (// #include <boost/chrono/chrono.hpp>) causes link error in (at least) MSVC

Reported by: dmitry.kolomiets@… Owned by: Beman Dawes
Milestone: Boost 1.60.0 Component: timer
Version: Boost 1.60.0 Severity: Problem
Keywords: Timer unresolved symbol Cc:

Description

boost\timer\timer.hpp line 14 #include <boost/chrono/chrono.hpp> causes unresolved externals uncommenting that line solves the issue

Change History (1)

comment:1 by aescande, 6 years ago

I confirm the problem: because this line is commented, the auto-link does not include the chrono library. In my case, the use of auto_cpu_timer gives an unresolved external symbol for boost::chrono::time_point

Note: See TracTickets for help on using tickets.